mrp_byproduct: missing context in the inherit of action_confirm()

Bug #1220135 reported by Alexis de Lattre
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 2

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

Related branches

Revision history for this message
Alexis de Lattre (alexis-via) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.