Browse Source

[IMP] add missing info_session_confirmed field on partner view

pull/158/head
houssine 5 years ago
parent
commit
6248d54510
  1. 3
      beesdoo_easy_my_coop/__manifest__.py
  2. 13
      beesdoo_easy_my_coop/views/res_partner.xml

3
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.0",
"version": "12.0.1.0.1",
"depends": [ "depends": [
"beesdoo_base", "beesdoo_base",
"beesdoo_shift", "beesdoo_shift",
@ -14,6 +14,7 @@
], ],
"data": [ "data": [
"views/res_company.xml", "views/res_company.xml",
'views/res_partner.xml',
"views/subscription_request.xml", "views/subscription_request.xml",
"views/subscription_templates.xml", "views/subscription_templates.xml",
"views/product.xml", "views/product.xml",

13
beesdoo_easy_my_coop/views/res_partner.xml

@ -0,0 +1,13 @@
<odoo>
<record id="view_partner_form_easy_my_coop" model="ir.ui.view">
<field name="name">res.partner.form.easy_my_coop</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/>
<field name="arch" type="xml">
<field name="data_policy_approved" position="after">
<field name="info_session_confirmed"
attrs="{'invisible':[('member','=',False)]}"/>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save