Salary rule taxes are duplicated in the tax report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Using OpenERP 7, Postgres 8.4, Python 2.7
In salary rules you can specify a tax code which will be associated to the tax move, so you can mark one component (salary rule) of the payslip for the tax report. The bug is that the tax is registered twice (it shows double the amount in the tax report).
To reproduce this problem, install a new base with sample data and with Human Resources payslip processing, edit the "Basic" salary rule as shown in attached image to include a tax, then generate a payroll for employee Quentin De Paoli, as his salary is $5000 you would expect to have $5000 in the tax code report. However you have $10000 in the tax report!.
To me problem seems to be the created journal entry, which writes the tax code in creditor and debitor account, while it should mark the tax code only on the creditor account (see attachment).
Would somebody help me define if this is really a bug or if this is somehow the expected behaviour?
BR
Andres Calle
TRESCLOUD
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |