← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878116] Re: Error editing a product in Sales Order

 

** Branch linked: lp:~openerp-dev/openerp-web/trunk-bug-878116-ysa

-- 
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/878116

Title:
  Error editing a product in Sales Order

Status in OpenERP Web:
  Confirmed

Bug description:
  In sales order trying to change a new product entrance (already inserted), it gives an error window before actually open the product edit window.
  -------------------------------------------------------------------------------------------
  OpenERP WebClient Error
  Client Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 720, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 704, in call_common
      c, d = eval_context_and_domain(req.session, context, domain)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 430, in eval_context_and_domain
      e_context = session.eval_context(context)
    File "/home/openerp/source/web/trunk/addons/web/common/session.py", line 158, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 265, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 265, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 185, in evaluate
      raise ValueError('Error during evaluation of this context: "%s", message: "%s"' % (self.get_context_string(), e.message))
  ValueError: Error during evaluation of this context: "{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}", message: "name 'product_uom_qty' is not defined"

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/878116/+subscriptions


References