[FIX] sale: display Payment Terms on online SO
Purpose ======= We don't have the description of the payment terms in the online SO even if we get it on the report. Specification ============= Fix the bad usages of t-field on the website quote. task-2186685 Closes- #46815 closes odoo/odoo#47116 X-original-commit: 0f622ae61dcbb454b5d7a4124dfcc5187085a64d Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
committed by
Yannick Tivisse
parent
641bd9d8ef
commit
a4149d923b
@@ -215,7 +215,7 @@
|
||||
<ul>
|
||||
<li><span>Accepted on the behalf of:</span> <b t-field="sale_order.partner_id.commercial_partner_id"/></li>
|
||||
<li><span>For an amount of:</span> <b data-id="total_amount" t-field="sale_order.amount_total"/></li>
|
||||
<li t-if="sale_order.payment_term_id"><span>With payment terms:</span> <b t-field="sale_order.payment_term_id"/></li>
|
||||
<li t-if="sale_order.payment_term_id"><span>With payment terms:</span> <b t-field="sale_order.payment_term_id.note"/></li>
|
||||
</ul>
|
||||
</p>
|
||||
<t t-call="portal.signature_form">
|
||||
@@ -238,7 +238,7 @@
|
||||
<ul>
|
||||
<li><span>Accepted on the behalf of:</span> <b t-field="sale_order.partner_id.commercial_partner_id"/></li>
|
||||
<li><span>For an amount of:</span> <b data-id="total_amount" t-field="sale_order.amount_total"/></li>
|
||||
<li t-if="sale_order.payment_term_id"><span>With payment terms:</span> <b t-field="sale_order.payment_term_id"/></li>
|
||||
<li t-if="sale_order.payment_term_id"><span>With payment terms:</span> <b t-field="sale_order.payment_term_id.note"/></li>
|
||||
</ul>
|
||||
</p>
|
||||
<div t-if="pms or acquirers" id="payment_method" class="text-left">
|
||||
|
||||
Reference in New Issue
Block a user