Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][OU-ADD] hr_contract #3912

Closed
wants to merge 1 commit into from
Closed

Conversation

remytms
Copy link
Contributor

@remytms remytms commented Jun 13, 2023

Most of the changes are managed by the migration script of hr module. Load the noupdate_changes file.

Most of the changes are managed by the migration script of hr module.
Load the noupdate_changes file.
@legalsylvain
Copy link
Contributor

legalsylvain commented Jun 13, 2023

/ocabot migration hr_contract

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Jun 13, 2023
@remytms remytms marked this pull request as ready for review June 13, 2023 18:35
@remytms remytms changed the title [OU-ADD] hr_contract [16.0][OU-ADD] hr_contract Jun 13, 2023
Copy link
Contributor

@marielejeune marielejeune left a comment

Choose a reason for hiding this comment

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

Looks good

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@andreampiovesana
Copy link

merge?

@remytms
Copy link
Contributor Author

remytms commented Jan 19, 2024

I think that it will be merge when dependencies will be scripted and merged.

@remytms
Copy link
Contributor Author

remytms commented Feb 19, 2024

@legalsylvain I think this is not blocked by dependency anymore, since the merge of module hr.


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "hr_contract", "16.0.1.0/noupdate_changes.xml")
Copy link
Member

Choose a reason for hiding this comment

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

Analyzing noupdate_changes.xml file, the group_hr_contract_manager is being modified through (4, id), which means that the previous content is kept, and we don't want this, so you should add first a (5, ) command for erasing current content.

@pedrobaeza
Copy link
Member

Superseded by #4336 for adding the missing piece.

@pedrobaeza pedrobaeza closed this Mar 8, 2024
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.

9 participants