5.1_Accounting configuration_Account chart not loading

Dear All,
After install I’m trying to configure my company account.
When trying to select account chart to configure account nothing appears.
When trying to search account chart does not show anything.


If I compare with demo loaded values, search window load account chart, when account selected pencil for modification.
Thanks in advance for your support
Regards
Eric

Hello,
Same problem on Axelor 5.1.1 Windows 7.
I also receive the message: “Error in account chart import please check the log”
If it’s useful this is the log from tomcat8-stdout:

2019-03-12 18:39:06.630 INFO 32956 — [nio-8080-exec-1] com.axelor.data.csv.CSVImporter : Importing com.axelor.apps.account.db.TaxEquiv from account_taxEquiv.csv
2019-03-12 18:39:06.630 DEBUG 32956 — [nio-8080-exec-1] com.axelor.data.csv.CSVImporter : Header [fiscalPosition_code, fromTax_code, toTax_code]
2019-03-12 18:39:06.723 INFO 32956 — [nio-8080-exec-1] com.axelor.data.csv.CSVImporter : Importing com.axelor.apps.account.db.TaxAccount from account_taxAccount.csv
2019-03-12 18:39:06.786 ERROR 32956 — [nio-8080-exec-1] com.axelor.data.csv.CSVImporter : Error while importing C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp\1552408723370-0\PCG_fr-20190312\account_taxAccount.csv.
2019-03-12 18:39:06.786 ERROR 32956 — [nio-8080-exec-1] com.axelor.data.csv.CSVImporter : No such class found com.axelor.apps.account.db.TaxAccount.

Best regards

Hi. May I know, did you manage to solve this issue. Or if anybody can help, I’m facing the same problem now.

thanks in advance

I manual imported the accounts csv files.
1)You can use this ‘manual chart-config.xml’
I suppose your company Id is 1 otherwise you must replace 1 with your company Id

<?xml version="1.0" encoding="UTF-8"?>
<csv-inputs xmlns="http://axelor.com/xml/ns/data-import"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/data-import http://axelor.com/xml/ns/data-import/data-import_5.0.xsd">
  	<input file="account_accountType.csv" separator=";" type="com.axelor.apps.account.db.AccountType" search="self.name = :name"/>
  	
	<input file="account_account.csv" separator=";" type="com.axelor.apps.account.db.Account" >
		<bind to="company" search="self.id = 1" update="true" />
	</input>
		 	
  	<input file="account_account.csv" separator=";" type="com.axelor.apps.account.db.Account"  search="self.code = :code AND self.company.id = 1 " update="true">
		<bind to="parentAccount" search="self.code = :parent_code AND self.company.id = 1" update="true" />
	</input>
</csv-inputs>

2)You go to where you have the source files or you can go to github axelor to find the files
for me was C:\Users\Admin\axelor-source\axelor-erp\modules\abs\axelor-account\src\main\resources\demo\en
en for english or fr for france

and you put next files to a zip archive:
account_account.csv
account_accountType.csv
account_tax.csv
account_taxAccount.csv
account_taxLine.csv

3)You go to Application Config> Technical maintenance> Imports
You add a New import.
You give it a Name, to Binding file you attach the ‘manual chart-config.xml’, to Data file you attach the zip file and click Importer

This worked for me
Good luck

1 « J'aime »

thanks … will try it