-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
Conversation
have been completed. fixup moment js fixup
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/
a1b6c9d
to
204921e
Compare
204921e
to
9a7adbd
Compare
9a7adbd
to
3517ac1
Compare
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
/ocabot migration mail_activity_done |
There was a problem hiding this 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.
@vvrossem thanks for the fixes porting! |
/ocabot merge nobump |
1 similar comment
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
On my way to merge this fine PR! |
Congratulations, your PR was merged at a8c4026. Thanks a lot for contributing to OCA. ❤️ |
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