Browse Source

[FIX] fix checkbox field replate t-attf-value by t-att-checked

12.0-add-financial-risk
houssine 5 years ago
parent
commit
82f5265af5
  1. 8
      easy_my_coop_website/views/subscription_template.xml

8
easy_my_coop_website/views/subscription_template.xml

@ -268,7 +268,7 @@
<input type="checkbox"
name="data_policy_approved"
t-att="{'required': 'required'} if data_policy_required else {}"
t-attf-value="#{data_policy_approved or ''}"/>
t-att-checked="data_policy_approved"/>
<t t-raw="data_policy_text"/>
</label>
</div>
@ -283,7 +283,7 @@
<input type="checkbox"
name="internal_rules_approved"
t-att="{'required': 'required'} if internal_rules_required else {}"
t-attf-value="#{internal_rules_approved or ''}"/>
t-att-checked="internal_rules_approved}"/>
<t t-raw="internal_rules_text"/>
</label>
</div>
@ -588,7 +588,7 @@
<input type="checkbox"
name="data_policy_approved"
t-att="{'required': 'required'} if data_policy_required else {}"
t-attf-value="#{data_policy_approved or ''}"/>
t-att-checked="data_policy_approved"/>
<t t-raw="data_policy_text"/>
</label>
</div>
@ -603,7 +603,7 @@
<input type="checkbox"
name="internal_rules_approved"
t-att="{'required': 'required'} if internal_rules_required else {}"
t-attf-value="#{internal_rules_approved or ''}"/>
t-att-checked="internal_rules_approved"/>
<t t-raw="internal_rules_text"/>
</label>
</div>

Loading…
Cancel
Save