summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-24 17:35:50 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-24 17:35:50 +0700
commit7b6feef2cf80a3c6e2f4ed8e1a68c81170df72eb (patch)
tree9717b2e9019a184249500f4c3c4c3c03c0b574d9 /indoteknik_custom/models/purchase_order.py
parentb8efc85091fe0af596872bffeb3cf6c78fe2beed (diff)
parent19ac8961c8163322f759f9eb021df368a8950010 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into tukar_guling
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-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 d157dc30..45134939 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1048,7 +1048,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