Browse Source

[IMP] add condition on domain to not display old member

pull/1/head
houssine 8 years ago
parent
commit
cd63cb9b5a
  1. 4
      easy_my_coop/view/res_partner_view.xml

4
easy_my_coop/view/res_partner_view.xml

@ -75,7 +75,7 @@
<field name="res_model">res.partner</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="domain">[('cooperator','=',True),('member','=',True)]</field>
<field name="domain">[('cooperator','=',True),('member','=',True),('old_member','=',False)]</field>
<field name="context">{'default_cooperator':1, 'search_default_cooperator':1}</field>
<field name="filter" eval="True"/>
<field name="help" type="html">
@ -97,7 +97,7 @@
<field name="res_model">res.partner</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="domain">[('cooperator','=',True),('member','=',False)]</field>
<field name="domain">[('cooperator','=',True),('member','=',False),('old_member','=',False)]</field>
<field name="context">{'default_cooperator':1, 'search_default_cooperator':1}</field>
<field name="filter" eval="True"/>
<field name="help" type="html">

Loading…
Cancel
Save