From abb241891fe6fcda37a079bb75ab71aa5f051213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 27 Mar 2012 10:43:08 +0200 Subject: [PATCH] Replace wrong usage of False by None issue2512 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index f36192844a..e08b1fc466 100644 --- a/invoice.py +++ b/invoice.py @@ -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()