Module development: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 81: Line 81:
If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data.
If your module is designed to manage data of its own, which are not available in the standard version of Dolibarr, it is necessary to define SQL tables to store the data.


Scripts for creating tables and load data by your own module are saved into a subdirectory called '''"/mymodule/sql"'''.  
Scripts for creating tables and loading data by your own module are saved into a subdirectory called '''"/mymodule/sql"'''.  


Then check into your descriptor file, into function '''init''' that the line
Then check into your descriptor file, into function '''init''' that the line