fix: Remove print and add Cess account

This commit is contained in:
Deepesh Garg
2020-07-24 14:08:05 +05:30
parent 9067adf141
commit d9aa115aaf
2 changed files with 5 additions and 1 deletions

View File

@@ -307,7 +307,6 @@ class GSTR3BReport(Document):
inter_state_supply_details = {}
for d in inter_state_supply_tax:
print(d)
inter_state_supply_tax_mapping.setdefault(cstr(d.name), {
'place_of_supply': d.place_of_supply,
'taxable_value': d.net_total,

View File

@@ -387,6 +387,10 @@ def make_company():
def set_account_heads():
from erpnext.accounts.doctype.account.test_account import create_account
create_account(account_name="Cess", parent_account = "Duties and Taxes - _GST", company="_Test Company GST")
gst_settings = frappe.get_doc("GST Settings")
gst_account = frappe.get_all(
@@ -400,6 +404,7 @@ def set_account_heads():
"cgst_account": "CGST - _GST",
"sgst_account": "SGST - _GST",
"igst_account": "IGST - _GST",
"cess_account": "Cess - _GST"
})
gst_settings.save()