mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
Code clean-up : - context is not passed in constraints - don't use lambda when not necessary
This commit is contained in:
committed by
Alexis de Lattre
parent
99e294c4af
commit
c93829bc12
@@ -27,7 +27,7 @@ class res_country(osv.osv):
|
||||
'intrastat': fields.boolean('Intrastat country', help="Set as True for countries that must be selected in the intrastat reports, i.e. for all European Union countries other than your own country."),
|
||||
}
|
||||
_defaults = {
|
||||
'intrastat': lambda *a: False,
|
||||
'intrastat': False,
|
||||
}
|
||||
|
||||
res_country()
|
||||
|
||||
Reference in New Issue
Block a user