diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-03-07 10:13:42 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-03-07 10:13:42 +0700 |
| commit | ff474f82cd53d2fd6443fb38018e698186c1123e (patch) | |
| tree | 921b2aed06d1f9387ead24142fc29175c801afbe | |
| parent | 1d61c5c2f29270d2d1e9c84e887e9c94416d9027 (diff) | |
<Miqdad> add iqmal sulis in CB
| -rw-r--r-- | indoteknik_custom/models/commision.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/commision.py b/indoteknik_custom/models/commision.py index 983c07fe..afd36bc7 100644 --- a/indoteknik_custom/models/commision.py +++ b/indoteknik_custom/models/commision.py @@ -443,7 +443,7 @@ class CustomerCommision(models.Model): self.approved_by = (self.approved_by + ', ' if self.approved_by else '') + self.env.user.name self.date_approved_pimpinan = now_naive self.position_pimpinan = 'Pimpinan' - elif self.status == 'pengajuan4' and (self.env.user.id == 1272 or self.env.user.has_group('indoteknik_custom.group_role_it')): + elif self.status == 'pengajuan4' and (self.env.user.id in [1272,14075,571] or self.env.user.has_group('indoteknik_custom.group_role_it')): for line in self.commision_lines: line.invoice_id.is_customer_commision = True if self.commision_type == 'fee': |
