From c93829bc1236a8d18c1033b35493e1f7ebc20fc3 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 27 Nov 2012 17:08:30 +0100 Subject: [PATCH] Code clean-up : - context is not passed in constraints - don't use lambda when not necessary --- intrastat_base/country.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intrastat_base/country.py b/intrastat_base/country.py index 5d2cb1d..f747194 100644 --- a/intrastat_base/country.py +++ b/intrastat_base/country.py @@ -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()