In the same module:
i create a bidirectional many2many relation:
'new_field': fields.many2many( 'object_B', 'A_B_rel',
'A_id', 'B_id', 'Name'),
now i try to add some fields to the object created by the many2many relation:
class A_B_rel(osv.osv):
_inherit = "A_B_rel"
_columns = {
'dni': fields.char("DNI", size=32),
}
hr_employee()
but thats rise an error because don't find the class A_B_rel
¿thats because the object created by the many2many relation not exists yet?
how is the better way to do that ?
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=53621#53621
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users