Error editing a product in Sales Order

Bug #878116 reported by Carlos Almeida
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Web Team

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"

Tags: rc1

Related branches

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Carlos,

I am confirming this issue at my end.
revision :

New web client : 1301

Thanks.

Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Changed in openerp-web:
importance: Low → Medium
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Was probably due to some error that was corrected since.

Changed in openerp-web:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.