odoo/odoo — pull request #1509 by vra-odoo (2014-08-01 11:19:06+00:00)
Title: [FIX] hr_expense : fixes the complex tax calculation specially (price in...

Module : hr_expense
Issue Summary : Generated Expense entry will be wrong specially expense side total amount and passed tax line amount.
Issue Detail : (price included)
You need to create tax like following way :
Main Tax 1.0 (type purchase) : ticked Boolean field tax on children and price included:
-----> Tax first 10 % : price included : tax code and general a/c assignment should be done
-----> Tax second 10% : Assign tax base and others detail remain same (diff assignment for base and tax code)
-----> Tax third 5% : Assign tax base and other detail remain same (diff assignment for base and tax code)

Now need to assign this tax as default expense tax in service type product which you will use with hr expense line.
create hr expense for above one and generate expense entry.
Now you will face the problem with main expense entry.
--------------------------------------------------------------------------------------------
say for eg : 100 invoice line amount then
Expense Entry should be :
partnet payable account Cr : 100
expense account : Dr 80
Tax 1 : Dr 8
Tax 2 : Dr 8
Tax 3 : Dr 4
---------------------------------------------------------------------------------------------