Skip to content

Commit

Permalink
[FIX] l10n_it_fatturapa_pec: Remove extra fields from message
Browse files Browse the repository at this point in the history
`message_dict` contains values used to track the message, but we use it to create a `mail.message` so the extra values have to be removed because they are not fields of `mail.message`.
  • Loading branch information
SirAionTech committed Dec 13, 2024
1 parent 7b3db28 commit 4fb4219
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l10n_it_fatturapa_pec/models/mail_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def clean_message_dict(self, message_dict):
del message_dict["bounced_partner"]
del message_dict["bounced_msg_id"]
del message_dict["bounced_message"]
del message_dict["x_odoo_message_id"]

@api.model
def message_route(
Expand Down

0 comments on commit 4fb4219

Please sign in to comment.