Rounding rules not respected

Bug #1068253 reported by Réal Carbonneau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP Publisher's Warranty Team

Bug Description

When creating a quotation / sales order, the rounding rule is not respected.

OpenERP 6.1-20120925-233125
New Database with Demo data
Install Sales Module
Web Client
1) Create a new quotation
2) Any customer
3) Any product with unit PCE (eg CPU1)
4) Enter decimals, eg 1.234
5) Confirm Order

The order is finalized with decimals, which should not be permitted based on the rounding rules. There should be a message and automatic rounding or something similar.

Additionally, this order and delivery with an invalid decimal creates a subsequent bug in the warehouse shipping process. When this delivery is shipped (processed), the invalid complete decimal quantity is confirmed (1.234) and a new backorder delivery is created for the decimal part (0.234) and it is left open. If this new delivery is then processed, the same occurs again, a new backorder delivery for the decimal part (0.234) is created again and again.

I assume that the bug in the delivery would be avoided if the rounding was performed correctly.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Yann Papouin (yann-papouin) wrote :

I need to fix this, any idea where this rounding check occurred (or should occurred) ?

Revision history for this message
Réal Carbonneau (real-carbonneau) wrote :

I am not sure to who you are asking the questions. I provided the steps to reproduce, therefore functionally you can see where it occurs (and trace it as required). However, technically, I do not know "where this rounding check occurred (or should occurred)"

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.