Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] grap_qweb_report : make grap template working with PoS certific…
Browse files Browse the repository at this point in the history
…ation doc
legalsylvain committed May 3, 2024
1 parent 8ff60d2 commit 37dec72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions grap_qweb_report/report/qweb_template_layout_standard.xml
Original file line number Diff line number Diff line change
@@ -105,15 +105,15 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<div><b><span t-esc="company.report_legal_description.replace('|', '')"/></b></div>
</div>
<div>
<div t-if="len(company.certifier_organization_id) and o._name in ('sale.order', 'account.invoice', 'stock.picking')">
<div t-if="len(company.certifier_organization_id)">
Tous les produits issus de l'agriculture biologique (AB) sont certifiés par <span t-esc="company.certifier_organization_id.name"/> <span t-esc="company.certifier_organization_id.code"/>
</div>
<span t-if="o._name in ('sale.order', 'account.invoice')">
<span>
<span>Pas d'escompte pour paiement anticipé. Pénalité de retard : 3 fois le taux d'intérêt légal. Montant forfaitaire pour frais de recouvrement dû au créancier en cas de retard de paiement : 40€</span>
<br/><span>Règlement par chèque à l'ordre de <b><span t-esc="company.fiscal_company_id.name.replace('|','')"/></b>. </span>
</span>
<span t-if="len(company.partner_id.bank_ids)">
<span t-if="o._name in ('sale.order', 'account.invoice')">Règlement par virement sur le compte <span t-esc="company.partner_id.bank_ids[0].bank_name"/>.</span>
<span>Règlement par virement sur le compte <span t-esc="company.partner_id.bank_ids[0].bank_name"/>.</span>
<span>
<br/>
<b>IBAN : </b><span t-esc="company.partner_id.bank_ids[0].acc_number"/>
@@ -136,15 +136,15 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<div><b><span t-esc="company.report_legal_description.replace('|', '')"/></b></div>
</div>
<div>
<div t-if="len(company.certifier_organization_id) and o._name in ('sale.order', 'account.invoice', 'stock.picking')">
<div t-if="len(company.certifier_organization_id)">
Tous les produits issus de l'agriculture biologique (AB) sont certifiés par <span t-esc="company.certifier_organization_id.name"/> <span t-esc="company.certifier_organization_id.code"/>
</div>
<span t-if="o._name in ('sale.order', 'account.invoice')">
<span>
<span>Pas d'escompte pour paiement anticipé. Pénalité de retard : 3 fois le taux d'intérêt légal. Montant forfaitaire pour frais de recouvrement dû au créancier en cas de retard de paiement : 40€</span>
<br/><span>Règlement par chèque à l'ordre de <b><span t-esc="company.fiscal_company_id.name.replace('|','')"/></b>. </span>
</span>
<span t-if="len(company.partner_id.bank_ids)">
<span t-if="o._name in ('sale.order', 'account.invoice')">Règlement par virement sur le compte <span t-esc="company.partner_id.bank_ids[0].bank_name"/>.</span>
<span>Règlement par virement sur le compte <span t-esc="company.partner_id.bank_ids[0].bank_name"/>.</span>
<span>
<br/>
<b>IBAN : </b><span t-esc="company.partner_id.bank_ids[0].acc_number"/>

0 comments on commit 37dec72

Please sign in to comment.