Code review comment for lp:~camptocamp/sale-financial/7.0-port-sale_line_watcher

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

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.

« Back to merge proposal