[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
This commit is contained in:
Nicolas Martinelli
2018-03-20 08:57:52 +01:00
committed by Nicolas Martinelli
parent 672a275c7f
commit 2da8d41c02
+1 -1
View File
@@ -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'>