Journal entries for POS orders result "OpenERP webclient error"

Bug #914583 reported by Kenneth Andresen
This bug report is a duplicate of:  Bug #916563: [Trunk] Can't edit Journal entries. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

1) Go to http://trunk_5612.runbot.openerp.com:9459 with Firefox
2) select the database : trunk_5612_all using the user demo with password demo
3) select the Point of Sales module
4) when the Point Of Sales module has loaded, click the "Open Registers" button.
5) add products for an order
6) close the order by clicking the "Checks Journal - (test) (EUR)" button
7) click the "Validate" button
8) click the "Close" button to end the Point of sales session
9) On the question to close the cash registers click "Yes", closing all cash registers
10) Go to "Accounting" -> "Journal Entries" -> "Journal Entries"
11) Click on any created Journal entry made by the "Point of Sales"

Result:
OpenERP WebClient Error
Client Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/controllers/main.py", line 770, in get
    return self.do_get(req, model, ids, fields)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/controllers/main.py", line 792, in do_get
    records = Model.read(ids, fields, req.session.eval_context(req.context))
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/common/session.py", line 165, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/odoo/runbot/static/openerp-dev-trunk-5612/server/openerp/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: "{'lines':line_id ,'journal':journal_id }", message: "name 'line_id' is not defined"

Revision history for this message
Kenneth Andresen (kandresen) wrote :

it looks like http://trunk_5612.runbot.openerp.com:9459/ has now been stopped. To test against later builds use:
http://runbot.openerp.com/openerp-dev.html
and select a version on the sticky branch "trunk"

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.