Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/5/16, 2:15 AM|
|Seen: 636 times|
|Last updated: 7/5/16, 7:59 AM|