[Trunk] Can't edit Journal entries

Bug #916563 reported by GaCriv
126
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 3

Bug Description

Hello,

I created a new bank statement. and validated it.

The following bug occurs when I try to edit this journal entry (Journal entries>Journal entries)

OpenERP WebClient Error

Client Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-77/server/openerp/addons/web/common/http.py", line 176, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-77/server/openerp/addons/web/controllers/main.py", line 780, in get
    return self.do_get(req, model, ids, fields)
  File "/home/odoo/runbot/static/openerp-dev-trunk-77/server/openerp/addons/web/controllers/main.py", line 802, in do_get
    records = Model.read(ids, fields, req.session.eval_context(req.context))
  File "/home/odoo/runbot/static/openerp-dev-trunk-77/server/openerp/addons/web/common/session.py", line 166, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/odoo/runbot/static/openerp-dev-trunk-77/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-77/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-77/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"

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello GaCriv,

Thanks for reporting. The solution for this bug is proposed in the branch : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-916563-mdi/

with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 6349

Thanks and Regards,

Divyesh Makwana(MDI)

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Confirmed
Revision history for this message
Greg Mader (gmader) wrote :

What build was it committed in? I am using the 20120125 nightly build, and it is still showing up.

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Greg,

a solution was suggested in a separate branch (thus commited to this branch) but it was rejected. We are now waiting for Divyesh to amend his solution.

Once the status of the bug changes to 'Fix released' it will appear in the nightly builds.

Cheers,
Stefan.

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

There is a same bug posted at 9 times ;-). Look at the duplicated list.

This is a very important thing for accounting terms which getting stuck cause of this issue. So I am setting this as a 'High' priority for quick fix.

Thanks in advance

Changed in openobject-addons:
importance: Medium → High
Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Hello,

This has been fixed in a previous revision. Please refer to
revno: 6557
revid:<email address hidden>

Best regards,

Changed in openobject-addons:
status: Confirmed → 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.