[FIX]pms_l10n_es: force send ses communication call method

This commit is contained in:
Darío Lodeiros
2024-12-17 19:52:59 +01:00
parent f3daffc939
commit 36a78a921a

View File

@@ -101,7 +101,7 @@ class PmsSesCommunication(models.Model):
def force_send_communication(self):
for record in self:
self.env["traveller.report.wizard"].ses_send_communication(
self.env["traveller.report.wizard"].ses_send_communications(
entity=record.entity,
pms_ses_communication_id=record.id,
)