[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
This commit is contained in:
ACH(OpenERP)
2009-11-20 16:36:02 +05:30
committed by Jay (Open ERP)
parent 2a72c47e52
commit 61e671294b
+1
View File
@@ -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):