hello,
when i try to print the invoice document pdf i get this error
Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\report\controllers\main.py", line 96, in report_download File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 504, in response_wrap File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\report\controllers\main.py", line 45, in report_routes File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\report\models\report.py", line 178, in get_pdf File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\report\models\report.py", line 144, in get_html File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\report\models\report.py", line 120, in render File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1029, in render_template File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web_editor\models\ir_ui_view.py", line 26, in render File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_ui_view.py", line 1049, in render File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 53, in render File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 248, in render File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 317, in _compiled_fnQWebException: unsupported operand type(s) for /: 'unicode' and 'float'Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 315, in _compiled_fn File "<template>", line 1, in template_account_report_invoice_document_1340 File "<template>", line 3, in body_call_content_1339 File "<template>", line 177, in foreach_1330 File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\ir_qweb.py", line 284, in _get_widget File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_qweb\fields.py", line 324, in value_to_html File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\res\res_currency.py", line 93, in round File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\float_utils.py", line 52, in float_roundTypeError: unsupported operand type(s) for /: 'unicode' and 'float' Error to render compiling ASTTypeError: unsupported operand type(s) for /: 'unicode' and 'float'Template: account.report_invoice_documentPath: /templates/t/t/div/div[3]/div/table/t/tr/td[2]/spanNode: <span t-esc="amount_by_group[1]" t-options="{"widget": "monetary", "display_currency": o.currency_id}"/> |