mirror of
https://gitee.com/yuzelin/erpnext_china.git
synced 2026-03-02 05:14:04 +08:00
!3 update erpnext_china/chart_of_accounts/company_default/utils.py.
Merge pull request !3 from N/A
This commit is contained in:
@@ -12,6 +12,7 @@ def set_company_default(company):
|
|||||||
|
|
||||||
def set_default_accounts(company_name):
|
def set_default_accounts(company_name):
|
||||||
try:
|
try:
|
||||||
|
values = {}
|
||||||
file_path = os.path.join(os.path.dirname(__file__), 'default_accounts.csv')
|
file_path = os.path.join(os.path.dirname(__file__), 'default_accounts.csv')
|
||||||
with open(file_path, 'r', encoding='utf-8') as in_file:
|
with open(file_path, 'r', encoding='utf-8') as in_file:
|
||||||
data = list(csv.reader(in_file))
|
data = list(csv.reader(in_file))
|
||||||
|
|||||||
Reference in New Issue
Block a user