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

Add Title Padding

ID: mint_system.l10n_ch.l10n_ch_swissqr_template.add_title_padding

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

     <xpath expr="//div[@class='swissqr_page_title']" position="before">
          <style>
          .swissqr_page_title {
            padding-top: 200px;
          }
          </style>
     </xpath>

</data>

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

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

Set Additional Information

ID: mint_system.l10n_ch.l10n_ch_swissqr_template.set_additional_information

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

  <t t-set="additional_info" position="replace">
    <t t-set="additional_info" t-value="o.name"/>
  </t>

</data>

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