[6.1 rc1] crash report when charging delivery on sale order

Bug #878189 reported by Geoff Gardiner
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Web Team

Bug Description

Clicked button + delivery on sale order of 2x PC1.

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 1083, in load
    context = req.session.eval_context(req.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 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: "{'order_id':active_id}", message: "name 'active_id' is not defined"

Tags: rc1

Related branches

Revision history for this message
Geoff Gardiner (geoff-gardiner) wrote :

repeatable - not just first time

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

Hello Geoff,

I have checked your issue at my end.I did not face any
trace back at delivery of Sales Order but I faced
similar trace back at Payment Orders by
select supplier invoice so would you please
provide more information regarding this issue.

Thanks and waiting for replay.

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Geoff Gardiner (geoff-gardiner) wrote :

Sorry, but I was testing yesterday on Anthony Lesuisse's system for the 6.1 web client so I do not know what version of software exactly it was using and I don't have access today. I reported only what I saw but do not have access to the system now.

Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: Incomplete → Confirmed
Changed in openerp-web:
status: Confirmed → In Progress
Changed in openerp-web:
status: In Progress → Confirmed
Revision history for this message
qdp (OpenERP) (qdp) wrote :

Don't know if you found the problem or not (the history is fuzzy about that), but i just faced a problem similar:

*install the module delivery
*create a SO
*try to select a carrier (delivery method) in "other info" tab, you should get the error

that's because of the view:
                    <field name="carrier_id" context="{'order_id':active_id or False}"/>

which in the gtk client gives correctly the active ID in the context.

addons revno: 5508
web revno: 1413
brower chrome

Changed in openerp-web:
importance: Low → Medium
Changed in openerp-web:
status: Confirmed → In Progress
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Should be fixed in trunk branch as of revision <email address hidden>

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

Other bug subscribers

Remote bug watches

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