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] mail_activity_done: Migration to 17.0 #1387

Merged
merged 32 commits into from
Jul 22, 2024

Conversation

vvrossem
Copy link
Contributor

@vvrossem vvrossem commented Jun 5, 2024

Migration done from 16.0 to 17.0.
However, 16.0 doesn't contain the following fix merged in 15.0:
[15.0] [FIX] mail_activity_done: Remove broken and apparently unused js file #994
The PR [16.0][FIX] mail_activity_done: Remove broken and apparently unused js file #1386 ports it from 15.0 to 16.0.

This PR ports it from 15.0 to 17.0

JordiBForgeFlow and others added 30 commits June 3, 2024 10:27
Changed property in test to a correct one

Changed README

Added necessary checks if module does not have an icon

Added default value to _original_module
Currently translated at 100.0% (15 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/es/
Currently translated at 100.0% (15 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/it/
Currently translated at 46.6% (7 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/fi/
Currently translated at 60.0% (9 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/fi/
Currently translated at 100.0% (15 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/fi/
Currently translated at 100.0% (15 of 15 strings)

Translation: social-16.0/social-16.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_done/fr/
@vvrossem vvrossem force-pushed the 17.0-mig-mail_activity_done branch 2 times, most recently from a1b6c9d to 204921e Compare June 5, 2024 09:40
@vvrossem vvrossem force-pushed the 17.0-mig-mail_activity_done branch from 204921e to 9a7adbd Compare June 5, 2024 09:46
From [[15.0][FIX] mail_activity_done: Remove broken and apparently unused js file OCA#994](OCA#994)
@vvrossem
Copy link
Contributor Author

vvrossem commented Jun 5, 2024

Supersedes #1346

@@ -16,7 +16,7 @@ class MailActivity(models.Model):
compute="_compute_state",
search="_search_state",
)
date_done = fields.Date("Completed Date", index="btree", readonly=True)
date_done = fields.Date("Completed Date", index="btree")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you removing readonly=True here and add it to the view?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From the Migration to version 17.0 guidelines:

If a field is marked as readonly=True on the model, it won't be possible to import it through the Odoo import tool, so avoid it as possible and define the readonly attribute on the views instead.

@StefanRijnhart
Copy link
Member

/ocabot migration mail_activity_done

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jun 21, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 21, 2024
30 tasks
Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

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

Looking good! Code review and some functional testing.

@yankinmax
Copy link
Contributor

@vvrossem thanks for the fixes porting!

@hbrunn
Copy link
Member

hbrunn commented Jul 22, 2024

/ocabot merge nobump

1 similar comment
@hbrunn
Copy link
Member

hbrunn commented Jul 22, 2024

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-1387-by-hbrunn-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jul 22, 2024
Signed-off-by hbrunn
@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1387-by-hbrunn-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a320ba4 into OCA:17.0 Jul 22, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.