Browse Source

[REF] beesdoo_easy_my_coop: place info_session_confirmed before internal_rules_approved

pull/158/head
Manuel Claeys Bouuaert 4 years ago
parent
commit
ec5c8998ac
  1. 2
      beesdoo_easy_my_coop/views/res_company.xml
  2. 4
      beesdoo_easy_my_coop/views/res_partner.xml
  3. 2
      beesdoo_easy_my_coop/views/subscription_request.xml
  4. 2
      beesdoo_easy_my_coop/views/subscription_templates.xml

2
beesdoo_easy_my_coop/views/res_company.xml

@ -9,7 +9,7 @@
<field name="model">res.company</field> <field name="model">res.company</field>
<field name="inherit_id" ref="easy_my_coop.view_company_inherit_form2"/> <field name="inherit_id" ref="easy_my_coop.view_company_inherit_form2"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//group[@name='coop_grp']//field[@name='display_data_policy_approval']"
<xpath expr="//group[@name='coop_grp']//field[@name='display_internal_rules_approval']"
position="before"> position="before">
<field name="display_info_session_confirmation"/> <field name="display_info_session_confirmation"/>
<field name="info_session_confirmation_required"/> <field name="info_session_confirmation_required"/>

4
beesdoo_easy_my_coop/views/res_partner.xml

@ -8,10 +8,10 @@
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> <field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="data_policy_approved" position="after">
<field name="internal_rules_approved" position="before">
<field name="info_session_confirmed" <field name="info_session_confirmed"
attrs="{'invisible':[('member','=',False)]}"/> attrs="{'invisible':[('member','=',False)]}"/>
</field> </field>
</field> </field>
</record> </record>
</odoo>
</odoo>

2
beesdoo_easy_my_coop/views/subscription_request.xml

@ -9,7 +9,7 @@
<field name="model">subscription.request</field> <field name="model">subscription.request</field>
<field name="inherit_id" ref="easy_my_coop.subscription_request_form"/> <field name="inherit_id" ref="easy_my_coop.subscription_request_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="data_policy_approved" position="before">
<field name="internal_rules_approved" position="before">
<field name="info_session_confirmed"/> <field name="info_session_confirmed"/>
</field> </field>
</field> </field>

2
beesdoo_easy_my_coop/views/subscription_templates.xml

@ -7,7 +7,7 @@
<template id="beesdoo_easy_my_coop.becomecooperator" <template id="beesdoo_easy_my_coop.becomecooperator"
name="Become Cooperator (in beesdoo_easy_my_coop)" name="Become Cooperator (in beesdoo_easy_my_coop)"
inherit_id="easy_my_coop_website.becomecooperator"> inherit_id="easy_my_coop_website.becomecooperator">
<xpath expr="//div[@id='data_policy_approved']" position="before">
<xpath expr="//div[@id='internal_rules_approved']" position="before">
<div id="info_session_confirmed" t-if="display_info_session" t-attf-class="form-group" > <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" <label class="col-md-3 col-sm-4 control-label"
for="info_session_confirmed"> for="info_session_confirmed">

Loading…
Cancel
Save