L10n Ch

Isr Invoice Form

Disable Print Buttons

ID: mint_system.l10n_ch.isr_invoice_form.disable_print_buttons

<?xml version="1.0"?>
<data inherit_id="l10n_ch.isr_invoice_form" priority="50">

    <button name="print_ch_qr_bill" position="replace" />
    <button id="l10n_ch_btn_isr_print_highlight" position="replace"/>
    <button id="btn_isr_print_normal" position="replace"/>

</data>

Source: snippets/l10n_ch.isr_invoice_form.disable_print_buttons.xmlopen in new window

L10n Ch Swissqr Template

Modify Header Style

ID: mint_system.l10n_ch.l10n_ch_swissqr_template.modify_header_style

<?xml version="1.0"?>
<data inherit_id="l10n_ch.l10n_ch_swissqr_template" priority="50">

  <xpath expr="//t[@t-set='report_header_style']" position="replace">
    <t t-set="report_header_style">padding-top:6.2mm; padding-left:23mm; padding-right:8.2mm;</t>
  </xpath>

</data>

Source: snippets/l10n_ch.l10n_ch_swissqr_template.modify_header_style.xmlopen in new window

Remove Title Prefix

ID: mint_system.l10n_ch.l10n_ch_swissqr_template.remove_title_prefix

<?xml version="1.0"?>
<data inherit_id="l10n_ch.l10n_ch_swissqr_template" priority="50">

  <xpath expr="//h1" position="replace">
    <h1 style="padding-left:8.2mm;" t-esc="o.name"/>
  </xpath>

</data>

Source: snippets/l10n_ch.l10n_ch_swissqr_template.remove_title_prefix.xmlopen in new window

Replace Title

ID: mint_system.l10n_ch.l10n_ch_swissqr_template.replace_title

<?xml version="1.0"?>
<data inherit_id="l10n_ch.l10n_ch_swissqr_template" priority="50">

<xpath expr="//h1" position="replace">
     <style>
          .trimada {
               font-size: 9pt;
               font-family: arial;
               color: black;
               margin-left: 25mm;
               width: 200mm;
          }
          .name {
               font-size: 13pt;
          }
     </style>
     <div class="trimada" t-field="o.partner_invoice_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}"/>
     <br/>
     <br/>
     <br/>
     <span class="trimada name">Rechnung <t t-esc="o.name"/></span>
     <br/>
     <span class="trimada">Rechnungsdatum: <t t-options="{&quot;widget&quot;: &quot;date&quot;}" t-esc="o.invoice_date"/></span>
     <br/>
</xpath>

</data>

Source: snippets/l10n_ch.l10n_ch_swissqr_template.replace_title.xmlopen in new window