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.
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.