** Changed in: openerp-web
Status: In Progress => Fix Committed
--
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/896909
Title:
sale order line: 'product_uom_qty' is not defined
Status in OpenERP Web:
Fix Committed
Bug description:
Hi,
With the latest version ( 6.1 ), I created a sales order and added two lines.
If I open one of the lines to edit ( before saving the sales order, i get this
error ):
Client Traceback (most recent call last):
File "/home/openerp/bazaar/trunk/openerp-web/addons/web/common/http.py",
line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File
"/home/openerp/bazaar/trunk/openerp-web/addons/web/controllers/main.py", line
799, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File
"/home/openerp/bazaar/trunk/openerp-web/addons/web/controllers/main.py", line
783, in call_common
c, d = eval_context_and_domain(req.session, context, domain)
File
"/home/openerp/bazaar/trunk/openerp-web/addons/web/controllers/main.py", line
509, in eval_context_and_domain
e_context = session.eval_context(context)
File "/home/openerp/bazaar/trunk/openerp-web/addons/web/common/session.py",
line 158, in eval_context
return ccontext.evaluate(ctx)
File
"/home/openerp/bazaar/trunk/openerp-web/addons/web/common/nonliterals.py", line
267, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File
"/home/openerp/bazaar/trunk/openerp-web/addons/web/common/nonliterals.py", line
267, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File
"/home/openerp/bazaar/trunk/openerp-web/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"
The product is Type "Service/MTO/produce".
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/896909/+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