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).

In all the other views defined in the base module partner_firstname, the order are lastname, firstname.
(partner form view, user form view).
  • Loading branch information
legalsylvain committed Dec 17, 2024
1 parent d174642 commit af11a61
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 af11a61

Please sign in to comment.