summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2021-01-25 09:32:05 +0000
committerGoffin Simon <sig@odoo.com>2021-01-25 09:36:40 +0000
commit342dd5ffb8281cb5c37fea4fb96db2b570c30122 (patch)
treeb01f7467699804ddc3bb4831edf75820d67ec6a1
parentc4fe5806fdd4185735ab50e05e9d7765a326ac80 (diff)
[FIX] sale: uom not displayed to the customer
The uom must be displayed to the customer in any case. Otherwise portal user couldn't sign their online quote if they couldn't read the uom (ex: a contract of one year or one day) opw:2411108 closes odoo/odoo#64987 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
-rw-r--r--addons/sale/views/sale_portal_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/views/sale_portal_templates.xml b/addons/sale/views/sale_portal_templates.xml
index 73a8f150ec6..84589e78d6e 100644
--- a/addons/sale/views/sale_portal_templates.xml
+++ b/addons/sale/views/sale_portal_templates.xml
@@ -461,7 +461,7 @@
<td class="text-right">
<div id="quote_qty">
<span t-field="line.product_uom_qty"/>
- <span t-field="line.product_uom" groups="uom.group_uom"/>
+ <span t-field="line.product_uom"/>
</div>
</td>
<td t-attf-class="text-right {{ 'd-none d-sm-table-cell' if report_type == 'html' else '' }}">