diff options
| -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 |
