From 141fcfd3e70042a0fd8bb8f6bede05dc0317d9f6 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 18 Aug 2022 11:48:41 +0700 Subject: remove return warning --- indoteknik_custom/models/sale_order.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 7ffd5179..d0a4752b 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -85,10 +85,7 @@ class SaleOrder(models.Model): self.with_context(context)._action_confirm() if self.env.user.has_group('sale.group_auto_done_setting'): self.action_done() - # return True - return { - 'warning': {'title': "Warning", 'message': 'ABCDEF', 'type': 'notification'}, - } + return True class SaleOrderLine(models.Model): -- cgit v1.2.3