Odoo Help


Problem with field.function and field.related

Samba Faye
on 10/22/13, 2:00 PM 931 views

Hello I add in hr_holidays_status class two fields functions (store = false). Then in the hr_holidays class, I make a related to these fields but putting store = true. At the method called when the type of leave fields change, I manage to get the right values ​​returned in hr_holidays_status class. But when I validate the creation of the holiday, the values ​​that are stored in the table hr_holidays are different from those calculated in the hr_holidays_status class. Someone has an idea of ​​what I need to do?

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

0 follower(s)


Asked: 10/22/13, 2:00 PM
Seen: 931 times
Last updated: 3/16/15, 8:10 AM