mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -74,13 +74,9 @@ def validate_company(company):
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
<<<<<<< HEAD
|
|
||||||
def import_coa(file_name, company):
|
def import_coa(file_name, company):
|
||||||
=======
|
|
||||||
def import_coa(file_name: str, company: str):
|
|
||||||
frappe.only_for("Accounts Manager")
|
frappe.only_for("Accounts Manager")
|
||||||
|
|
||||||
>>>>>>> 8c1a1aafe6 (fix(coa_importer): allow importing COA through `import_coa` only for `Accounts Manager` (#56132))
|
|
||||||
# delete existing data for accounts
|
# delete existing data for accounts
|
||||||
frappe.has_permission("Company", "write", company, throw=True)
|
frappe.has_permission("Company", "write", company, throw=True)
|
||||||
unset_existing_data(company)
|
unset_existing_data(company)
|
||||||
|
|||||||
Reference in New Issue
Block a user