Skip to content

Commit

Permalink
[IMP] Set birthdate to required on sub request
Browse files Browse the repository at this point in the history
The birthdate is necessary for some later cooperator actions, so it
must be set as required.
It is set in the view and not in python because it must be compatible
with previous data in birthdate might not have been set.
  • Loading branch information
victor-champonnois committed Feb 6, 2024
1 parent d0b0fb2 commit d3552c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cooperator/views/subscription_request_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
/>
<field name="firstname" />
<field name="lastname" />
<field name="birthdate" />
<field name="birthdate" required="1" />
<field name="gender" />
<field name="email" />
<field name="phone" />
Expand Down

0 comments on commit d3552c7

Please sign in to comment.