Line 181:
Line 181:
* Type of fields:
* Type of fields:
−
Well, to be compatible with any accuracy required by any country on amounts, and with any database syntax, we will use the following type into database:
+
Well, to be compatible with any accuracy required by any country on amounts, to be compatible with any database syntax and with the Dolibarr upgrade framework, we will use the following types for database fields:
+
- integer for an any of foreign key
- integer for an any of foreign key
- double(24,8) for any amount
- double(24,8) for any amount