Odoo Help

0

Problem with field.function and field.related

By
Samba Faye
on 10/22/13, 2:00 PM 747 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.

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

0 follower(s)

Stats

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