diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-15 10:46:59 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-15 10:46:59 +0700 |
| commit | 2d9e14836b965975ea913cda4773ac550a162b9c (patch) | |
| tree | 2f0ad0056617a4eeebe91eae198c10a46e1cde95 | |
| parent | 300b68ec510194e5d73abcfc775c3cca945d3718 (diff) | |
bug apo
| -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 |
