[FIX] sale: adds id in portal template to ease overriding

Before this commit, some element did not had id in the portal sale order
template. This commit intruduces them to allow easy override.

closes odoo/odoo#93859

Taskid: 2855699
X-original-commit: e829e4353574a1226163ba22b02d3080a8f75c69
Related: odoo/enterprise#28509
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Arnaud Joset <arj@odoo.com>
This commit is contained in:
Arnaud Joset
2022-06-20 12:16:16 +02:00
parent d5a7d156d6
commit f57ca6f07d
+2 -2
View File
@@ -400,7 +400,7 @@
<strong>Expiration Date:</strong> <span t-field="sale_order.validity_date" t-options='{"widget": "date"}'/>
</div>
</div>
<div class="row">
<div class="row" id="invoicing_shipping_address">
<div class="col-lg-6">
<strong class="d-block mb-1">
<t t-if="sale_order.partner_shipping_id == sale_order.partner_invoice_id">
@@ -459,7 +459,7 @@
<table t-att-data-order-id="sale_order.id" t-att-data-token="sale_order.access_token" class="table table-sm" id="sales_order_table">
<thead class="bg-100">
<tr>
<th class="text-left">Products</th>
<th class="text-left" id="product_name_header">Products</th>
<th class="text-right">Quantity</th>
<th t-attf-class="text-right {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}">
Unit Price