Skip to content

Commit b3f1fd3

Browse files
Merge pull request #30 from OpenSPP/fix/gender-no-create
fix(spp_registry): disable gender creation in individual form
2 parents 619f6a8 + faca768 commit b3f1fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spp_registry/views/individual_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
<field name="birthdate" readonly="disabled" help="Date of Birth - mm/dd/yyyy" />
223223
</group>
224224
<group>
225-
<field name="gender_id" readonly="disabled" />
225+
<field name="gender_id" readonly="disabled" options="{'no_create': True, 'no_open': True}" />
226226
</group>
227227
<group>
228228
<field name="age" />

0 commit comments

Comments
 (0)