The billed column has no default value in llx_expedition, but was
not included in the INSERT statement in Expedition::create().
This caused a strict SQL error when creating delivery notes.
- Initialize $this->billed = 0 on the property declaration
- Add billed to the INSERT column list with value 0
Fixes#37452
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix missing POST/Redirect/GET after proposal validation
After confirm_validate succeeds, redirect back to the card so the
page renders with the correct post-validation state. Without this,
the Validate button stays visible even though the proposal was
already validated in the database.
Fixes#37480
* Fix missing billed field in expedition INSERT causing DB error
The billed column has no default value in llx_expedition, but was
not included in the INSERT statement in Expedition::create().
This caused a strict SQL error when creating delivery notes.
- Initialize $this->billed = 0 on the property declaration
- Add billed to the INSERT column list with value 0
Fixes#37452
* Update expedition.class.php
* Refactor proposal closing and document generation logic
Reload the proposal object after closing and before generating the document. Removed the redundant fetch call and the header redirection.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* New MCP server and assistant
* New MCP server and assistant
* Create log_viewer.php
* Update setup.php
* Update admin.lang
* New MCP server and assistant
* ADD AI Log Request, service connection testing and more providers
* fix pre commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix pre-commit
* fix Variable $model in empty() is never defined.
* fix Variable $resql might not be defined.
* fix php-stan
* fix Variable $badge might not be defined.
* fix phan
* fix phan
* fix phan
* add missing multicompany filtering
* fix php-stan
* Fix condition to check current AI service
* Update AI external access message for clarity
* Update entity filter in log viewer SQL queries
* Fix spelling and update model configurations
Corrected spelling of 'DocumentPArsing' to 'DocumentParsing' and updated model configurations to use arrays for default values.
# Qual: Update type hint for DoliStorage
- Update type hint for DoliStorage to use fully qualified namespace
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix(accounting): exportWinfic now supports parameter like other export methods
* Fix CI PULL REQUEST
---------
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>