diff options
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 5 |
1 files changed, 1 insertions, 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): |
