Odoo Help

Welcome!

This community 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.

0

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

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

Anyone tel clear concept

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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