diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-01 00:01:08 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-01 00:01:08 +0700 |
| commit | 6f06d11e58c137215046ff0e2d09e5fbb60e7912 (patch) | |
| tree | 4edb506105c9684d3a4f03de87c6900e069c1b44 | |
| parent | 9f9d726582632b2bab3835345e87703db23c6582 (diff) | |
<Miqdad> update
| -rw-r--r-- | fixco_custom/models/purchase_order.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fixco_custom/models/purchase_order.py b/fixco_custom/models/purchase_order.py index 4c38d62..5a9cf7c 100644 --- a/fixco_custom/models/purchase_order.py +++ b/fixco_custom/models/purchase_order.py @@ -351,8 +351,7 @@ class PurchaseOrder(models.Model): # if self.env.user.id not in [12, 10, 2, 15]: # self.check_buffer_stock() # if self.source == 'manual' and self.env.user.id not in [12, 10, 2, 15]: - if self.source == 'manual': - raise UserError(_("Anda tidak memiliki akses untuk melakukan konfirmasi PO manual")) + # raise UserError(_("Anda tidak memiliki akses untuk melakukan konfirmasi PO manual")) res = super(PurchaseOrder, self).button_confirm() if self.partner_id.id == 270: self.action_create_order_altama() |
