Hello,
New to 14EE, so just configuring it to our needs.
Unfortunately whilst trying to edit the stock.report_location_barcode report in Studio to enable the location barcodes to display properly on a smaller label size, I've ended up messing something up and can no longer print labels or edit the view again in Studio.
What's the best way for me to restore the default view?
Odoo Server Error
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 2109, in report_download response = self.report_routes(reportname, docids=docids, converter=converter, context=context) File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap response = f(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 2044, in report_routes pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0] File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 777, in _render_qweb_pdf bodies, html_ids, header, footer, specific_paperformat_args = self_sudo.with_context(context)._prepare_html(html) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 364, in _prepare_html body_parent = root.xpath('//main')[0] IndexError: list index out of range
Hello,
Could you try and update the app which relates to this report? I believe it is Sales.
If that doesn't work and you have no Sale data you can reinstall, but beware, this will remove all data from the database for this app.
Thanks,