mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 15:32:27 +00:00
[minor] cleanup
This commit is contained in:
@@ -316,6 +316,8 @@ def setup_account():
|
||||
doc.parent_account = frappe.db.get_value('Account', {'account_name': doc.parent_account})
|
||||
doc.insert()
|
||||
|
||||
frappe.flags.in_import = False
|
||||
|
||||
def setup_account_to_expense_type():
|
||||
company_abbr = frappe.db.get_value("Company", erpnext.get_default_company(), "abbr")
|
||||
expense_types = [{'name': _('Calls'), "account": "Sales Expenses - "+ company_abbr},
|
||||
@@ -380,4 +382,6 @@ def import_json(doctype, submit=False, values=None):
|
||||
|
||||
frappe.db.commit()
|
||||
|
||||
frappe.flags.in_import = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user