Bug 316173
lp bug: https://launchpad.net/bugs/316173 fixed bzr revid: jvo@tinyerp.com-20090112064444-ye7mayvd42uj7j9f
This commit is contained in:
parent
b73ba942d8
commit
fd499facba
|
@ -383,6 +383,8 @@ class account_invoice(osv.osv):
|
|||
cr.execute("DELETE FROM account_invoice_tax WHERE invoice_id=%s", (id,))
|
||||
for taxe in ait_obj.compute(cr, uid, id).values():
|
||||
ait_obj.create(cr, uid, taxe)
|
||||
# Update the stored value (fields.function), so we write to trigger recompute
|
||||
self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
|
||||
return True
|
||||
|
||||
def button_compute(self, cr, uid, ids, context=None, set_total=False):
|
||||
|
|
Loading…
Reference in New Issue