bug after creating an invoice from SO

Bug #872150 reported by Aline (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Web Team

Bug Description

In web client, chrome, in a new db (only sales installed and the belgian chart of account), simplified interface, demo data

Create a SO -> Confirm it -> create the final invoice ->

[2011-10-11 07:15:39,896][?] INFO:werkzeug:127.0.0.1 - - [11/Oct/2011 07:15:39] "GET /web/static/src/img/icons/terp-stock_format-scientific.png HTTP/1.1" 304 -
[2011-10-11 07:15:39,902][?] ERROR:web.common.http.JSONRequest.dispatch:An error occured while handling a json request
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 904, in load
    return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 760, in fields_view_get
    context = req.session.eval_context(req.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 259, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 259, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 179, in evaluate
    return eval(self.get_context_string(), SuperDict(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 169, in get_context_string
    return self.session.contexts_store[self.key]
KeyError: '16a04ed5a194'

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Aline,

I have checked your issue with updated code with trunk but I didn't face any problem at my end.

I have checked with following revision of trunk :

server - 3750

addons - 5343

web-client(6.1) - 1208

would you please try again with updated code .

Thanks and waiting for your reply.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

i get this error with latest trunk...

it seems it happens only in a new db

Create a new db in web client -> install Sales -> create a SO and confirm it -> create the final invoice

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → High
Revision history for this message
Yogesh (SerpentCS) (yogesh-serpentcs) wrote :

Hello Aline,

I have checked your issue with the latest updated code and it is working fine.

Would you please try with latest code.

Thanks.

Changed in openobject-addons:
status: Incomplete → Fix Released
affects: openobject-addons → openerp-addons
affects: openerp-addons → openerp-web
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.