Odoo Help


Same field and value in two models with odoo 8

Yoann Guillemot
on 3/24/16, 12:04 PM 400 views

I would like to create a new field which is accessible on two different models with the value updated.

Exactly i want a field.Boolean in the class crm_lead and i would like to access to this same field in crm_phonecall.

if i check the boolean on the view  crm.lead it's check too in the view crm.phonecall and the inverse.

I tried a lot of things with Many2one and One2many and related= but with no result.

Thanks for your help

--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 3/26/16, 5:56 AM


I think you need to override the write method in both models 'crm_lead' and 'crm_phonecall'; you can

use the relational field 'many2one' to update the corresponding record ...

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.


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)


Asked: 3/24/16, 12:04 PM
Seen: 400 times
Last updated: 3/26/16, 5:56 AM