-
-
Notifications
You must be signed in to change notification settings - Fork 105
[19.0][MIG] mail_message_search: Migration to 19.0 #88
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
base: 19.0
Are you sure you want to change the base?
[19.0][MIG] mail_message_search: Migration to 19.0 #88
Conversation
yostashiro
left a comment
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.
Would you consider including this commit? OCA/social@6f374ca
| _inherit = "mail.message" | ||
|
|
||
| # Inherit field for update the store parameter. | ||
| record_name = fields.Char(store=True) |
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.
IMO, we can drop the search on record_name as subject likely already includes that content in most cases.
ef77e7c to
bc06ea7
Compare
yostashiro
left a comment
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.
Code review. LGTM.
Would you consider including this commit? OCA/social@6f374ca
@bizzappdev In case you've missed this.
AungKoKoLin1997
left a comment
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.
Functional Review: LGTM
bc06ea7 to
a1f0960
Compare
|
This PR has the |
yostashiro
left a comment
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.
LGTM. Thanks!
|
@bizzappdev Can you please include this fix in your PR? |
Currently translated at 100.0% (3 of 3 strings) Translation: social-16.0/social-16.0-mail_message_search Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_message_search/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: mail-18.0/mail-18.0-mail_message_search Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_message_search/
Co-authored-by: Florent de Labarre <florent.mirieu@gmail.com>
a1f0960 to
f625648
Compare
AungKoKoLin1997
left a comment
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.
LGTM
As in Odoo, the record_name field is not a stored field anymore. We have added stored true for the record_name field. TBD: Should we remove the search functionality for record_name? Or have it stored=True, in this case, we should already include the migration script and the init hook, in case we are considering record_name as a searchable field.