[FIX] l10n_eg_edi_eta, l10n_sa: Adapting barcode API to the new one
This commit change `/report/barcode/?type=` to `/report/barcode/?barcode_type` See https://github.com/odoo/odoo/commit/ee324e8374536cebca4d7302210b07e8f33d3852#diff-8f0bbb50491623995fba965c3d64585c6cbfdbbe519ec95473e472826d253826R1977-R1979 sentry-3965574308 closes odoo/odoo#127290 X-original-commit: 638b61114d8148557cdbcc30a1272e1b3da79880 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<p>
|
||||
<img t-if="o.l10n_eg_qr_code"
|
||||
style="display:block;"
|
||||
t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s'%('QR', o.l10n_eg_qr_code, 130, 130)"/>
|
||||
t-att-src="'/report/barcode/?barcode_type=%s&value=%s&width=%s&height=%s'%('QR', o.l10n_eg_qr_code, 130, 130)"/>
|
||||
</p>
|
||||
</t>
|
||||
</xpath>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<p>
|
||||
<img t-if="o.l10n_sa_qr_code_str"
|
||||
style="display:block;"
|
||||
t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s'%('QR', o.l10n_sa_qr_code_str, 200, 200)"/>
|
||||
t-att-src="'/report/barcode/?barcode_type=%s&value=%s&width=%s&height=%s'%('QR', o.l10n_sa_qr_code_str, 200, 200)"/>
|
||||
</p>
|
||||
</t>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user