summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-04-17 11:16:56 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-04-17 11:16:56 +0700
commitb2eac5b0791deb0dcb54b3da903e481cf06dfccf (patch)
tree85d5e2a5ff96b2f800225a8ac8d398e919d03b56
parent5c69c098c0922c3a35203b826b4498fb19e96084 (diff)
deactivate function check_qty_apo
-rw-r--r--indoteknik_custom/models/automatic_purchase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py
index d3158182..af90615a 100644
--- a/indoteknik_custom/models/automatic_purchase.py
+++ b/indoteknik_custom/models/automatic_purchase.py
@@ -180,8 +180,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