Skip to content

Commit

Permalink
fix: correct indentention for showing invalid item tax template message
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Jul 8, 2024
1 parent 41b349a commit 2f6a2f9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions india_compliance/gst_india/overrides/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,13 @@ def validate_missing_accounts_in_item_tax_template(self):
if account in row.item_tax_rate:
continue

frappe.msgprint(
_(
"Item Row #{0}: GST Account {1} is missing in Item Tax Template {2}"
).format(row.idx, bold(account), bold(row.item_tax_template)),
title=_("Invalid Item Tax Template"),
indicator="orange",
)
frappe.msgprint(
_(
"Item Row #{0}: GST Account {1} is missing in Item Tax Template {2}"
).format(row.idx, bold(account), bold(row.item_tax_template)),
title=_("Invalid Item Tax Template"),
indicator="orange",
)

def _get_matched_idx(self, rows_to_search, tax_types):
return next(
Expand Down

0 comments on commit 2f6a2f9

Please sign in to comment.