Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error de Formato al querer generar un reporte de factura confirmada #56

Closed
ceciliasp opened this issue Jul 31, 2015 · 1 comment
Closed

Comments

@ceciliasp
Copy link

Al querer generar el reporte de la Factura (ya confirmada y con CAE) aparece el siguiente error:
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
res = dispatch(_args)
File "/trytond/protocols/dispatcher.py", line 161, in dispatch
result = rpc.result(meth(_c_args, **c_kwargs))
File "/trytond/modules/account_invoice/invoice.py", line 2450, in execute
res = super(InvoiceReport, cls).execute(ids, data)
File "/trytond/report/report.py", line 144, in execute
type, data = cls.parse(action_report, records, data, {})
File "/trytond/modules/account_invoice_ar/invoice.py", line 706, in parse
localcontext=localcontext)
File "/trytond/modules/account_invoice/invoice.py", line 2479, in parse
localcontext)
File "/trytond/report/report.py", line 300, in parse
data = cls.unoconv(data, report.template_extension, output_format)
File "/trytond/report/report.py", line 320, in unoconv
raise Exception(stderrdata)
Exception: None

La versión de invoice_ar es la 3.4.2. con la base actualizada.
Unoconv instalado. Python-UNO ya no está disponible en Python 2.7.

En acciones / informe, la extensión que aparece es Open Office Text Document. Al querer blanquearlo aparece el error "No está autorizado a cambiar este registro. Este registro pertenece a la configuración base". (ver prtscreen)
screenshot from 2015-07-31 10 11 20
screenshot from 2015-07-31 10 24 29

El campo invoice_report_format en la tabla account_invoice está en blanco.

Gracias!

@lukio
Copy link
Contributor

lukio commented Oct 23, 2015

La posibilidad de cambiar el reporte de la factura lo posibilita este commit be724b4

Sobre la exception que tira unoconv hay información acá: https://bugs.tryton.org/issue2703

@lukio lukio closed this as completed Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants