diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-17 15:58:43 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-17 15:58:43 +0700 |
| commit | fa1f56ebf9a00221477ec782e68db5009ba60f82 (patch) | |
| tree | 4098bb12f75a05ba0efa20e62b46be1b0700f60b | |
| parent | 53a313d291039c88476bedfb226d672ebb81e25b (diff) | |
modify function check_qty_apo
| -rw-r--r-- | indoteknik_custom/models/automatic_purchase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py index a5c1041a..4ea43a23 100644 --- a/indoteknik_custom/models/automatic_purchase.py +++ b/indoteknik_custom/models/automatic_purchase.py @@ -178,7 +178,7 @@ class AutomaticPurchase(models.Model): id_po = [] if qty_pj > qty_outgoing_pj: id_po.append(po.name) - raise UserError('Qty yang anda beli lebih dari qty outgoing. %s' %po) + raise UserError('Qty yang anda beli lebih dari qty outgoing. %s' %id_po) def create_po_by_vendor(self, vendor_id): current_time = datetime.now() |
