Merge lp:~openerp-dev/openobject-addons/6.1-opw-579152-ado into lp:openobject-addons/6.1
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-579152-ado |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
29 lines (+7/-2) 2 files modified
product/product.py (+4/-1) purchase/purchase.py (+3/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-579152-ado |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier ALT | Pending | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+131849@code.launchpad.net |
Description of the change
Hello,
"[FIX] while we have box to purchase instead of pce the quantity is wrongly rounded(If you have 100 qnty = 1 box and you purchase 101 qnty so it should take 2 box instead of 1 box)"
Steps:
1.) Create a new product, stockable, MTO, Buy
2.) Define 2 units from the same category (PCE = 1, BOX = 100)
3.) Assign the 'PCE' as the 'Default Unit Of Measure' and 'BOX' as the 'Purchase Unit of Measure'
4.) Define a supplier
After above configuration try following scenario :
Create a 'Procurement request' for 149 PCE : Got a purchase.order for 1 BOX
Create a 'Procurement request' for 150 PCE : Got a purchase.order for 2 BOX
Result should like following data:
Request for 100 : Purchase for 1 BOX
Request for 101 : Purchase for 2 BOX
Request for 200 : Purchase for 2 BOX
Request for 201 : Purchase for 3 BOX
Regards,
Amit
Unmerged revisions
- 7049. By Amit Dodiya<email address hidden>
-
[FIX] while we have box to purchase instead of pce the quantity is wrongly rounded(If you have 100 qnty = 1 box and you purchase 101 qnty so it should take 2 box instead of 1 box)