[7.0/trunk] Product price change when taxes are included in price

Bug #1173102 reported by Pedro Manuel Baeza
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Install demo DB with account module.
2. Set in Settings > Configuration > Invoicing, in "Tax calculation rounding method", the value "Round globally".
3. Use any currency with 2 decimals (euro, pound...)
4. Create a tax of 20%, checking 'Included in price'.
5. Create a product with list price: 39.99, and with that tax.
6. Create an invoice, include the product in quantity of 1.
7. Check: subtotal, you will see 33.33, taxes will be 6.67, and the total price will be 40.00, which is not the correct price.

Related branches

description: updated
affects: openobject-server → openobject-addons
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Pedro,

Same steps I done at my end, but all are working fine. Would you please see the attached screen-shot and let us know.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Hi, Amit:

Thanks for the answer.

I forgot to mention that you have to set in Settings > Configuration > Invoicing, in "Tax calculation rounding method", the value "Round globally".

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Pedro,

Thanks for the quick replied.

I have faced the same problem now.. :).

Thanks again!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: Incomplete → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Sunil Sharma(OpenERP) (sunil.sharma-openerp) wrote :

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1173102-ssh

revision-id: 9126

revno: <email address hidden>

It will be available in trunk soon.

description: updated
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Tested and working.

Thank you.

Regards.

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

To avoid regressions, it can be very interesting to create a test for this condition, don't you think?

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

I have tried today on runbot and the issue is gone, so we can consider this as fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.