In FormView#on_loaded, finding the form header with just a class name will 
cause problem with embedded form view because all events on sub elements of 
header will be bound also in embedded forms.

this.$form_header = this.$element.find('.oe_form_header');

Maybe use .eq(0) even if not 100% special cases free ?


I guess it will be useful to have additional classnames for editable and 
readonly form views.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-readonly-formview-xmo/+merge/76206
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-readonly-formview-xmo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to