diff --git a/concurrency_warning/models/models.py b/concurrency_warning/models/models.py index 2446920..3252c4f 100644 --- a/concurrency_warning/models/models.py +++ b/concurrency_warning/models/models.py @@ -17,6 +17,10 @@ def _run_action_poke_multi(self, eval_context=None): if not records: return False + for record in records: + if not record.id: + return False + self.env["bus.bus"]._sendone( "broadcast", "poke",