Invoice, tax included: rounding of base amount does not work
Bug #498047 reported by
Samuel I. (Toradex)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Vinay Rana (OpenERP) |
Bug Description
If we create a new supplier invoice and use the tax included price method, the base amount (subtotal w/o tax) is not calculated right. The base amount is not rounded according to the currency setting. The tax amount, however, is calculated and rounded correctly.
Here an example:
- Currency is CHF with rounding factor 0.05
- Tax is 2.4% (percent) input tax
=> Purchase of books for CHF 150.00 incl. tax
Openerp calclates the following base and tax amount:
- CHF 146.48 base (WRONG)
- CHF 3.50 tax (correct)
- CHF 149.98 total (wrong, but expected)
Changed in openobject-addons: | |
status: | New → Confirmed |
assignee: | nobody → vra (openerp) (vra-openerp) |
To post a comment you must log in.
Hello,
Kindly update your code.It has been fixed by revision 2501 <email address hidden>.
Whatever the amount is on invoice, is in the currency CHF.
But, the movelines( Accounting entries) are always in Company currency.
Thank you.