Skip to content

Commit 1eda4a9

Browse files
SirAionTechSylweKra
authored andcommitted
[FIX] l10n_it_fatturapa_pec: Remove extra fields from message
`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`.
1 parent c0be6bc commit 1eda4a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

l10n_it_fatturapa_pec/models/mail_thread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def clean_message_dict(self, message_dict):
4646
"bounced_partner",
4747
"bounced_msg_id",
4848
"bounced_message",
49+
"x_odoo_message_id",
4950
]
5051
for field in fields_to_clean:
5152
message_dict.pop(field, None)

0 commit comments

Comments
 (0)