Skip to content

[FIX] hr_employee_second_lastname: replace mapped address_home_id#1553

Open
xavierbol wants to merge 2 commits into
OCA:18.0from
xavierbol:18.0-hr_employee_second_lastname-fix
Open

[FIX] hr_employee_second_lastname: replace mapped address_home_id#1553
xavierbol wants to merge 2 commits into
OCA:18.0from
xavierbol:18.0-hr_employee_second_lastname-fix

Conversation

@xavierbol
Copy link
Copy Markdown

Replace address_home_id mapped by work_contact_id. The relational field no longer exists on the address in V17 and replace by non relational field(Char) private_street.

Forward port fix (#1370) made in version 17

close #1551

Replace address_home_id mapped by work_contact_id.
The relational field no longer exists on the address in V17 and replace by non relational field(Char) private_street.

Forward port fix (OCA#1370) made in version 17

close OCA#1551
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @luisg123v,
some modules you are maintaining are being modified, check this out!

Copy link
Copy Markdown
Contributor

@BhaveshHeliconia BhaveshHeliconia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@BT-mgomez
Copy link
Copy Markdown

@xavierbol @OCA-git-bot @MarwanBHL @BhaveshHeliconia Can this be merged?

@OCA-git-bot OCA-git-bot added mod:hr_employee_second_lastname Module hr_employee_second_lastname series:18.0 labels May 26, 2026
@xavierbol xavierbol force-pushed the 18.0-hr_employee_second_lastname-fix branch from 35a39f0 to e8ed0a3 Compare May 26, 2026 21:41
@xavierbol
Copy link
Copy Markdown
Author

Hello 👋🏼

I cannot test my fix correctly to improve the test coverage since my changes depend on the installation of partner_firstname which is not in the dependencies of hr_employee_second_lastname module.

I added a fixup commit containing some assets in unit test to check work_contact_id fields are correctly updated as expected. Let me know if it is useful or not, if yes, then I will squash it with the other commit. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

address_home_id doesn't exist anymore on odoo18

6 participants