Le 16/01/2013 22:00, Jerzy Or?owski a écrit :
a=self.__class__.__bases__[0]
b=a.__bases__[0]
result = super(b, self).create()
Seems to be working
One thing I noticed when developing 2 modules with models that inherit
from the same base model, is that the order in which they are
"stacked" is not predictable (depends on which module is
loaded/installed first).
So, I think you can't count on the super-super class to be what you
think...
Lionel Sausin.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help : https://help.launchpad.net/ListHelp