[Ticket 15] [Members] +Sexe
[burette/bikecoop.git] / view / bikecoop_membership.xml
index 9210594..746af6e 100644 (file)
@@ -47,7 +47,7 @@
                 <group colspan="2" col="2">
                     <separator string="Other informations" colspan="4" col="4"/>
                     <field name="date" string="Birthdate"/>
-                    <field name="title" domain="[('domain', '=', 'contact')]" string="Sex" required="1"/>
+                    <field name="sex_id" domain="[('domain','=', 'sex')]" required="1" />
                     <field name="nationality_id" required="1" />
                     <field name="occupation_id" required="1" domain="[('domain','=', 'occupation')]"/>
                     <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" />