Skip to content

Conversation

@remi-filament
Copy link
Contributor

No description provided.

@legalsylvain
Copy link
Contributor

legalsylvain commented Dec 31, 2024

/ocabot migration hr_recruitment

Comment on lines +13 to +18
hr_recruitment / hr.applicant / email_normalized (char) : NEW isfunction: function, stored
hr_recruitment / hr.applicant / message_bounce (integer) : NEW hasdefault: default
hr_recruitment / hr.applicant / partner_mobile_sanitized (char): NEW isfunction: function, stored
hr_recruitment / hr.applicant / partner_phone_sanitized (char): NEW isfunction: function, stored
hr_recruitment / hr.applicant / phone_mobile_search (char) : NEW
hr_recruitment / hr.applicant / phone_sanitized (char) : NEW isfunction: function, stored
Copy link
Contributor

Choose a reason for hiding this comment

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

too many functions. shouldn't we try to fill this new columns by query? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I looked into these ones and they are calling mixin python functions to sanitize / format email and phone wihch for phone depends on localization for instance, so I think it makes more sense to let Odoo compute these fields with Python functions rather than trying to do the same in SQL to reduce migration time !

@remi-filament
Copy link
Contributor Author

Thanks for your review @MiquelRForgeFlow I implemented 2 out of your 3 comments and replied on the last one.
Best Regards !

@MiquelRForgeFlow
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-4703-by-MiquelRForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 1078b6c. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot merged commit 1078b6c into OCA:17.0 Mar 11, 2025
4 checks passed
@remi-filament remi-filament deleted the 17.0-hr_recruitment branch March 11, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants