[PS] Wrong result when updating the stock level to a negative value
Bug #777803 reported by
Harmel Delphine (OpenERP)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
OpenERP R&D Addons Team 2 |
Bug Description
trunk, revno 3378
* On a product form, use the "Update" button beside the stock level to update it
* Set the new level to a negative amount, for example : -3
* Define the stock location, for example Stock
Obtained Result : wrong calculation of the new stock level (e.g. from 32 PCE it goes down to 16 PCE ???)
Expected Result : Prevent from entering a negative value in the stock level
reported by dha, OpenERP Prof. Serv.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-777803-ron
- qdp (OpenERP): Needs Fixing
- Rucha (Open ERP) (community): Approve
-
Diff: 12 lines (+2/-0)1 file modifiedstock/wizard/stock_change_product_qty.py (+2/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello,
Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-777803-ron
Revision ID: <email address hidden>
Revision num:4676.
It will be available in trunk soon,