Odoo Help

0

what is the use of delegate=true concept..?

By
kirubanidhi
on 6/6/16, 1:13 AM 439 views

Anyone tel clear concept

0
Ahmed M.Elmubarak
On 6/6/16, 3:36 AM

Hello,

delegate is set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

for example

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

Question tools

1 follower(s)

Stats

Asked: 6/6/16, 1:13 AM
Seen: 439 times
Last updated: 6/6/16, 3:36 AM