diff --git a/ChangeLog.md b/ChangeLog.md index 853012c..aca8708 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,34 @@ # CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) -## 2.2.0 +## 2.4.0 + +### New Features +- **Template Management System**: Complete online template management with Gitea integration +- **Minor Version System**: Major.minor versioning for template updates (30.1, 30.2, etc.) +- **Automatic Updates**: Other installations can automatically update templates +- **Template Reset**: "REVENIR AU MODELE OFFICIEL" functionality for template management +- **Configuration Tabs**: Separated PCG mapping and template management into distinct tabs + +### Technical Improvements +- **Gitea Integration**: Online template distribution and version checking +- **Template Path Resolution**: Fixed template loading for PDF generation +- **Action Handling**: Improved template action processing outside tab logic +- **Version Management**: Comprehensive template versioning system +- **Fallback System**: Robust offline/online template management + +### Bug Fixes +- **Template Recognition**: Fixed official template recognition for PDF generation +- **Path Resolution**: Corrected template path calculation for different directory structures +- **Action Processing**: Fixed template reset and update actions +- **PDF Generation**: Resolved missing CA-3 pages in PDF output +- **Template Loading**: Fixed template file detection and loading + +### Template Updates +- **Version 30.2**: Updated official CA-3 template with corrected field positioning +- **Template Maintenance**: Added comprehensive maintenance manual +- **Version Control**: Implemented minor version system for template fixes + +## 2.3.0 ### New Features - **Declaration Validation**: Complete validation workflow with confirmation dialogs diff --git a/core/modules/modDeclarationTVA.class.php b/core/modules/modDeclarationTVA.class.php index 6f6ae98..8469893 100644 --- a/core/modules/modDeclarationTVA.class.php +++ b/core/modules/modDeclarationTVA.class.php @@ -76,7 +76,7 @@ class modDeclarationTVA extends DolibarrModules $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@declarationtva' // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z' - $this->version = '2.3.0'; + $this->version = '2.4.0'; // Url to the file with your last numberversion of this module //$this->url_last_version = 'http://www.example.com/versionmodule.txt';