[mrp] extensibility broken in action_scrap

Bug #780589 reported by Omar (Pexego)
8
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.

Tags: pexego

Related branches

Revision history for this message
Omar (Pexego) (omar7r) wrote :
Amit Parik (amit-parik)
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
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

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.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.