[IMP] Improve code quality to more readable with less deep function nesting for formview code.
[IMP] Improve code quality to more readable with less deep function nesting for formview code.

akretion/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web