Browse Source

[FIX] b_emc: checkbox in become cooperator form

pull/192/head
Rémy Taymans 4 years ago
parent
commit
3010cdcd5f
  1. 2
      beesdoo_easy_my_coop/__manifest__.py
  2. 47
      beesdoo_easy_my_coop/views/subscription_templates.xml

2
beesdoo_easy_my_coop/__manifest__.py

@ -4,7 +4,7 @@
"author": "BEES coop, Coop IT Easy SCRLfs", "author": "BEES coop, Coop IT Easy SCRLfs",
"website": "https://github.com/beescoop/Obeesdoo", "website": "https://github.com/beescoop/Obeesdoo",
"category": "Cooperative management", "category": "Cooperative management",
"version": "12.0.1.0.1",
"version": "12.0.1.0.2",
"depends": [ "depends": [
"beesdoo_base", "beesdoo_base",
"beesdoo_shift", "beesdoo_shift",

47
beesdoo_easy_my_coop/views/subscription_templates.xml

@ -4,28 +4,29 @@
<odoo> <odoo>
<template id="beesdoo_easy_my_coop.becomecooperator"
name="Become Cooperator (in beesdoo_easy_my_coop)"
inherit_id="easy_my_coop_website.becomecooperator">
<xpath expr="//div[@id='internal_rules_approved']" position="before">
<div id="info_session_confirmed" t-if="display_info_session" t-attf-class="form-group" >
<label class="col-md-3 col-sm-4 control-label"
for="info_session_confirmed">
Info Session
</label>
<div class="col-md-9 col-sm-8">
<div class="checkbox">
<label for="info_session_confirmed">
<input type="checkbox"
name="info_session_confirmed"
t-att-required="info_session_required"
t-att-checked="data_policy_approved"/>
<t t-raw="info_session_text"/>
</label>
</div>
</div>
</div>
</xpath>
</template>
<template id="beesdoo_easy_my_coop.becomecooperator"
name="Become Cooperator (in beesdoo_easy_my_coop)"
inherit_id="easy_my_coop_website.becomecooperator">
<xpath expr="//div[@id='internal_rules_approved']" position="before">
<div id="info_session_confirmed" t-if="display_info_session" t-attf-class="form-group" >
<label class="col-md-3 col-sm-4 control-label"
for="info_session_confirmed">
Info Session
</label>
<div class="col-md-9 col-sm-8">
<div class="form-check">
<input type="checkbox"
name="info_session_confirmed"
class="form-check-input"
t-att-required="info_session_required"
t-att-checked="data_policy_approved"/>
<div class="form-check-label">
<t t-raw="info_session_text"/>
</div>
</div>
</div>
</div>
</xpath>
</template>
</odoo> </odoo>
Loading…
Cancel
Save