Uom conversion is made 2 times on sale orders

Bug #513230 reported by Numérigraphe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
Unassigned
Nominated for 5.0 by Numérigraphe

Bug Description

On the current v5.0-bzr:
Record units of measure: gram = 1/1000 KGM ; Ton = 1000 Kg
Record a product, unit=Kgm, price=300,00

Record a sale with 3 lines of the product:
- 1 kg => unit price = 300,0 (fine)
- 1 ton => unit price = 300000000,00 (should be 300000,00)
- 1 gram => unit price = 0,00 (should be 0,3)
Lionel

Related branches

Revision history for this message
Numérigraphe (numerigraphe) wrote :
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you for notifying Lionel.
Fixed by revision 2548 <email address hidden>.

Changed in openobject-addons:
status: New → Confirmed
status: Confirmed → Fix Released
Revision history for this message
Numérigraphe (numerigraphe) wrote :

I'll try to write a unit test fle so this doesn't happen again.
Lionel.

Changed in openobject-addons:
milestone: none → 5.0.8
Changed in openobject-addons:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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