Replace wrong usage of False by None
issue2512
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user