Skip to content

Commit

Permalink
Merge pull request #1937 from Sanket322/validate_tax_rates
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora authored Mar 29, 2024
2 parents 6bd133a + ab191b1 commit 8b8ea42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion india_compliance/gst_india/overrides/item_tax_template.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import frappe
from frappe import _
from frappe.utils import rounded
from frappe.utils import flt, rounded

from india_compliance.gst_india.overrides.transaction import get_valid_accounts


def validate(doc, method=None):
doc.gst_rate = flt(doc.gst_rate)
validate_zero_tax_options(doc)
validate_tax_rates(doc)

Expand Down

0 comments on commit 8b8ea42

Please sign in to comment.