Public bug reported:

trunk, web, chrome

in a db without demo data, create a SO.

1/ create a SO line, fill in product  field and create a product on the fly 
from m2o
2/ save and close the line
3/ try to reopen it again.

Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in 
dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 812, 
in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 796, 
in call_common
    c, d = eval_context_and_domain(req.session, context, domain)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 511, 
in eval_context_and_domain
    e_context = session.eval_context(context)
  File "/home/aline/source/web/trunk/addons/web/common/session.py", line 158, 
in eval_context
    return ccontext.evaluate(ctx)
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
187, 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"

** Affects: openerp-web
     Importance: Medium
         Status: New

** Changed in: openerp-web
   Importance: Undecided => Medium

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

Title:
  cannot open a product SO lines

Status in OpenERP Web:
  New

Bug description:
  trunk, web, chrome

  in a db without demo data, create a SO.

  1/ create a SO line, fill in product  field and create a product on the fly 
from m2o
  2/ save and close the line
  3/ try to reopen it again.

  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in 
dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 
812, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 
796, in call_common
      c, d = eval_context_and_domain(req.session, context, domain)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 
511, in eval_context_and_domain
      e_context = session.eval_context(context)
    File "/home/aline/source/web/trunk/addons/web/common/session.py", line 158, 
in eval_context
      return ccontext.evaluate(ctx)
    File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 
187, 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/903735/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to