* NEW : Add support of customer discount of the invoice in the sell journal
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phan
* Correction phan
* Correction phan
* Correction phan
* FIX#39146 : add SQL structure in llx_societe_perentity
* FIX phpstan: Societe::$client (int<0,3>) does not accept -1 (#39244)
Societe::$client is annotated @var int<0,3> (domain 0=no customer,
1=customer, 2=prospect, 3=both) in societe.class.php, but the create
form in societe/card.php pre-set it to -1 as a transient "nothing
pre-selected" placeholder, tripping PHPStan level 10 on develop.
The value is never persisted (save paths compute 0..3) and the only
reader, the switch() building the form, treats -1 and 0 identically via
its default case. Use 0 (the property's own default) so the assignment
matches the declared type. No behavior change.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* NEW Accountancy - FEC export - Add constant ACCOUNTING_EXPORT_FEC_ADD_TIMESTAMP to add a timestamp in export file name
* The test on dolibarr_main_restrict_os_commands was moved into
dumpDatabase()
* Fix missing extrafields propagation and object links when creating supplier credit note (#39285)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
* NEW Filecheck can show diff of modified files (#39022)
* NEW: Show diff against original file in filecheck integrity report
* NEW: Compare against develop branch for alpha/beta versions in filecheck diff
* NEW: Improve filecheck diff granularity on large files with anchor-based split
* Update version.inc.php
* Fix member subscription with empty date valid
* Create migration script 24.0.0-25.0.0.sql
* FIX#39146: Fos thirdparties, Manage fk_account, payment method and payment term per entity if MAIN_COMPANY_PERENTITY_SHARED is set.
* Missign migration file
* Update paymentok.php
---------
Co-authored-by: Kamel Khelifa <kkhelifa@open-dsi.fr>
Co-authored-by: tnegre <tnegre@open-dsi.fr>
Co-authored-by: Jam Balaya <jambalaya.pyoncafe@outlook.jp>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Alexandre SPANGARO <alexandre.spangaro@gmail.com>
Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: Zakaria Boushaba <48571684+Boushabazakaria@users.noreply.github.com>
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>