diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-08-18 11:48:41 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-08-18 11:48:41 +0700 |
| commit | 141fcfd3e70042a0fd8bb8f6bede05dc0317d9f6 (patch) | |
| tree | a8d0f764f2e09b6d7023bffd160ad76608f4ad05 | |
| parent | f5d1be2daf60165d654bf4c32c1fa91ab53a70c9 (diff) | |
remove return warning
| -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): |
