← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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):

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

-- 
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):
  New

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


Follow ups

References