Replace wrong usage of False by None

issue2512
This commit is contained in:
Cédric Krier
2012-03-27 10:43:08 +02:00
parent e894e918ee
commit abb241891f
+1 -1
View File
@@ -41,7 +41,7 @@ class Invoice(Model):
if default is None:
default = {}
default = default.copy()
default['open_date'] = False
default['open_date'] = None
return super(Invoice, self).copy(ids, default=default)
Invoice()