Guillaume (guva) 9505abe97b [FIX] l10n_ch: qr bill report with attachment
When having an attachment to the qr-bill report,
an error is raised when printing the report:
"the report's template does not contains the
 attributes 'data-oe-model' and 'data-oe-id' on
the div with 'article' classname."

Steps:

- With a Swiss company
- Activate QR code on customer invoices
- Go to Settings>Technical>Reports and select QR-bill
- In Advanced Properties tab, set an attachment
- Create an invoice for a swiss customer, confirm
  and print the QR-bill
-> Error

We this commit, we simply add oe-data-model and
oe-data-id to the div with the article class
in the template, as indicated in the error message.

opw-3480179

closes odoo/odoo#134337

X-original-commit: 55aea3e851c61e1ad138937c1d40372f7ba7cf26
Signed-off-by: Laurent Smet (las) <las@odoo.com>
Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
2023-09-06 10:26:01 +00:00
2023-09-01 13:21:00 +00:00
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%