Volunteering to develop Brazilian chart of accounts

Hi,

I just started using Dolibarr to help manage a small family business me and my wife own, and realized that there is no Brazilian chart of accounts in Dolibarr. Since I’ll be implementing it for my own business, I thought that maybe the project could benefit from adding it as new feature for other users a well.

I have gone to the Github project page, and did a little research that, from what I understood, showed me that to have this implements in Dolibarr itself one only needs to update two SQL files. I have some familiarity with SQL and programming in general, little experience with contributing to open source projects, so I’d like to ask a few questions first.

First is, is my understanding on how to implement this new chart of accounts correct (submitting changes to these SQL files)? Also, since this would be a bigger effort on my side, I’d like to check if this is a desired feature before going through the effort of submitting a PR in regards to this.

I kindly appreciate people’s attention to my question, regards,

André.

1 Like

Welcome on board :slight_smile:

I am sure it will be a welcome feature since it does not seem to be something that Dolibarr already have for Brazil.

I have not implemented a chart of accounts for my country, it was there already, but I have made other Pull Requests with Dolibarr contributions. I find the process very friendly, though it can at times be a little slow since Eldy is quite busy.

When I make my changes, I usually find some similar file or function that I can work from and then modify that. In the top where there are the Copyright lines, I usually write 1. entry that I copied it from this and this file, and the 2. entry is my name if it is a larger change.

When it comes to your implementation I would perhaps consider adding a comment line inside the file with a link to the source of the recommended chart of accounts, and if not there I would at least put it in the Pull Request. Perhaps even both places. The goal is to make it easy for the reviewer or any one who later looks at it to quickly determine where you found the charts, and that it is not just something you made up. This could potentially also be used to track changes in the source chart of accounts due to new local law changes.