From 98f8e7d9c548dccf519f0ac53143b61f2151eb9b Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 23 Aug 2023 10:12:02 +0700 Subject: Fix auto refresh sale order on set due --- indoteknik_custom/models/sale_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index ca98cde4..eb07959e 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -342,7 +342,7 @@ class SaleOrder(models.Model): return { 'type': 'ir.actions.client', 'tag': 'display_notification', - 'params': { 'title': title, 'message': message } + 'params': { 'title': title, 'message': message, 'next': {'type': 'ir.actions.act_window_close'} }, } def _set_sppkp_npwp_contact(self): -- cgit v1.2.3