This question has been flagged

I want to print analytic accounts selected on the journal entry 



the above code throw me an error 


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "", line 756, in template_1252

  File "", line 738, in template_1252_content

  File "", line 386, in template_1252_t_call_0

ValueError: invalid literal for int() with base 10: '1,2'


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/home/developer/WS/odoo-17.0/addons/web/controllers/ir_qweb.py", line 593, in _render

    result = ''.join(rendering)

  File "", line 80, in template_1253

  File "", line 62, in template_1253_content

  File "", line 50, in template_1253_t_call_0

  File "", line 762, in template_1252

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template

ValueError: invalid literal for int() with base 10: '1,2'

Template: sh_print_journal_entries.template_print_account_journal_entries_document

Path: /t/t[2]/div/table/t[2]/tr/td[5]/span/span/span[1]

Node:


The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    RPCError@http://localhost:8081/web/assets/82ee4a6/web.assets_web.min.js:2864:319

    makeErrorFromResponse@http://localhost:8081/web/assets/82ee4a6/web.assets_web.min.js:2867:163

    configureBlobDownloadXHR/xhr.onload/decoder.onload@http://localhost:8081/web/assets/82ee4a6/web.assets_web.min.js:2853:7

Avatar
Discard