getParent/Children is better than direct attribute access ok.
I have no real opinion about stop -> destroy but if destroy is used:
__parented_stopped -> __parented_destroyed ?
Dont we want to namespace mixins parentedGetParent() ?
I know it's ugly but mixin mixed are also messy.
You could change extend to accept multiple args:
openerp.web.CallbackEnabled.extend(openerp.web.ParentedMixin,{...})
I dont merge it now i'd like to have the opinion of xmo and fme b4.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-core-extraction-1-niv/+merge/94021
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-core-extraction-1-niv.
_______________________________________________
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