Odoo Help


1 Answer
Jerome Guerriat
27‏/12‏/2017 8:21 ص

You can inherit the write() method :-)    

Minh Nguyen
27‏/12‏/2017 8:10 م

can you explain more or give me a example. I dont get it for now. Thanks

Niboo SPRL, Jerome Guerriat
28‏/12‏/2017 4:04 ص

If tack_visibility does not work, you can check in the parameters sent to the write() method. For example, if you cant to track changes on the field 'image':


def write(self, vals):

if 'image' in vals:


return super(MyModel, self).write(vals)

Minh Nguyen
28‏/12‏/2017 4:27 ص

Thanks, it is really good answer. I did that

Ask a Question
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now