summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-01-01 00:12:46 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-01-01 00:12:46 +0700
commitf85c9d531f448632986c441f2c36a6163a158589 (patch)
tree9850442d6d062453df9395a0e9b835d37744441d
parent6f06d11e58c137215046ff0e2d09e5fbb60e7912 (diff)
<Miqdad> temp disable action create order altama
-rw-r--r--fixco_custom/models/purchase_order.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixco_custom/models/purchase_order.py b/fixco_custom/models/purchase_order.py
index 5a9cf7c..fdf775a 100644
--- a/fixco_custom/models/purchase_order.py
+++ b/fixco_custom/models/purchase_order.py
@@ -353,8 +353,8 @@ class PurchaseOrder(models.Model):
# if self.source == 'manual' and self.env.user.id not in [12, 10, 2, 15]:
# 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()
+ # if self.partner_id.id == 270:
+ # self.action_create_order_altama()
return res