summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-15 16:20:11 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-15 16:20:11 +0700
commit26688e4143d28f6a03eaf3f860ab25142ea7ca23 (patch)
treefaf83aa1301c3b2437874ea6020040f078a4535c /indoteknik_custom/models/account_move.py
parentb764acbc595dd68fe1aeeda3f8f92977d0f6d4bc (diff)
parente4ec9406cd0903db59cfed34781da55a2dba4ca3 (diff)
Merge branch 'odoo-production' of bitbucket.org:altafixco/indoteknik-addons into odoo-production
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)
))