I am running Odoo 8 on Windows 7. I am trying to print an employees payslip who has the default "base for new structures" as the salary structure. I receive the below error. I have created two other databases and I get the same error all the time.
How can I fix this?
Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\controllers\main.py", line 121, in report_download File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\http.py", line 402, in response_wrap File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\controllers\main.py", line 65, in report_routes File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\models\report.py", line 191, in get_pdf File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\models\report.py", line 166, in get_html File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\models\abstract_report.py", line 66, in render_html File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\report\models\report.py", line 152, in render File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_ui_view.py", line 1029, in render File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\api.py", line 241, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 261, in render File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 436, in render_tag_call File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 422, in render_tag_foreach File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 436, in render_tag_call File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 422, in render_tag_foreach File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 300, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 321, in render_element File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 298, in render_node File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 373, in render_tag_esc File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 992, in format File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 989, in _format File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 213, in eval_str File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 205, in eval File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 202, in eval File "C:\Program Files (x86)\Odoo 8.0-20150523\server\openerp\addons\base\ir\ir_qweb.py", line 88, in safe_eval File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\tools\safe_eval.py", line 314, in safe_eval File "", line 1, in <module> File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\report\report_sxw.py", line 219, in formatLang File "C:\Program Files (x86)\Odoo 8.0-20150523\server\.\openerp\report\report_sxw.py", line 174, in _get_lang_dict QWebException: "global name 'lang_obj' is not defined" while evaluating 'formatLang(p.amount, currency_obj=o.company_id.currency_id)'