Skip to content

Commit

Permalink
[FIX] hr_employee_firstname: apply same order (lastname, then firstna…
Browse files Browse the repository at this point in the history
…me) as in all the other view defined in the base module partner_firstname. (partner form view, user form view) for consistency.
  • Loading branch information
legalsylvain committed Dec 17, 2024
1 parent d174642 commit 4bc1490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hr_employee_firstname/views/hr_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
</xpath>
<xpath expr="//h1//field[@name='name']/.." position="after">
<group>
<field
name="firstname"
attrs="{'required': [('lastname', '=', False)]}"
/>
<field
name="lastname"
attrs="{'required': [('firstname', '=', False)]}"
/>
<field
name="firstname"
attrs="{'required': [('lastname', '=', False)]}"
/>
</group>
</xpath>
</field>
Expand Down

0 comments on commit 4bc1490

Please sign in to comment.