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

[17.0][MIG] maintenance_project #401

Merged
merged 28 commits into from
Aug 20, 2024

Conversation

Anxo82
Copy link

@Anxo82 Anxo82 commented Jun 12, 2024

Remove in demo_maintenance_project.xml 2 fields: "maintenance_duration" and "period". This fields removed in base odoo.

@Anxo82 Anxo82 force-pushed the 17.0-mig-maintenance_project branch from 984a190 to 5f49cfb Compare June 26, 2024 10:43
@@ -0,0 +1 @@
odoo-addon-base_maintenance @ git+https://github.com/OCA/maintenance.git@refs/pull/400/head#subdirectory=base_maintenance
Copy link
Contributor

Choose a reason for hiding this comment

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

@Anxo82 test requirements file seems to be good, but it should be placed in the root folder, not inside addon directory.

@Anxo82 Anxo82 force-pushed the 17.0-mig-maintenance_project branch from 5f49cfb to b05094e Compare June 28, 2024 06:27
@Anxo82 Anxo82 force-pushed the 17.0-mig-maintenance_project branch 2 times, most recently from a674900 to 4cf3b01 Compare July 24, 2024 06:33
dalonsod and others added 24 commits August 11, 2024 13:31
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-14.0/maintenance-14.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-14-0/maintenance-14-0-maintenance_project/
Currently translated at 100.0% (23 of 23 strings)

Translation: maintenance-14.0/maintenance-14.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-14-0/maintenance-14-0-maintenance_project/it/
Currently translated at 100.0% (23 of 23 strings)

Translation: maintenance-15.0/maintenance-15.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-15-0/maintenance-15-0-maintenance_project/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-16.0/maintenance-16.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_project/
Currently translated at 100.0% (21 of 21 strings)

Translation: maintenance-16.0/maintenance-16.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_project/it/
Currently translated at 100.0% (21 of 21 strings)

Translation: maintenance-16.0/maintenance-16.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_project/es/
mymage and others added 2 commits August 11, 2024 13:31
Currently translated at 100.0% (21 of 21 strings)

Translation: maintenance-16.0/maintenance-16.0-maintenance_project
Translate-URL: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_project/it/
@dalonsod dalonsod force-pushed the 17.0-mig-maintenance_project branch from 4cf3b01 to f132c76 Compare August 11, 2024 12:08
@dalonsod
Copy link
Contributor

@FernandoRomera tests fixed, could you review?

Copy link

@FernandoRomera FernandoRomera left a comment

Choose a reason for hiding this comment

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

@dalonsod
LGTM.
A silly thing, to follow OCA guidelines. Rename dir data to demo

@dalonsod dalonsod force-pushed the 17.0-mig-maintenance_project branch from f132c76 to 7d86d06 Compare August 19, 2024 07:52
@dalonsod
Copy link
Contributor

@mymage could you review? Thanks!

@dalonsod
Copy link
Contributor

A silly thing, to follow OCA guidelines. Rename dir data to demo

@FernandoRomera done!

Copy link
Member

@mymage mymage left a comment

Choose a reason for hiding this comment

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

LGTM
As improvement, but it is not argument of the migration, I'll add equipment reference on Project form and Project reference on Equipment form. I'll do an issue just as reminder.

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

<field name="create_project_from_equipment" invisible="id" />
<field
name="project_id"
invisible="create_project_from_equipment or not id"
Copy link
Contributor

Choose a reason for hiding this comment

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

@Anxo82 according to original code this condition's been translated wrong in new syntax, please check:

Suggested change
invisible="create_project_from_equipment or not id"
invisible="create_project_from_equipment and not id"

Copy link
Author

Choose a reason for hiding this comment

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

Done! Review please.
Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

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

It works

@Anxo82 Anxo82 force-pushed the 17.0-mig-maintenance_project branch from 7d86d06 to ed288fd Compare August 19, 2024 12:53
Co-Authored-By: David Alonso <david.alonso@solvos.es>
@dalonsod dalonsod force-pushed the 17.0-mig-maintenance_project branch from ed288fd to 533ba1b Compare August 19, 2024 14:55
@dalonsod
Copy link
Contributor

@etobella could you review? Thanks!

@etobella
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-401-by-etobella-bump-nobump, awaiting test results.

@etobella
Copy link
Member

/ocabot migration maintenance_project

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Aug 20, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 20, 2024
17 tasks
@OCA-git-bot OCA-git-bot merged commit 291a56e into OCA:17.0 Aug 20, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@dalonsod dalonsod deleted the 17.0-mig-maintenance_project branch August 20, 2024 10:18
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.