Removed commit after creating custom gst fields

This commit is contained in:
Nabin Hait 2017-09-11 15:00:16 +05:30 committed by GitHub
parent b9d158076e
commit cfb9310d13

View File

@ -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'):