Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed May 2, 2022
1 parent bada35e commit f5c8f75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ def read_json(name):

def get_transaction_details(invoice):
supply_type = ""
if invoice.gst_category == "Registered Regular" or invoice.gst_category == "Registered Composition":
if (
invoice.gst_category == "Registered Regular" or invoice.gst_category == "Registered Composition"
):
supply_type = "B2B"
elif invoice.gst_category == "SEZ":
supply_type = "SEZWOP"
Expand Down

0 comments on commit f5c8f75

Please sign in to comment.