fix: trigger window reload instead of closing after pushing loyalty notification

This commit is contained in:
Suherdy Yacob 2026-06-13 22:32:26 +07:00
parent d9a4b14a49
commit b38484a343

View File

@ -53,6 +53,6 @@ class PushNotificationWizard(models.TransientModel):
'message': f'Notification staged for {target_msg}.',
'type': 'success',
'sticky': False,
'next': {'type': 'ir.actions.act_window_close'},
'next': {'type': 'ir.actions.client', 'tag': 'reload'},
}
}