Bump module version to 2.4.0

- Update module version from 2.3.0 to 2.4.0
- Add comprehensive changelog for version 2.4.0
- Document template management system features
- Document minor version system implementation
- Document bug fixes and technical improvements
- Document template updates and maintenance manual
This commit is contained in:
Frank Cools 2025-10-08 01:41:15 +02:00
parent fc6e2f6f6a
commit 1fe5791e99
2 changed files with 30 additions and 2 deletions

View File

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

View File

@ -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';