diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-08-23 10:12:02 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-08-23 10:12:02 +0700 |
| commit | 98f8e7d9c548dccf519f0ac53143b61f2151eb9b (patch) | |
| tree | dd1c755fe9e6d6846eea5b15338aa9ae732c27e7 | |
| parent | 40b3ae941bce5c822d7297c8ccfc1c752409e21c (diff) | |
Fix auto refresh sale order on set due
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
