diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-30 10:09:00 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-30 10:09:00 +0700 |
| commit | 099bec753a310ec83ea3562a78c304dffb6d50d8 (patch) | |
| tree | 5e5e76c032c199a79a0d191699ea6a00725ea029 /indoteknik_custom/models/sale_order.py | |
| parent | b35a287e6c431375458d47407f28ccb3978d0194 (diff) | |
mark partial delivery and delivery status
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -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 7b60863e..494aeaa2 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2720,7 +2720,7 @@ class SaleOrder(models.Model): raise UserError("Yahaha gabisa confirm so, minta ke sales nya ajah") if self.env.context.get("ask_approval") and user.id in (3401, 20, 3988): - raise UserError("Yahaha gabisa confirm so, minta ke sales nya ajah") + return True salesperson_id = self.user_id.id approver_id = user.id |
