Skip to content

Commit

Permalink
fix: do not recompute taxes
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Nov 20, 2024
1 parent 487b4ec commit b75fb36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions india_compliance/gst_india/utils/ve_purchase_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def update_taxes(doc, data):
"description": "Cash Discount",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"rate": 1.5,
"account_head": "Cash Discount Received - VE",
},
Expand All @@ -85,7 +84,6 @@ def update_taxes(doc, data):
"description": "CGST",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"rate": 9,
"account_head": "Input Tax CGST - VE",
"row_id": 1,
Expand All @@ -98,7 +96,6 @@ def update_taxes(doc, data):
"description": "SGST",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"rate": 9,
"account_head": "Input Tax SGST - VE",
"row_id": 1,
Expand All @@ -112,7 +109,6 @@ def update_taxes(doc, data):
"description": "TCS",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"tax_amount": abs(data.tds_amount) if abs(data.tds_amount) > 1 else 0,
"account_head": "TCS On Purchase AY 25-26 - VE",
},
Expand Down
5 changes: 0 additions & 5 deletions india_compliance/gst_india/utils/ve_sales_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def update_taxes(doc, data):
"description": "Scheme Discount",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"tax_amount": data.scheme_discount,
"account_head": "Scheme Discount - VE",
},
Expand All @@ -151,7 +150,6 @@ def update_taxes(doc, data):
"description": "Cash Discount",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"tax_amount": data.cash_discount,
"account_head": "Cash Discount - VE",
},
Expand All @@ -163,7 +161,6 @@ def update_taxes(doc, data):
"description": "CGST",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 2,
"rate": 9,
"account_head": "Output Tax CGST - VE",
"row_id": 2,
Expand All @@ -176,7 +173,6 @@ def update_taxes(doc, data):
"description": "SGST",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"rate": 9,
"account_head": "Output Tax SGST - VE",
"row_id": 2,
Expand Down Expand Up @@ -283,7 +279,6 @@ def update_round_off(doc, data):
"description": "Rounded Off",
"cost_center": "Main - VE",
"included_in_print_rate": 0,
"dont_recompute_tax": 1,
"tax_amount": diff,
},
)
Expand Down

0 comments on commit b75fb36

Please sign in to comment.