diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-07-24 13:33:07 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-07-24 13:33:07 +0700 |
| commit | bdf6d7dbd8850d525809726036c6783b9113028f (patch) | |
| tree | 1d023c03d348cda14474d71299db0dbd753e3e56 | |
| parent | 58edcbea5382d24bd18f9bb0e3ed930e7b28214f (diff) | |
(andri) fix raise ppn notif
| -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 5b9e1acb..a46c51d1 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -1043,7 +1043,7 @@ class PurchaseOrder(models.Model): for line in self.order_line: if line.taxes_id != reference_taxes: - raise UserError("PPN harus sama untuk semua baris pada line.") + raise UserError(f"PPN harus sama untuk semua baris pada line {line.product_id.name}") def check_data_vendor(self): vendor = self.partner_id |
