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

Problem with field.function and field.related

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

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

0 follower(s)

Stats

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