[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:
committed by
Jay (Open ERP)
parent
2a72c47e52
commit
61e671294b
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user