diff options
| author | Jay Vora (OpenERP) <jvo@tinyerp.com> | 2011-04-20 17:58:23 +0530 |
|---|---|---|
| committer | Jay Vora (OpenERP) <jvo@tinyerp.com> | 2011-04-20 17:58:23 +0530 |
| commit | 9475e57d2ae2d669ab2d2b5d8a2d827028b80aa5 (patch) | |
| tree | f8a5ff213c9cb01942d3c61c067342cea3a55a27 /addons | |
| parent | dbdaa8185c3abd81375b03ae960d598fb7480765 (diff) | |
| parent | 6b7a10e4bf130697c76a50ee2ad881bf97c7f977 (diff) | |
[MERGE] Merged Chs' branch for the fix of Account : Web client sends values of M2M fields in tuple so converting to list.(Ref : 4346,5340)
bzr revid: jvo@tinyerp.com-20110420122823-92ti1pvc02dytixo
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/invoice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 34c7b24028b..9ef72204b60 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1258,7 +1258,7 @@ class account_invoice_line(osv.osv): t = t - (p * l[2].get('quantity')) taxes = l[2].get('invoice_line_tax_id') if len(taxes[0]) >= 3 and taxes[0][2]: - taxes = tax_obj.browse(cr, uid, taxes[0][2]) + taxes = tax_obj.browse(cr, uid, list(taxes[0][2])) for tax in tax_obj.compute_all(cr, uid, taxes, p,l[2].get('quantity'), context.get('address_invoice_id', False), l[2].get('product_id', False), context.get('partner_id', False))['taxes']: t = t - tax['amount'] return t |
