* FIX - Show POS in Order and Invoice list
* Update list.php
* Change $showpos value type from int to string
* Refactor POS fields visibility logic
---------
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX - Twice the check in resource list column
* Update copyright information in list.php
Added copyright notice for 2026.
---------
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
* FIX - If a specific pricing system is applied, the price type is not specified
* Add 2026 copyright for Anthony Berton
Added copyright notice for Anthony Berton for 2026.
---------
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
* Add Hook for adapting virtual stock in replenish screen
Currently it is only possible to hook in the loadvirtualstock hook to adapt the virtual stock by external modules. The newer version of the replenish screen doesn't use this hook anymore (by loading stock from product object) as it now uses faster sql queries. Therefore the external module cannot adapt this area and there is an missmatch of the view in replenish.php and the stock tab of the product.
* fix phan warning
- when filtering on inactive services with pagination, clicking on 'next page' will lose filter for 'inactive' status.
- when filtered on 'active / expired' or 'active / not expired', the '(not) expired' part was lost after navigating to next/prev page
See issue #37259:
Currently, reverse charge is only applied, if the supplier is based in the EEC.
At least for a German B2B customers, reverse charge has to get applied to any supplier outside of the home country.
The fix is non-invasive by providing a const ACCOUNTING_REVERSE_CHARGE_ALSO_NON_EEC to allow for a broader application of the already implemented RC rules.
* Clean filenames with double spaces
If a filename contains double spaces, it can get uploaded in Dolibarr exactly as it is.
When listing the file or trying to download it, the dolibarr functions clear double spaces in the filename. In particular the alpha parameter for GETPOST.
This results in files being uploaded (e.g. attachments for invoices) than can get listed but remain inaccessible and even cannot get deleted via UI.
We either need to fix all these places to accept double spaces or we change a single location, when we sanitize filenames.
* removed white space