← Back to team overview

openerp-india team mailing list archive

[Bug 1000668] Re: Error selecting Analytic Distribution in Journal Item Creation

 

I'm attaching patch for 6.1

** Patch added: "1000668.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/1000668/+attachment/3256091/+files/1000668.patch

-- 
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/1000668

Title:
  Error selecting Analytic Distribution in Journal Item Creation

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  I'm getting an error when trying to create manually a Journal Item, when select the Analityc Distribution.
  Using openERP v6.1 stable and tried with nightly build 6.1-20120516-233403 as well. Same results 

  
  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1039, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 985, in call_common
      c, d = eval_context_and_domain(req.session, context, domain)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 664, in eval_context_and_domain
      e_context = session.eval_context(context)
    File "/opt/openerp/server/openerp/addons/web/common/session.py", line 196, in eval_context
      return ccontext.evaluate(ctx)
    File "/opt/openerp/server/openerp/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/opt/openerp/server/openerp/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/opt/openerp/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: "{'journal_id':journal_id}", message: "name 'journal_id' is not defined"

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


References