Odoo Help

2

0
2 Answers
2
Avatar

Temur Georgia

--Temur--

3385
| 7 5 9
Tbilisi, Georgia
--Temur--
Programmer
Temur Georgia
10/7/14, 8:34 AM

hi,

Yes, it's possible by inheriting "hr_holidays" and overriding write function as follows:

def write(self, cr, uid, ids, vals, context=None):
    osv.osv.write(self, cr, uid, ids, vals, context=context)

-it will skip write function in "hr_holidays" and will call directly write function of ORM. 

regards,

1 Comment
ojomo joseph Nigeria
5/19/17, 4:24 PM

THanks for this answer.

0
bg00071 Belgium
10/9/14, 9:04 AM

Thanks for your answer, Temur!

I never suspected it would be this obvious...

Ask a Question
Writer
Keep Informed
2 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now