projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e6a95
)
[FIX] #416908 computation of invoice lines
author
Fabien Pinckaers
<fp@tinyerp.com>
Tue, 15 Sep 2009 07:42:59 +0000
(09:42 +0200)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Tue, 15 Sep 2009 07:42:59 +0000
(09:42 +0200)
bzr revid: fp@tinyerp.com-
20090915074259
-bbnrkmbftvawuz9d
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
be9b4f6
..
467bf02
100644
(file)
--- a/
addons/account/invoice.py
+++ b/
addons/account/invoice.py
@@
-435,7
+435,7
@@
class account_invoice(osv.osv):
for taxe in ait_obj.compute(cr, uid, id, context=context).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)
+ self.pool.get('account.invoice').write(cr, uid, ids, {'invoice_line':[]}, context=context)
# self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
return True