|
@ -105,24 +105,24 @@ |
|
|
t-field="o.partner_id"/> |
|
|
t-field="o.partner_id"/> |
|
|
<br/> |
|
|
<br/> |
|
|
<span t-if="o.theme_id.address"> |
|
|
<span t-if="o.theme_id.address"> |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
t-field="o.partner_id.street"/> |
|
|
t-field="o.partner_id.street"/> |
|
|
<br/> |
|
|
<br/> |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
t-field="o.partner_id.street2"/> |
|
|
t-field="o.partner_id.street2"/> |
|
|
<br/> |
|
|
<br/> |
|
|
</span> |
|
|
</span> |
|
|
|
|
|
|
|
|
<span t-if="o.theme_id.city"> |
|
|
<span t-if="o.theme_id.city"> |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
t-field="o.partner_id.city"/> |
|
|
t-field="o.partner_id.city"/> |
|
|
<br/> |
|
|
<br/> |
|
|
</span> |
|
|
</span> |
|
|
|
|
|
|
|
|
<span t-if="o.theme_id.country"> |
|
|
<span t-if="o.theme_id.country"> |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
t-field="o.partner_id.country_id"/> |
|
|
t-field="o.partner_id.country_id"/> |
|
|
<br/> |
|
|
<br/> |
|
|
</span> |
|
|
</span> |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
<span t-attf-style="color:#{o.theme_id.customer_text_color} !important;" |
|
|
t-field="o.partner_id.vat"/> |
|
|
t-field="o.partner_id.vat"/> |
|
@ -330,9 +330,9 @@ |
|
|
|
|
|
|
|
|
<td class="text-right"> |
|
|
<td class="text-right"> |
|
|
<span |
|
|
<span |
|
|
t-att-class="oe_subtotal_footer_separator" |
|
|
t-att-class="oe_subtotal_footer_separator" |
|
|
t-esc="subtotal['amount']" |
|
|
t-esc="subtotal['amount']" |
|
|
t-options='{"widget": "monetary", "display_currency": o.currency_id}' |
|
|
t-options='{"widget": "monetary", "display_currency": o.currency_id}' |
|
|
/> |
|
|
/> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
@ -406,55 +406,59 @@ |
|
|
</div> |
|
|
</div> |
|
|
</t> |
|
|
</t> |
|
|
</template> |
|
|
</template> |
|
|
<template id="account.report_invoice_with_payments"> |
|
|
<template id="report_invoice_with_payments_inherit" inherit_id="account.report_invoice_with_payments"> |
|
|
<t t-call="web.html_container"> |
|
|
<xpath expr="//t[@t-call='web.html_container']" position="replace"> |
|
|
<t t-foreach="docs" t-as="o"> |
|
|
<t t-call="web.html_container"> |
|
|
<t t-set="lang" |
|
|
<t t-foreach="docs" t-as="o"> |
|
|
t-value="o.invoice_user_id.sudo().lang if o.move_type in ('in_invoice', 'in_refund') else o.partner_id.lang"/> |
|
|
<t t-set="lang" |
|
|
<t t-set="print_with_payments" t-value="True"/> |
|
|
t-value="o.invoice_user_id.sudo().lang if o.move_type in ('in_invoice', 'in_refund') else o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'normal'"> |
|
|
<t t-set="print_with_payments" t-value="True"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_normal" |
|
|
<t t-if="o.company_id.base_layout == 'normal'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_normal" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'old'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.old_std_report_invoice_document" |
|
|
<t t-if="o.company_id.base_layout == 'old'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.old_std_report_invoice_document" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'modern'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_modern" |
|
|
<t t-if="o.company_id.base_layout == 'modern'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_modern" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'default'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.report_invoice_document" |
|
|
<t t-if="o.company_id.base_layout == 'default'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.report_invoice_document" |
|
|
|
|
|
t-lang="o.partner_id.lang"/> |
|
|
|
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</xpath> |
|
|
</template> |
|
|
</template> |
|
|
<template id="account.report_invoice"> |
|
|
<template id="report_invoice_inherit" inherit_id="account.report_invoice"> |
|
|
<t t-call="web.html_container"> |
|
|
<xpath expr="//t[@t-call='web.html_container']" position="replace"> |
|
|
<t t-foreach="docs" t-as="o"> |
|
|
<t t-call="web.html_container"> |
|
|
<t t-set="lang" |
|
|
<t t-foreach="docs" t-as="o"> |
|
|
t-value="o.invoice_user_id.sudo().lang if o.move_type in ('in_invoice', 'in_refund') else o.partner_id.lang"/> |
|
|
<t t-set="lang" |
|
|
<t t-set="print_with_payments" t-value="True"/> |
|
|
t-value="o.invoice_user_id.sudo().lang if o.move_type in ('in_invoice', 'in_refund') else o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'normal'"> |
|
|
<t t-set="print_with_payments" t-value="True"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_normal" |
|
|
<t t-if="o.company_id.base_layout == 'normal'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_normal" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'old'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.old_std_report_invoice_document" |
|
|
<t t-if="o.company_id.base_layout == 'old'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.old_std_report_invoice_document" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'modern'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_modern" |
|
|
<t t-if="o.company_id.base_layout == 'modern'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.custom_template_report_invoice_modern" |
|
|
</t> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-if="o.company_id.base_layout == 'default'"> |
|
|
</t> |
|
|
<t t-call="invoice_format_editor.report_invoice_document" |
|
|
<t t-if="o.company_id.base_layout == 'default'"> |
|
|
t-lang="o.partner_id.lang"/> |
|
|
<t t-call="invoice_format_editor.report_invoice_document" |
|
|
|
|
|
t-lang="o.partner_id.lang"/> |
|
|
|
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</xpath> |
|
|
</template> |
|
|
</template> |
|
|
</data> |
|
|
</data> |
|
|
</odoo> |
|
|
</odoo> |