openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26821
[Bug 1176133] Re: mrp_byproduct does not accept or preserve context on action_confirm
Fixed in lp:~openerp/openobject-addons/7.0/revision/9592
** Changed in: openobject-addons
Status: New => Fix Released
--
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/1176133
Title:
mrp_byproduct does not accept or preserve context on action_confirm
Status in OpenERP Addons (modules):
Fix Released
Bug description:
The mrp_byproduct module overrides the action_confirm method on the
mrp.production object. However, the overriding method has a signature
of
def action_confirm(self, cr, uid, ids):
while the original method defined in the mrp module has a signature of
def action_confirm(self, cr, uid, ids, context=None):
This causes issues when further extending the mrp.production object
while mrp_byproduct is installed. The attached patch adds the context
variable to both the function definition and the super call inside of
action_confirm().
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1176133/+subscriptions