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

[18.0][MIG] mail_thread_create_nolog: Migration to 18.0 #1481

Open
wants to merge 9 commits into
base: 18.0
Choose a base branch
from

Conversation

chaule97
Copy link

  • in odoo 14, message_fetch return list of dictionaries of mail.message, while in odoo 18 _message_fetch returns mail.message model, and the store will check if messages is still of the mail.message model. This makes it difficult for me to override it.
  • My ideas is to write method to create message, and then override method mail_thread_messages in controller thread to get fake message
  • I write "type": "partner" because after this commit, it returns default avatar unless type is provided
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants