Review: Needs Fixing
No need to initialize context={}. you can direct write context={'lang': lang}
And No need to check whether context is none or not as you are not using the
context below code in check_holidays
+ if context is None:
+ context = {}
Thanks,
mra
--
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