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
Why don't you check super method existence?:
parent = super(children, self) getattr( parent, 'method')): method( cr, uid, ...
if hasattr(parent, 'method') and callable(
parent.
This seems a little tricky, but it removes the needed of the glue module. What do you think?
Regards.