Hi!
I would like to ask why is the general use of context=None in the header
of methods? Why not context={} ?
In the second way we don't need to check all the time to be sure it is
an empty dict. And {} means False too, so i really don't understand this.
look this MP:
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-posbox-bug-cbi/+merge/151747
And i run into this problem a lot time during writing custom
functionalities!
thanks,
Csaba
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp