feat: fix snippet

This commit is contained in:
Janik von Rotz committed 2024-03-11 10:21:00 +01:00
1 parent b23ba8f714
commit ef4eea409f
1 file changed
+3 -4
@@ -1,9 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="l10n_ch.l10n_ch_swissqr_template" priority="50">
<xpath expr="//div[@id='receipt_indication_zone']//span[@t-field='o.partner_id.commercial_partner_id.name']" position="replace">
<span t-field="o.partner_id.name" />
<span t-esc="o.partner_id.name or o.partner_id.parent_id.name"/>
</xpath>
<xpath expr="//div[@id='indications_zone']//span[@t-field='o.partner_id.commercial_partner_id.name']" position="replace">
<span t-field="o.partner_id.name" />
<span t-esc="o.partner_id.name or o.partner_id.parent_id.name"/>
</xpath>
</data>
</data>