diff options
| -rw-r--r-- | indoteknik_custom/models/automatic_purchase.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py index fc8de27d..5d7e460b 100644 --- a/indoteknik_custom/models/automatic_purchase.py +++ b/indoteknik_custom/models/automatic_purchase.py @@ -176,8 +176,7 @@ class AutomaticPurchase(models.Model): def create_po_by_vendor(self, vendor_id): current_time = datetime.now() - if self.apo_type == 'regular': - self.check_qty_po() + self.check_qty_po() PRODUCT_PER_PO = 20 |
