Comment 4 for bug 996816

Revision history for this message
qdp (OpenERP) (qdp) wrote :

Yes Amit,

you just described the issue as i did. Imagine that this:

class test_test(osv.osv):
 _inherit = 'test.test'
 _name = 'test.test'
 _columns = {
     'user': fields.many2one('res.user','User'),
     }
test_test()

is done in another module: you can't choose the sequence of class loading without changing the dependencies of modules, and you can't know all the modules that inherit a class. You're stuck.

I'm not saying it is a blocking and important bug (so far, as it's not used often), but it's a limitation of the current framework and we surely need to fix this issue if we want to use this feature more and more[1].

Quentin
[1]: BTW, this issue is linked to this bug: https://bugs.launchpad.net/openobject-addons/+bug/995986