← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 780589] [NEW] [6.0][mrp] extensibility broken in action_scrap

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: pexego

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/780589

Title:
  [6.0][mrp] extensibility broken in action_scrap

Status in OpenERP Modules (addons):
  New

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.


Follow ups

References