diff options
| author | Raphael Collet <rco@openerp.com> | 2016-02-05 14:45:51 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-02-09 10:33:34 +0100 |
| commit | 8a2b172c3e1765c3fe64bb64b832d0b42866b807 (patch) | |
| tree | 5833871fe8a0c31340007cf9cf9376ba9327e951 /addons/account_tax_python | |
| parent | f0dcb4493bca0b789ba84db37a79b7da48520831 (diff) | |
[FIX] addons: fix usage of decorators `api.v7`/`api.v8`
Diffstat (limited to 'addons/account_tax_python')
| -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' |
