Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1595 Zobrazení

odoo ignored customer lang after Inherit Quotation template  


<template id="report_saleorder_document_1" inherit_id="sale.report_saleorder_document">
<t t-call="web.external_layout" position="replace">

<t t-call="web.external_layout">
<t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)" />
<!-- t t-set="address">
</t>
</template >

<template id="report_saleorder_1">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="business_report. report_saleorder_document_1" t-lang="doc.partner_id.lang"/>
</t>
</t>
</template>

<template id="report_saleorder_pro_forma_1">
<t t-call="web.html_container">
<t t-set="is_pro_forma" t-value="True"/>
<t t-foreach="docs" t-as="doc">
<t t-call="business_report.report_saleorder_document_1" t-lang="doc.partner_id.lang"/>
</t>
</t>
</template>
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
kvě 24
834
0
čvc 22
1539
0
říj 20
3259
4
říj 19
4065
2
úno 22
8448