Why don't you check super method existence?:

parent = super(children, self)
if hasattr(parent, 'method') and callable(getattr(parent, 'method')):
    parent.method(cr, uid, ...

This seems a little tricky, but it removes the needed of the glue module. What 
do you think?

Regards.
-- 
https://code.launchpad.net/~camptocamp/sale-financial/7.0-port-sale_line_watcher/+merge/214058
Your team Sale Core Editors is subscribed to branch lp:sale-financial.

-- 
Mailing list: https://launchpad.net/~openerp-community-reviewer
Post to     : openerp-community-reviewer@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community-reviewer
More help   : https://help.launchpad.net/ListHelp

Reply via email to