Reviewers: ,


Please review this at http://codereview.tryton.org/321002/

Affected files:
  M invoice.py


Index: invoice.py
===================================================================
--- a/invoice.py
+++ b/invoice.py
@@ -485,7 +485,9 @@
             if key not in tax_keys:
                 res['tax_amount'] += computed_taxes[key]['amount']
                 res['taxes'].setdefault('add', [])
-                res['taxes']['add'].append(computed_taxes[key])
+                value = tax_obj.default_get(tax_obj._columns.keys())
+                value.update(computed_taxes[key])
+                res['taxes']['add'].append(value)
         if currency:
             res['untaxed_amount'] = currency_obj.round(currency,
                     res['untaxed_amount'])


--
[email protected] mailing list

Reply via email to