[6.1] sale_subscriptions - TypeError: product_id_change() takes at most 18 arguments (19 given)

Bug #1009391 reported by bruno bottacini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Domsense Agile BG OpenERP Addons
Fix Released
Undecided
Unassigned

Bug Description

nel file sale.py manca il parametro context alla funzione product_id_change

originale:

    def product_id_change(self, cr, uid, ids, pricelist, product, qty=0,
            uom=False, qty_uos=0, uos=False, name='', partner_id=False,
            lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False):
        result_dict = super(sale_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty,
            uom, qty_uos, uos, name, partner_id,
            lang, update_tax, date_order, packaging, fiscal_position, flag)

modificata:

    def product_id_change(self, cr, uid, ids, pricelist, product, qty=0,
            uom=False, qty_uos=0, uos=False, name='', partner_id=False,
            lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False, context=None):
        result_dict = super(sale_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty,
            uom, qty_uos, uos, name, partner_id,
            lang, update_tax, date_order, packaging, fiscal_position, flag, context)

Revision history for this message
Lorenzo Battistini (elbati) wrote :

Grazie, risolto con la revisione 199

Changed in domsense-agilebg-addons:
status: New → Fix Released
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.