[FIX] sale: add date label to quotation preview at 'sent' stage
Steps to reproduce : - Install 'Accounting' - Create a quotation then send it (without confirming it) - Click on Preview Issue : `Date` field is not preceded by a label. Solution : Display "Quotation Date:" label if quotation is not in one of this states : `sale`, `done` or `cancel`. opw-2585000 closes odoo/odoo#73181 X-original-commit: b35b8938c5fea82d27d29601b7d7a04bfc67eb66 Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
This commit is contained in:
@@ -366,12 +366,12 @@
|
||||
</div>
|
||||
<div class="row" id="so_date">
|
||||
<div class="mb-3 col-6">
|
||||
<t t-if="sale_order.state == 'draft'">
|
||||
<strong>Quotation Date:</strong>
|
||||
</t>
|
||||
<t t-if="sale_order.state in ['sale', 'done', 'cancel']">
|
||||
<strong>Order Date:</strong>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<strong>Quotation Date:</strong>
|
||||
</t>
|
||||
<span t-field="sale_order.date_order" t-options='{"widget": "date"}'/>
|
||||
</div>
|
||||
<div class="mb-3 col-6" t-if="sale_order.validity_date">
|
||||
|
||||
Reference in New Issue
Block a user