-->
Welcome, Guest
Username: Password: Remember me
Check that your potential issue isn't already confirmed and fixed in the recent releases. A summary of all changes can be found in the Dolibarr Changelogs

TOPIC: Unable to add new Chart of Accounts model

Unable to add new Chart of Accounts model 3 months 3 weeks ago #37824

  • panchtatvam
  • panchtatvam's Avatar
  • OFFLINE
  • Newcomer
  • Knowledge is Power
  • Posts: 8
  • Thank you received: 2
  • Karma: 0
I want to add a new Chart of Accounts model in Accounting (double entry) module. When I try to do so by entering I get the following error

Field Code must be a numeric value.

Can't see anything of this sort in the logs though.

I'm using Dolibarr 10.0.0 version.

Screenshot_2019-07-17Dolibarr.png



Temporary fix I did
I added a Chart of Accounts model entry to the database.
  • Located the llx_accounting_system database
  • Inserted a column of desired values. To find the country code, I went to Setup -> Dictionaries -> Countries and then clicked on the edit icon for the country I want id for. The URL will show the id in rowid parameter. Country id is required for fk_country column in the table.

As per the resolution by futurehousestore , keeping the rowid blank works the best.
Screenshot_2019-07-18koshagarvyomnettechlocalhostvyapar_dolibarrvym_accounting_systemphpMyAdmin4901.png
Last Edit: 3 months 3 weeks ago by panchtatvam. Reason: added better solution after proceeding user comment
The administrator has disabled public write access.
The following user(s) said Thank You: futurehousestore, digiswiss

Unable to add new Chart of Accounts model 3 months 3 weeks ago #37826

I can confirm this BUG.
If you need to add a new Chart of Accounts you can do it manually in Data Base. Go to llx_accounting_system and for example copy the last line and rename it. Don't forget to fill in rowid and then you can edit it in Dolibarr
The administrator has disabled public write access.
The following user(s) said Thank You: panchtatvam

Unable to add new Chart of Accounts model 3 months 3 weeks ago #37829

  • ariffidaali
  • ariffidaali's Avatar
  • OFFLINE
  • Master
  • Just another Dolibarian!
  • Posts: 363
  • Thank you received: 69
  • Karma: 16
I have v10 I dont have the bug
The administrator has disabled public write access.

Unable to add new Chart of Accounts model 3 months 3 weeks ago #37835

ariffidaali the BUG is when you go to STEP 2: Create a chart of accounts from menu Setup - Chart of accounts models. Could you check it in the link /htdocs/accountancy/admin/accountmodel.php?
The administrator has disabled public write access.

Unable to add new Chart of Accounts model 3 months 8 hours ago #38151

  • digiswiss
  • digiswiss's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 1
  • Karma: 0
The bug appears to continue in version 10.0.1. Thanks for the workaround.
The administrator has disabled public write access.

Unable to add new Chart of Accounts model 2 months 4 weeks ago #38161

The bug is fixed now in version 10.0.2 which should be out soon
The administrator has disabled public write access.
Time to create page: 0.077 seconds