[FIX] Account: Problem for duplicating a record

lp bug: https://launchpad.net/bugs/740134 fixed

bzr revid: skh@tinyerp.com-20110329104036-2h9eaunt4keitw4n
This commit is contained in:
skh
2011-03-29 16:10:36 +05:30
parent d38f743abb
commit 994b44db40
+1 -1
View File
@@ -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()