← Back to team overview

openerp-india team mailing list archive

[Bug 928953] [NEW] [6.1 RC1] - Impossible to check a journal entry from an invoice

 

Public bug reported:

Hello,

How to reproduce the bug:

Create and validate an invoice.
go to the 2nd tab to the filed journal entry and try to open the entry - you get the following message :


Client Traceback (most recent call last):
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/controllers/main.py", line 771, in get
    return self.do_get(req, model, ids, fields)
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/controllers/main.py", line 793, in do_get
    records = Model.read(ids, fields, req.session.eval_context(req.context))
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/session.py", line 195, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/fclementi/openerp-instances/trunk/src/webclient/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"

Many thanks

Frederic

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/928953

Title:
  [6.1 RC1] - Impossible to check a journal entry from an invoice

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  How to reproduce the bug:

  Create and validate an invoice.
  go to the 2nd tab to the filed journal entry and try to open the entry - you get the following message :

  
  Client Traceback (most recent call last):
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/controllers/main.py", line 771, in get
      return self.do_get(req, model, ids, fields)
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/controllers/main.py", line 793, in do_get
      records = Model.read(ids, fields, req.session.eval_context(req.context))
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/session.py", line 195, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/fclementi/openerp-instances/trunk/src/webclient/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/fclementi/openerp-instances/trunk/src/webclient/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"

  Many thanks

  Frederic

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/928953/+subscriptions


Follow ups

References