[IMP]improve code for remove view in remove node functionality.
[IMP]improve code for remove view in remove node functionality.

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