diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-26 16:56:13 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-26 16:56:13 +0700 |
| commit | f714a29bc051d029d5ac34f46c3cabfcb64478e0 (patch) | |
| tree | 59413e03a4b53851b31b70672e073dceff6598db | |
| parent | 3de421c1b8b21c56399c46f85c9d395023c68617 (diff) | |
<Miqdad> add p stephan
| -rw-r--r-- | indoteknik_custom/models/refund_sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py index 820a58f7..de9870f6 100644 --- a/indoteknik_custom/models/refund_sale_order.py +++ b/indoteknik_custom/models/refund_sale_order.py @@ -954,7 +954,7 @@ class RefundSaleOrder(models.Model): if not rec.status or rec.status == 'draft': rec.status = 'pengajuan1' - elif rec.status == 'pengajuan1' and self.env.user.id == 19: + elif rec.status == 'pengajuan1' and self.env.user.id in [19, 28]: rec.status = 'pengajuan2' rec.approved_by = f"{rec.approved_by}, {user_name}" if rec.approved_by else user_name rec.date_approved_sales = now |
