Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I instaled the Swiss location for the BVR from the GIT repo OCA.
Everything is installed but when generating a bvr from an invoice, it gives me a 500 error
https://xxx.domaine.ch/report/html/one_slip_per_page_from_invoice/1 => Error 500
I changed the report in HTML or PDF error is the same.
Thank you in advance
Now i have this error:
Traceback (most recent call last): File "/opt/odoo/odoo/addons/report/controllers/main.py", line 121, in report_download response = self.report_routes(reportname, docids=docids, converter='pdf') File "/opt/odoo/odoo/openerp/http.py", line 396, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo/addons/report/controllers/main.py", line 65, in report_routes pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=options_data, context=context) File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/addons-custom/swiss/l10n_ch_payment_slip/report/payment_slip_from_invoice.py", line 68, in get_pdf context=context File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/addons-custom/swiss/l10n_ch_payment_slip/report/payment_slip_from_invoice.py", line 58, in _generate_one_slip_per_page_from_invoice_pdf return self.merge_pdf_on_disk(docs) File "/opt/odoo/odoo/addons-custom/swiss/l10n_ch_payment_slip/report/reports_common.py", line 89, in merge_pdf_on_disk buff.close() UnboundLocalError: local variable 'buff' referenced before assignment
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/18/15, 4:04 AM|
|Seen: 811 times|
|Last updated: 3/16/15, 8:10 AM|