Version 2.6.0: Fix declaration list display and clean debug code

This commit is contained in:
Frank Cools 2025-10-08 15:20:29 +02:00
parent c08a8bb526
commit ab6dad1561
2 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,20 @@
# CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org)
## 2.6.0
### Major Improvements
- **Fixed Declaration List Display**: Declaration list now correctly shows CA-3 line values instead of main table values
- **Accurate Amount Display**: List now uses Line 32 for VAT due and Lines 26/27 for VAT refund
- **Consistent Data**: Declaration list and declaration view now show identical values
- **No Database Changes**: Fixed display issue without modifying calculation logic
- **Production Ready**: Removed all debug statements and error_log calls from codebase
### Bug Fixes
- **Declaration List Accuracy**: Fixed incorrect amounts shown in declaration list (70.00 → 69.00)
- **CA-3 Line Integration**: Declaration list now reads from CA-3 lines table for accurate values
- **Display Consistency**: Both list and view now show the same calculated amounts
- **Clean Codebase**: Removed all debug statements for production readiness
## 2.5.31
### Bug Fixes

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.5.31';
$this->version = '2.6.0';
// Url to the file with your last numberversion of this module
//$this->url_last_version = 'http://www.example.com/versionmodule.txt';