[mrp] extensibility broken in action_scrap
Bug #780589 reported by
Omar (Pexego)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
Hi,
action_scrap() method in mrp breaks the extensibility of method because, it returns "{}" instead of "res" as his super method in stock module. I attach a patch with this small change.
Another thing about this method that doesn't like me: This method removes prodlot_id and tracking_id for scrapped moves, but if I don't scrap my move whole, it mustn't remove my references to prodlot and tracking.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-780589-ron
- Rohan Nayani(Open ERP) (community): Needs Resubmitting
- Rucha (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 20 lines (+3/-2)1 file modifiedmrp/stock.py (+3/-2)
summary: |
- [6.0][mrp] extensibility broken in action_scrap + [mrp] extensibility broken in action_scrap |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
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-780589-ron
Revision ID: <email address hidden>
Revision num:4714.
It will be available in trunk soon.