base of account.invoice.tax is different from amount_untaxed of account.invoice
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
New
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
JMA(Open ERP) |
Bug Description
I'm using version 5.0.11.
Steps to reproduce the issue:
I've tested this with Spanish and Belgian chart of accounts
1. Have a database with price_accuracy = 6
2. The currency is EURO with round = 0.01
3. Create a new invoice (client or provider, it doesn't matter)
4. Introduce a line with quantity = 254 price = 0.057035 and choose any non-zero tax from the drop-down.
For example: for Belgium Chart of Accounts I've set "x VAT" and for Spanish Chart of Accounts I've set "IVA Soportado 16% (Operaciones corrientes)". It doesn't matter which tax you choose, provided you choose one, so the invoice view will show the base used for tax calculation differs from the invoice base
5. Click on the button to calculate the taxes.
The value of base from invoice is different from base of tax.
Workaround and ideas:
* The subtotal of each invoce's line is rounded to currency precission (in this case 0.01, two decimals). When calculating the base for taxes the base isn't being rounded.
* Why the subtotal is recalculated to get the base for tax when we have a subtotal calculated field?
Changed in openobject-addons: | |
milestone: | none → 5.0.12 |
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | nobody → JMA(Open ERP) (jma-openerp) |
Changed in openobject-addons: | |
importance: | Undecided → High |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Eduard Carreras i Nadal,
Would you please apply the patch and notify us.
Thank you.