Removed commit after creating custom gst fields
This commit is contained in:
parent
b9d158076e
commit
cfb9310d13
@ -54,8 +54,6 @@ def create_hsn_codes(data, code_field):
|
|||||||
hsn_code.name = d[code_field]
|
hsn_code.name = d[code_field]
|
||||||
hsn_code.db_insert()
|
hsn_code.db_insert()
|
||||||
|
|
||||||
frappe.db.commit()
|
|
||||||
|
|
||||||
def add_custom_roles_for_reports():
|
def add_custom_roles_for_reports():
|
||||||
for report_name in ('GST Sales Register', 'GST Purchase Register',
|
for report_name in ('GST Sales Register', 'GST Purchase Register',
|
||||||
'GST Itemised Sales Register', 'GST Itemised Purchase Register'):
|
'GST Itemised Sales Register', 'GST Itemised Purchase Register'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user