diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-10 18:37:01 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-10 18:37:01 +0100 |
| commit | d70fde0330550d510668e49807da83e646e8ccec (patch) | |
| tree | 45b4341700b65eabbc0043c476e5f9a7d48edf5f /addons/account_tax_python/account_tax_python.py | |
| parent | 469e04e97c2aa60d9d41bd430e0aeba77ee6f9dd (diff) | |
| parent | cab5c480e204f7546646fd8884b72d2efa9e09f7 (diff) | |
[MERGE] forward port of branch saas-7 up to cab5c48
Diffstat (limited to 'addons/account_tax_python/account_tax_python.py')
| -rw-r--r-- | addons/account_tax_python/account_tax_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_tax_python/account_tax_python.py b/addons/account_tax_python/account_tax_python.py index 42a83610f79..57527de81f8 100644 --- a/addons/account_tax_python/account_tax_python.py +++ b/addons/account_tax_python/account_tax_python.py @@ -52,7 +52,7 @@ class AccountTaxPython(models.Model): partner = partner_id and self.pool.get('res.partner').browse(cr, uid, partner_id, context=context) or None ids = isinstance(ids, (int, long)) and [ids] or ids recs = self.browse(cr, uid, ids, context=context) - return recs.compute_all(price_unit, currency, quantity, product, partner) + return AccountTaxPython.compute_all(recs, price_unit, currency, quantity, product, partner) class AccountTaxTemplatePython(models.Model): _inherit = 'account.tax.template' |
