Files
odoo_source/addons/l10n_sa/views/report_invoice.xml
T
Romeo Fragomeli 1fcd098af5 [REF] *: BS5: migration
Automated change made by a lot of RegEx to change all think that is
possible to automate.

https://getbootstrap.com/docs/5.1/migration

Task ID: 2766483

Part-of: odoo/odoo#95450
2022-07-07 13:30:24 +02:00

33 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="arabic_english_invoice" inherit_id="l10n_gcc_invoice.arabic_english_invoice">
<xpath expr="//div[@name='due_date']" position="after">
<div class="row" t-if="o.l10n_sa_delivery_date" name="delivery_date">
<div class="col-2">
<strong style="white-space:nowrap">Delivery Date:
</strong>
</div>
<div class="col-2">
<span t-field="o.l10n_sa_delivery_date"/>
</div>
<div class="col-2 text-end">
<strong style="white-space:nowrap">:
تاريخ التوصيل
</strong>
</div>
</div>
</xpath>
<xpath expr="//t[@t-set='address']" position="after">
<t t-set="information_block">
<p>
<img t-if="o.l10n_sa_qr_code_str"
style="display:block;"
t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', o.l10n_sa_qr_code_str, 130, 130)"/>
</p>
</t>
</xpath>
</template>
</odoo>