diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-14 17:01:38 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-14 17:01:38 +0700 |
| commit | 6b253ed4dc5346ee8f5cefed035ab8a2d02e90ac (patch) | |
| tree | 317a97be65f24f041df1e1a9a84f926a3858930a | |
| parent | f1bf6c4cfa31446a15e5678a80c023cadba64f86 (diff) | |
<Miqdad> BD iu approval fix
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 7c4cea8b..f69e5fa9 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -1603,7 +1603,7 @@ class StockPicking(models.Model): self.tukar_guling_po_id.update_doc_state() user = self.env.user - if not user.has_group('indoteknik_custom.group_role_logistic'): + if not user.has_group('indoteknik_custom.group_role_logistic') and 'BU/IU' in self.name: raise UserWarning('Validate hnaya bisa di lakukan oleh logistik') return res |
