summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-03-19 11:19:30 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-03-20 08:57:52 +0100
commit2da8d41c027ab7abdcdd6ea72d9953ab9cddfe9d (patch)
tree7b644208136572f1626cd340d9173e0bae8d1a49 /addons
parent672a275c7fab65c4adb49024b2899c8cef1adbb1 (diff)
[FIX] website_sale: required fields
- Go to eCommerce, add a product to the cart - At address configuration, add a delivery address. Do not field the name or the phone It is possible to save the address while the fields are mandatory. opw-1827797
Diffstat (limited to 'addons')
-rw-r--r--addons/website_sale/views/templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml
index 598d5cc8d66..52708b1f1f5 100644
--- a/addons/website_sale/views/templates.xml
+++ b/addons/website_sale/views/templates.xml
@@ -1221,7 +1221,7 @@
<input type="hidden" name="partner_id" t-att-value="partner_id or '0'" />
<input type="hidden" name="callback" t-att-value="callback" />
<!-- Example -->
- <input type="hidden" name="field_required" t-att-value="mode[1] == 'billing' and 'phone,name' or ''" />
+ <input type="hidden" name="field_required" t-att-value="'phone,name'" />
<div class="clearfix"/>
<div style='padding: 0 15px'>