Merge lp:~openerp-dev/openobject-addons/6.1-opw-581987-rgo into lp:openobject-addons/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-581987-rgo |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
56 lines (+22/-3) 1 file modified
stock/stock.py (+22/-3) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581987-rgo |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email: mp+137560@code.launchpad.net |
Description of the change
Hello,
Currently, there is no restriction on UoM for stock.inventory
To reproduce, go to "Warehouse/
To fix this, I introduced "_constraints" for both the objects that will restrict users from setting Product UoM of different UoM category.
This fix also restricts user from altering the records of inventory(inventory lines, stock move) after confirming it.
Kindly review the fix.
Thanks.
Unmerged revisions
- 7092. By Ravi Gohil (OpenERP)
-
[FIX] stock: There is no restriction on UoM for stock moves and stock inventory lines and one can modify the records after confirming the inventory, which shouldn't be allowed : (Maintenance Case : 581987)