Skip to content

Commit

Permalink
Merge pull request #2013 from resilient-tech/mergify/bp/version-14-ho…
Browse files Browse the repository at this point in the history
…tfix/pr-1966

fix: group tax values and amounts for invoice print formats (backport #1966)
  • Loading branch information
mergify[bot] authored Apr 10, 2024
2 parents 6229c4c + 90e7bdd commit bc52e21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 0 additions & 3 deletions india_compliance/gst_india/overrides/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1433,9 +1433,6 @@ def before_print(doc, method=None, print_settings=None):
):
return

if doc.get("group_same_items"):
ItemGSTDetails().update(doc)

set_gst_breakup(doc)


Expand Down
9 changes: 9 additions & 0 deletions india_compliance/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,15 @@
}
}

fields_for_group_similar_items = [
"taxable_value",
"cgst_amount",
"sgst_amount",
"igst_amount",
"cess_amount",
"cess_non_advol_amount",
]


# Includes in <head>
# ------------------
Expand Down
2 changes: 1 addition & 1 deletion india_compliance/patches/check_version_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"app_name": "ERPNext",
"current_version": version.parse(erpnext.__version__),
"required_versions": {"version-14": "14.64.0", "version-15": "15.15.0"},
"required_versions": {"version-14": "14.66.5", "version-15": "15.19.3"},
},
]

Expand Down

0 comments on commit bc52e21

Please sign in to comment.