diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-08-16 04:51:14 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-08-16 04:51:14 +0000 |
| commit | a73c0825a264fc002e7496b07f238f79efd93086 (patch) | |
| tree | 04b170cc3860f82d936b5dcb83451b963c524f95 /indoteknik_custom/models/purchase_order.py | |
| parent | 3a954e59343d2d3a3df5436297f7007008ae62e8 (diff) | |
| parent | 021f7ccc9f7b026e330352d34e695993116bdd99 (diff) | |
Merged in production (pull request #98)
Production
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index d73f9037..9e851ef9 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -196,7 +196,7 @@ class PurchaseOrder(models.Model): for line in self.order_line: if not line.product_id.purchase_ok: raise UserError("Terdapat barang yang tidak bisa diproses") - if line.price_vendor != 0 and line.price_unit != line.price_vendor: + if line.price_unit != line.price_vendor: send_email = True break |
