Skip to content

Commit

Permalink
fix: group tax values and amounts for invoice print formats
Browse files Browse the repository at this point in the history
(cherry picked from commit e78d3cf)
  • Loading branch information
vorasmit authored and mergify[bot] committed Apr 10, 2024
1 parent 6229c4c commit a9043a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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

0 comments on commit a9043a4

Please sign in to comment.