Skip to content

Commit

Permalink
Merge PR #1926 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by etobella
  • Loading branch information
OCA-git-bot committed Jan 7, 2025
2 parents 6ec7e91 + 34482fc commit 55cf21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion partner_second_lastname/views/res_partner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<field name="lastname" position="after">
<field
name="lastname2"
required="not lastname2 and not lastname and not is_company and type == 'contact'"
required="not firstname and not lastname and not is_company and type == 'contact'"
/>
</field>
</field>
Expand Down
2 changes: 1 addition & 1 deletion partner_second_lastname/views/res_user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<attribute name="required" add="(not lastname2)" separator=" and " />
</field>
<field name="lastname" position="after">
<field name="lastname2" required="not lastname2 and not lastname" />
<field name="lastname2" required="not firstname and not lastname" />
</field>
</field>
</record>
Expand Down

0 comments on commit 55cf21b

Please sign in to comment.