From 994b44db40825a53d1cb04697ec51f221234372c Mon Sep 17 00:00:00 2001 From: skh Date: Tue, 29 Mar 2011 16:10:36 +0530 Subject: [PATCH] [FIX] Account: Problem for duplicating a record lp bug: https://launchpad.net/bugs/740134 fixed bzr revid: skh@tinyerp.com-20110329104036-2h9eaunt4keitw4n --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 7a1ff15a2e5..dfce8a0682d 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1611,7 +1611,7 @@ class res_partner(osv.osv): } def copy(self, cr, uid, id, default={}, context={}): - default.update({'invoice_ids' : False}) + default.update({'invoice_ids' : []}) return super(res_partner, self).copy(cr, uid, id, default, context) res_partner()