Skip to content

[18.0][MIG] maintenance_plan: Migration to 18.0 #514

Open
gbrito wants to merge 129 commits intoOCA:18.0from
gbrito:18.0-mig-maintenance_plan
Open

[18.0][MIG] maintenance_plan: Migration to 18.0 #514
gbrito wants to merge 129 commits intoOCA:18.0from
gbrito:18.0-mig-maintenance_plan

Conversation

@gbrito
Copy link

@gbrito gbrito commented Oct 3, 2025

No description provided.

grindtildeath and others added 30 commits October 3, 2025 15:21
… equipment maintenance team is not filled

[ADD] icon.png
[UPD] Update maintenance_plan.pot
Currently translated at 100.0% (30 of 30 strings)

Translation: maintenance-12.0/maintenance-12.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_plan/es/

[UPD] README.rst
[ADD] instructions and notes to Plan

- Add menus for maintenance plans.
- Set active button on maintenance plans.

improve navigation to maintenance plans.

[ADD] post-migration script
[UPD] Update maintenance_plan.pot

[UPD] README.rst

maintenance_plan 12.0.3.0.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-12.0/maintenance-12.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_plan/
[UPD] Update maintenance_plan.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-12.0/maintenance-12.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_plan/
Currently translated at 98.4% (63 of 64 strings)

Translation: maintenance-12.0/maintenance-12.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_plan/es/
[UPD] Update maintenance_plan.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-13.0/maintenance-13.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_plan/
[UPD] Update maintenance_plan.pot

maintenance_plan 13.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-13.0/maintenance-13.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_plan/

pre-commit update
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-13.0/maintenance-13.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_plan/
[UPD] Update maintenance_plan.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-13.0/maintenance-13.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_plan/
[UPD] Update maintenance_plan.pot

[UPD] README.rst
Currently translated at 100.0% (69 of 69 strings)

Translation: maintenance-14.0/maintenance-14.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-14-0/maintenance-14-0-maintenance_plan/it/
* Use latest request_date both for done and todo searches.
* When there is a latest done apply interval

Co-authored-by: Lois Rilo <lois.rilo@forgeflow.com>
Co-authored-by: LoisRForgeFlow <LoisRForgeFlow@users.noreply.github.com>

maintenance_plan 14.0.1.0.1
Currently translated at 100.0% (69 of 69 strings)

Translation: maintenance-14.0/maintenance-14.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-14-0/maintenance-14-0-maintenance_plan/it/
* only consider request after the start maintenance date.
* todo request ordered asc.
* add more tests.

maintenance_plan 14.0.1.0.2
weblate and others added 24 commits October 3, 2025 15:21
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-15.0/maintenance-15.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-15-0/maintenance-15-0-maintenance_plan/
Currently translated at 100.0% (118 of 118 strings)

Translation: maintenance-15.0/maintenance-15.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-15-0/maintenance-15-0-maintenance_plan/it/
Currently translated at 100.0% (118 of 118 strings)

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

Translation: maintenance-17.0/maintenance-17.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_plan/
Currently translated at 100.0% (115 of 115 strings)

Translation: maintenance-17.0/maintenance-17.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_plan/it/
Without this fix, the smart button using the act_window fails with an
error.
Currently translated at 100.0% (115 of 115 strings)

Translation: maintenance-17.0/maintenance-17.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_plan/it/
Currently translated at 100.0% (115 of 115 strings)

Translation: maintenance-17.0/maintenance-17.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_plan/it/
after this commit odoo/odoo@3bd8410 the maintenance request form view now has an independent page. This commit adapts the view to align with the new page structure.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: maintenance-17.0/maintenance-17.0-maintenance_plan
Translate-URL: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_plan/
@pedrobaeza
Copy link
Member

Odoo already includes a way to do recurrent maintenance requests, so this one is less needed. Do you have any reason to keep this one?

@ypapouin
Copy link
Contributor

I can read that maintenance_plan is deprecated but merged in 17.0 #414

Currently some other modules "depends" on it (from 14.0 to 17.0):

For some of them (maintenance_inspection, maintenance_location), it would only require to drop references to maintenance_plan items to keep them in 18.0.

But that's not the point: the "recurrent" implementation from Odoo is javascript-only ... and its behavior has nothing to do with maintenance_plan. I think there has been a misunderstanding on this because the “advanced” features of the maintenance_plan module are much closer and more realistic to the way a maintenance workshop operates and this module should be "de-deprecated".

To avoid confusion on the "recurrent" attribute, this field could be hidden when maintenance_plan is installed or recomputed (it is already a compute field). Same thing for the calendar view where the js_class="calendar_with_recurrence" would be dropped.

I'm ready to do this and continue this migration.

Comment on lines +121 to +126
<!-- Chatter -->
<div class="oe_chatter">
<field name="message_follower_ids" groups="base.group_user" />
<field name="activity_ids" />
<field name="message_ids" />
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

You must use the tag

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.