From 61e671294bd0ff907401c86abd7b88bf952f5f4f Mon Sep 17 00:00:00 2001 From: "ACH(OpenERP)" <> Date: Fri, 20 Nov 2009 16:36:02 +0530 Subject: [PATCH] [FIX] Account : Total field on supplier invoice set to 0.0 to amke it Web-client compatible lp bug: https://launchpad.net/bugs/479886 fixed bzr revid: jvo@tinyerp.com-20091120110602-orotvym68gl7mb5i --- addons/account/invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index ca8b36fbdfe..8d9b905d6c3 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -319,6 +319,7 @@ class account_invoice(osv.osv): self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id, 'reference_type': lambda *a: 'none', + 'check_total': lambda *a: 0.0, } def unlink(self, cr, uid, ids, context=None):