← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 872689] [NEW] [trunk]warning:create Sale order and Purchase order

 

Public bug reported:

Install warning module create so and po.

solution:
missing pass the context in warning.py for def product_id_change(..)

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):
It should be:
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):

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/872689

Title:
  [trunk]warning:create Sale order and Purchase order

Status in OpenERP Addons (modules):
  New

Bug description:
  Install warning module create so and po.

  solution:
  missing pass the context in warning.py for def product_id_change(..)

  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):
  It should be:
  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):

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/872689/+subscriptions


Follow ups

References