← Back to team overview

openerp-india team mailing list archive

[Bug 1220135] Re: mrp_byproduct: missing context in the inherit of action_confirm()

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1220135

Title:
  mrp_byproduct: missing context in the inherit of action_confirm()

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  The bug is present in addons-70 (revno 9407) and in addons-trunk
  (revno 8876), and certainly in older versions too.

  In the file mrp/mrp.py, on the object mrp.production, the fonction
  action_confirm has the following prototype :

      def action_confirm(self, cr, uid, ids, context=None):

  In the file mrp_byproduct/mrp_byproduct.py, this function is
  inherited, but the context argument is missing, cf line 85 :

      def action_confirm(self, cr, uid, ids):

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1220135/+subscriptions


References