openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #04786
[Bug 914583] [NEW] Journal entries for POS orders result "OpenERP webclient error"
Public bug reported:
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"
** 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/914583
Title:
Journal entries for POS orders result "OpenERP webclient error"
Status in OpenERP Addons (modules):
New
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"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/914583/+subscriptions
Follow ups
References