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.
delegate is set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)
journal_id = fields.Many2one('account.journal', delegate=True, required=True)
this will make all journal's fields available in your model.
Hope this could help
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: 6/6/16, 1:13 AM|
|Seen: 566 times|
|Last updated: 6/6/16, 3:36 AM|