Skip to content
Snippets Groups Projects
Commit 9ba78dad authored by Stefan-Calin Crainiciuc (stcc)'s avatar Stefan-Calin Crainiciuc (stcc)
Browse files

[FIX] l10n_sa: fix call to report_barcode route


Steps to reproduce:
- Install l10n_sa module
- Switch to SA company
- Accounting app > Config > Settings > Enable QR codes
- Create Invoice, add customer, add a line > Save > Confirm > Preview

Issue:
The QR code in the invoice is missing and instead there is an image
with a broken link.

This happens because the route called by the view is incorrect. The
`report_barcode` function has changed its parameter name from `type`
to `barcode_type`.

Fix:
Use the correct route.

opw-3034366

closes odoo/odoo#103823

X-original-commit: c4302bea7cfab35a95373c4232c3d1f87f01d163
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: default avatarStefan-Calin Crainiciuc (stcc) <stcc@odoo.com>
parent 7329e066
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment