diff --git a/edi_oca/models/edi_exchange_record.py b/edi_oca/models/edi_exchange_record.py index 8003c86b7..aa48c39be 100644 --- a/edi_oca/models/edi_exchange_record.py +++ b/edi_oca/models/edi_exchange_record.py @@ -386,12 +386,12 @@ def notify_action_complete(self, action, message=None): def _notify_related_record(self, message, level="info"): """Post notification on the original record.""" if not self.related_record_exists or not hasattr( - self.record, "message_post_with_view" + self.record, "message_post_with_source" ): return - self.record.message_post_with_view( + self.record.message_post_with_source( "edi_oca.message_edi_exchange_link", - values={ + render_values={ "backend": self.backend_id, "exchange_record": self, "message": message,