← Back to team overview

openerp-india team mailing list archive

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

 

Hi Alexis,

I'm removing OCB-addons as an affected project for this bug as per
project policy. Of course the bug affects ocb-addons/7.0 by definition
as well as openobject-addons but we only want to track bugs that we fix
in OCB-specific changes. Therefore, you should only add bugs to the
project that you are going to propose a solution for.

Thanks,
Stefan.


** No longer affects: ocb-addons

-- 
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 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/openobject-addons/+bug/1220135/+subscriptions


References