← Back to team overview

credativ team mailing list archive

[Bug 912301] [NEW] upplier Invoices message: "name 'invoice_line' is not defined"

 

Public bug reported:

Hello,


I create a new purchase order I convert to a purchase order 

then I go in the accounting --> supplier --> supplier invoices

there I choose one and I have this traceback :

Client Traceback (most recent call last):
  File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 770, in get
    return self.do_get(req, model, ids, fields)
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 792, in do_get
    records = Model.read(ids, fields, req.session.eval_context(req.context))
  File "/home/openerp/source/web/trunk/addons/web/common/session.py", line 166, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/openerp/source/web/trunk/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: "{'check_total': check_total, 'invoice_line': invoice_line, 'address_invoice_id': address_invoice_id, 'partner_id': partner_id, 'price_type': 'price_type' in dir() and price_type or False}", message: "name 'invoice_line' is not defined"

see the video to see the bug

thank you

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

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

Title:
  upplier Invoices  message: "name 'invoice_line' is not defined"

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  
  I create a new purchase order I convert to a purchase order 

  then I go in the accounting --> supplier --> supplier invoices

  there I choose one and I have this traceback :

  Client Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 175, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 770, in get
      return self.do_get(req, model, ids, fields)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 792, in do_get
      records = Model.read(ids, fields, req.session.eval_context(req.context))
    File "/home/openerp/source/web/trunk/addons/web/common/session.py", line 166, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/openerp/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/openerp/source/web/trunk/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: "{'check_total': check_total, 'invoice_line': invoice_line, 'address_invoice_id': address_invoice_id, 'partner_id': partner_id, 'price_type': 'price_type' in dir() and price_type or False}", message: "name 'invoice_line' is not defined"

  see the video to see the bug

  thank you

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


Follow ups

References