mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: Remove print and add Cess account
This commit is contained in:
@@ -307,7 +307,6 @@ class GSTR3BReport(Document):
|
|||||||
inter_state_supply_details = {}
|
inter_state_supply_details = {}
|
||||||
|
|
||||||
for d in inter_state_supply_tax:
|
for d in inter_state_supply_tax:
|
||||||
print(d)
|
|
||||||
inter_state_supply_tax_mapping.setdefault(cstr(d.name), {
|
inter_state_supply_tax_mapping.setdefault(cstr(d.name), {
|
||||||
'place_of_supply': d.place_of_supply,
|
'place_of_supply': d.place_of_supply,
|
||||||
'taxable_value': d.net_total,
|
'taxable_value': d.net_total,
|
||||||
|
|||||||
@@ -387,6 +387,10 @@ def make_company():
|
|||||||
|
|
||||||
def set_account_heads():
|
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_settings = frappe.get_doc("GST Settings")
|
||||||
|
|
||||||
gst_account = frappe.get_all(
|
gst_account = frappe.get_all(
|
||||||
@@ -400,6 +404,7 @@ def set_account_heads():
|
|||||||
"cgst_account": "CGST - _GST",
|
"cgst_account": "CGST - _GST",
|
||||||
"sgst_account": "SGST - _GST",
|
"sgst_account": "SGST - _GST",
|
||||||
"igst_account": "IGST - _GST",
|
"igst_account": "IGST - _GST",
|
||||||
|
"cess_account": "Cess - _GST"
|
||||||
})
|
})
|
||||||
|
|
||||||
gst_settings.save()
|
gst_settings.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user