CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, when I insert a One2Many in TransientModel and their inverse field many"One in ModelModel Odoo tell it's not possible becouse the relation betwen ModelModel and TransientModel can't be.
¿Why is the soluction for insert a One"many Field in TransientModel?
The one2many field is essentially the inverse relation corresponding to a many2one field.
As the error message says, you cannot have a many2one from a Model to a TransientModel, but you can have a many2one from a TransientModel to a TransientModel. So you can have a one2many in a TransientModel, as long as the comodel of that field is also a TransientModel.
About This Community
Odoo Training Center
|Asked: 7/5/16, 2:15 AM|
|Seen: 804 times|
|Last updated: 7/5/16, 7:59 AM|