summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-15 15:03:42 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-15 15:03:42 +0700
commite4ec9406cd0903db59cfed34781da55a2dba4ca3 (patch)
treeb7016f508c4c84e71fa4d13a02ba96fe9413b900 /indoteknik_custom/models/account_move.py
parent4aa7c5af3bd15ca382fe72fbfea416c169d58ebf (diff)
<iman> update code
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
-rw-r--r--indoteknik_custom/models/account_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 2810c594..66726c8d 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -339,7 +339,7 @@ class AccountMove(models.Model):
invalid_invoices = self - invoices
if invalid_invoices:
invalid_ids = ", ".join(str(inv.id) for inv in invalid_invoices)
- raise UserError(_(
+ raise UserError((
"Faktur dengan ID berikut tidak valid untuk diekspor: {}.\n"
"Pastikan faktur dalam status 'posted', belum diekspor, dan merupakan 'out_invoice'.".format(invalid_ids)
))