Review: Needs Fixing
Why create a function to get the lang of the res user when this value is 
already in the context, you just need to replace definition of method and pass 
the context :

def holidays_validate(self, cr, uid, ids, context=None):
       self.check_holidays(cr, uid, ids, context=context)
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-798739-mtr/+merge/66124
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-798739-mtr.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to