Invoices don't always enforce the UoM category

Bug #600534 reported by Numérigraphe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Won't Fix
Undecided
Unassigned
Trunk
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

In version 5.0.10, using the GTK client you can enter units of measure not in the category of the product, but that should not be possible.
Here is one way to do this :
- create an invoice
- add a PC1, th UoM is automatically set to "Pce"
- save the record
- change the UoM of the PC1 to nothing (empty field)
- save the record
- change the UoM: you can now select an UoM in any category. This should be restricted to the category of the main UoM of the product: Pce
Lionel

Related branches

description: updated
Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Lionel,

It will allow you to change the "Uom" only in the "draft" state.
Once you click on the "create" button the state becomes "open" and the fields become read-only and are no longer editable.
This is the normal behaviour.

Would you please provide more clarification regarding this bug.

Thanks.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

The problem is that ther is a way to enter an UoM in the wrong category, and then no ratio can be made between the UoM in the invoice the UoM on the product record.
Lionel

description: updated
Changed in openobject-addons:
assignee: nobody → JMA(Open ERP) (jma-openerp)
Revision history for this message
Meera Trambadia (OpenERP) (mtr-openerp) wrote :

Hello Linoel,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-dev-addons3 branch.
Revision ID: mra@mra-laptop-20101217103658-1qg34abeex3x7pd2
Revision no: 4730

Thanks
mtr

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.