summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-24 13:33:07 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-24 13:33:07 +0700
commitbdf6d7dbd8850d525809726036c6783b9113028f (patch)
tree1d023c03d348cda14474d71299db0dbd753e3e56
parent58edcbea5382d24bd18f9bb0e3ed930e7b28214f (diff)
(andri) fix raise ppn notif
-rwxr-xr-xindoteknik_custom/models/purchase_order.py2
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