From 37bf2196437862d5b747cd30e90bb21c9c81c144 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Mon, 27 Apr 2015 15:15:46 +0200 Subject: [PATCH] [FIX] account: Display Taxes The function _unite_compute and _unit_compute_inv did not give the same display result. Regardless the way the tax is computed, the display must be the same. The display must only shows the name of the tax. opw:633828 --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 99aa7b542bb..9e275fcdaa2 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2008,7 +2008,7 @@ class account_tax(osv.osv): for tax in taxes: # we compute the amount for the current tax object and append it to the result data = {'id':tax.id, - 'name':tax.description and tax.description + " - " + tax.name or tax.name, + 'name': tax.name, 'account_collected_id':tax.account_collected_id.id, 'account_paid_id':tax.account_paid_id.id, 'account_analytic_collected_id': tax.account_analytic_collected_id.id,