This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <t t-name="report_suite_galaxus.report_saleorder_document"> | |
| <t t-set="company" t-value="doc.company_id.sudo() or res_company"/> | |
| <t t-set="is_proforma" t-value="env.context.get('proforma', False) or is_pro_forma"/> | |
| <!-- HEADER & FOOTER VIA EXTERNAL LAYOUT --> | |
| <t t-call="PASTE EXTERNAL ID OF EXTERNAL LAYOUT HERE"> | |
| <div class="page" style="font-size:7pt;"> | |
| <!-- DOCUMENT TITLE --> | |
| <div style="font-size:16pt; padding-top: 8mm;"> | |
| <span t-if="is_proforma"> | |
| <t t-translation="on">Proforma Invoice</t> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <t t-name="report_suite_galaxus.external_layout"> | |
| <!-- Resolve company safely --> | |
| <t t-if="not o" t-set="o" t-value="doc"/> | |
| <t t-if="not company"> | |
| <t t-if="company_id"> | |
| <t t-set="company" t-value="company_id"/> | |
| </t> | |
| <t t-elif="o and 'company_id' in o and o.company_id.sudo()"> | |
| <t t-set="company" t-value="o.company_id.sudo()"/> | |
| </t> |