OpusVL / odoo-mgmtsystem

Porting openerp-mgmtsystem (original in Launchpad) to odoo v8
3 stars 4 forks source link

Management System -> Actions -> Create produces error message "Error: NameError: name 'section_id' is not defined" #2

Closed Nick-OpusVL closed 10 years ago

Nick-OpusVL commented 10 years ago
Error: NameError: name 'section_id' is not defined

No traceback in log at INFO level.

Nick-OpusVL commented 10 years ago

Nothing at the debug level either. Here are the two log entries I did get in that request:

2014-08-22 15:30:28,161 17097 INFO ep_qa_port_01 werkzeug: 127.0.0.1 - - [22/Aug/2014 15:30:28] "POST /web/dataset/call_kw/mgmtsystem.action/default_get HTTP/1.1" 200 -
2014-08-22 15:30:28,180 17097 INFO ep_qa_port_01 werkzeug: 127.0.0.1 - - [22/Aug/2014 15:30:28] "POST /web/dataset/call_kw/mgmtsystem.action/onchange HTTP/1.1" 200 -
Nick-OpusVL commented 10 years ago

That was actually being raised from a Python interpreter in the Javascript in the browser.

section_id field wasn't present on the form, and that's what it was complaining about.

Fixed in 7f691ad