mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Merge pull request #515 from Tecnativa/10.0-fix_non_existent_field
[FIX] typo: field type is incorrect
This commit is contained in:
@@ -170,7 +170,7 @@ class CreditCommunication(models.TransientModel):
|
||||
for comm in self:
|
||||
template = comm.current_policy_level.email_template_id
|
||||
email_values = template.generate_email(comm.id)
|
||||
email_values['type'] = 'email'
|
||||
email_values['message_type'] = 'email'
|
||||
# model is Transient record (self) removed periodically so no point
|
||||
# of storing res_id
|
||||
email_values.pop('model', None)
|
||||
|
||||
Reference in New Issue
Block a user