From 391d7a3b93eff3eabee371b35ec5287e1f0afdd2 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 18 Apr 2024 14:53:16 +0700 Subject: deactivate function check_qty_apo --- indoteknik_custom/models/automatic_purchase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py index 108dcf58..32a7d9dd 100644 --- a/indoteknik_custom/models/automatic_purchase.py +++ b/indoteknik_custom/models/automatic_purchase.py @@ -183,8 +183,8 @@ class AutomaticPurchase(models.Model): def create_po_by_vendor(self, vendor_id): current_time = datetime.now() - if not self.apo_type =='reordering': - self.check_qty_po() + # if not self.apo_type =='reordering': + # self.check_qty_po() PRODUCT_PER_PO = 20 -- cgit v1.2.3