[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
This commit is contained in:
parent
4775c24af7
commit
37bf219643
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue