[FIX] hr_expense: tax included computation
authorMartin Trigaux <mat@openerp.com>
Tue, 9 Sep 2014 11:43:04 +0000 (13:43 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 9 Sep 2014 13:57:35 +0000 (15:57 +0200)
commit33e0910841e0a7e63054e28c50e881af1f16c771
tree2ea7af0c249691861e0a8f92f6c459c77fe72656
parenta210420582ef86b302387f49fee68947ed35f314
[FIX] hr_expense: tax included computation

When a tax included has a several childs, the source line should not be duplicated for each tax.
Without the patch, the actual product price (without taxes) would be (total - tax amount) for the last tax only (and not the sum of each tax). (opw 609104)
addons/hr_expense/hr_expense.py