Skip to content

Commit

Permalink
Merge pull request #221 from Antiun/pr-8.0_fix_membership_search
Browse files Browse the repository at this point in the history
[FIX] Membership search by name or email
  • Loading branch information
pedrobaeza committed Jun 10, 2015
2 parents 9246a73 + bfa00eb commit 72a6edf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/membership/membership_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
<field name="priority">50</field>
<field name="arch" type="xml">
<search string="Membership Partners">
<field name="name" filter_domain="['|','|',('display_name','ilike',self),('ref','=',self),('email','ilike',self)]"/>
<field name="membership_start" invisible="1"/>
<field name="membership_stop" string="End Membership Date"/>
<filter string="Customers" name="customer" icon="terp-personal" domain="[('customer','=',1)]" help="Customer Partners"/>
Expand Down

0 comments on commit 72a6edf

Please sign in to comment.