[IMP] Vieweditor :- improve code.
[IMP] Vieweditor :- improve code.

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