Merge lp:~openerp-dev/openobject-addons/6.1-opw-576033-rgo into lp:openobject-addons/6.1
Proposed by
Ravi Gohil (OpenERP)
Status: | Rejected |
---|---|
Rejected by: | Naresh(OpenERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-576033-rgo |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
49 lines (+19/-9) 2 files modified
product/product.py (+0/-9) stock/product.py (+19/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-576033-rgo |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) (community) | Disapprove | ||
Ravi Gohil (OpenERP) (community) | Needs Resubmitting | ||
Review via email: mp+120982@code.launchpad.net |
This proposal supersedes a proposal from 2012-06-20.
Description of the change
Hello,
If we just created a product and saved it, it is impossible to change the unit of the product with the unit which has other category than current unit's category.
Fix has been back-ported from the trunk branch: lp:~openerp-dev/openobject-addons/trunk-bug-894648-amp.
Kindly review the fix.
Thanks.
To post a comment you must log in.
Unmerged revisions
- 6961. By Ravi Gohil (OpenERP)
-
[FIX] product: Fixed the issue caused when multiple ids passed to write: (Maintenance Case : 576033)
well this fix seems some what complicated when a user tries to update the field externally either through say xmlrpc script.
you check the category ID for old and new along with if the move exist or not get('stock. move'). search( cr, uid, [('product_id', '=', ids[0])])
product_move = self.pool.
but you do the move check for just the first product and not all the product that are to be written.
say for eg: I want product with ID 4,5 to change there default UOM from PCE to KM and I have stock move for the product 5. so actually this should not allow me to update but in your case it does.
can you please recheck.
Thanks,
Naresh