Commit Graph

152757 Commits

Author SHA1 Message Date
Laurent Destailleur
b4cdc8d29f Clean create form 2026-03-19 12:31:33 +01:00
Laurent Destailleur
78ff9575b0 Simplify selection of invoice type by removing one line. 2026-03-19 12:06:23 +01:00
Laurent Destailleur
ab429587c4 Clean code 2026-03-19 11:45:39 +01:00
Laurent Destailleur
f11e99c055 spellcheck war 2026-03-19 11:11:45 +01:00
Laurent Destailleur
cfaea0cb06 Better sample 2026-03-18 18:25:12 +01:00
Laurent Destailleur
5f5b4570c4 NEW Use the initAsSpecimen to generate the test invoice. 2026-03-18 14:44:30 +01:00
Laurent Destailleur
0e5170e491 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-18 12:51:38 +01:00
Laurent Destailleur
812b51a0b7 Fix position of TEMPORARY on pdf 2026-03-18 12:49:42 +01:00
atm-corentin
66ac556770 NEW|New - add drag-and-drop functionality for managing draft expedition lines (#36311)
* ticket progress nullable (#36178)

* ticket progress nullable

* ticket progress nullable

* clean code (#36180)

* clean code

* clean code

* clean code

* Fix update of color when using HTML5

* CSS

* css

* Fix date input on smartphone

* css

* css

* css

* Clean code

* Responsive

* NEW add hourly rate in list of users

* Fix reset of budget

* Clean code

* Debug v23

* Fix regression

* Debug v23

* CSS

* Qual: Update Phan baseline.txt (#36190)

#Qual: Update Phan baseline.txt

Update the Phan baseline.txt file to reflect changes in the number of occurrences of specific issues.

* clean code (#36179)

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW Holiday - Allow to specify a specific mail address from (#36184)

* NEW Holiday - Allow to specify a specific mail address from

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)

* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.

* NEW Dashboard - Add option in ihm to disable MRP thumb (#36185)

* Fix CI

* Removed PROPALE_ADDON_NOTE_PUBLIC_DEFAULT. Must use the generic feature
"default value feature"

* Clean code

* css

* Fix CI

* Doc

* FIX Import/Export - Do not list imports or exports of Builder module backups of module descriptor files (#36192)

* FIX Import/Export - Do not list imports or exports of Builder module backups of module descriptor files

* FIX

* Add phone info in form public/members/new.php (#36119)

* Add phone info in form public/members/new.php

* Use GETPOST instead of GETPOSTISSET

* FIX wrong path of libraries (#36194)

* Updated PHPDoc (#36191)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix CI

* Fix 35017 accounts for local taxes 2 (#36160)

* FIX#35017 add locattaxes accounts to accounting defaults

* corr. libellés localtax pour afficher le bon pourcentage

* assurer la cohérence de la structure def_tva

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* NEW stock API GET movement (#36193)

* Added stock movement GET method

* Updated PHPDoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* css

* Fix js not found

* Add sortorder parameter to selectForFormsList method (#36173)

there are a problem on many extrafields list : we can't sort list by decrease and sort from a specific fields since we have add an sql prevention on filter based on : separator (who is used to separate parameters)

@eldy  i propose to remplace on extrafields parameters the : in the sql injection prevention by another caracters, by exemple the ; or the § , and replace it after having explode all the parameters

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* css

* Removed duplicated code

* Debug v23

* Add property parent

* Debug v23

* Manage position of captcha modules. Fix responsive of setup page.

* Debug v23

* Try to fix phpstan

* Clean language files

* Debug v23

* Fix regression

* WIP LNE

* Drop a not used column to simplify

* Add test on data decryption

* PHPStan > Update baseline (#36208)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>

* FIX member photo and thirdparty logo not deleted in documents directory (#36197)

* FIX member photo with web portal don't need login

* FIX member photo not deleted

* FIX pre-commit

* FIX phan error and uniformize code

* FIX pfffffff pre-commit

* FIX uniformize code

* FIX remove TODO

* FIX change const name

* FIX missing add in ECM during creation

* FIX add user photo in ecm

* FIX phan error

* display member photo with hash (#36205)

* display member photo with hash

* display member photo with hash

* display member photo with hash

* display member photo with hash

* FIX adding tms and datec to email templates (#36189)

* NEW: adding tms and datec to email templates

* Escaping a timestamp string I just generated myself

* switching single and double quotes in escape line for tms and datec to make the build system happy?

* Add an id to the table

* showing better names than tms and datec

* Changing code to label to fix #29116

* using hregis advice to use idate not escape the string with date

* requested changes

* forgot to add my name to editors

* had to make class changes for API to work

* setting datec back to int|string

* removing unused code lines and using idate in the api file

* no tms in create or update, but select. No datec in update

* expanding hurl tests to prevent post with id or tms, put with id or datec

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>

* Update ticket.class.php (#34932)

* Update ticket.class.php

bad init in class

* Update ticket.class.php

* Update ticket.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* WIP LNE

* Debug v23

* fix stock display in replenish (#36209)

* [FEAT] Displaying the label instead of the id (#36210)

* Fix rename of function

* fix typo in interface_20_modWorkflow_WorkflowManager.class.php (#36212)

* add interventional feature on subtotal admin (#36207)

* Fi CI

* Fix CI

* Fix CI

* NEW Add Type, Description columns to Project Overview Expense Reports (#36214)

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>

* Fix PHP Warning:  Undefined array key "nblinesnull" in /var/www/html/projet/element.php (#36198)

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>

* FIX use $this->db instead $db (#36219)

* FIX use $this->db instead $db

* FIX use $db with static function

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add date_c update on project_task (#36217)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Trans

* Responsive

* Fix autogenerate login

* Update commondocgenerator.class.php (#36227)

* clean code (#36228)

* Fix typo in DLLMissing message for MyGerman.isl (#36223)

* Fix typo in DLLMissing message for MyGerman.isl

Typos:
- s/Mcrsoft/Microsoft/g
- s/credist_x86.exe/vc_redist.x86.exe/g
- dl link

* Fix DLLMissing message link for Visual C++ Redistributable

Updated the link for the Microsoft Visual C++ Redistributable installation instructions.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* harmonize fields orders between holiday and expensereport (#36222)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Update header_login.tpl.php (#36220)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* avoid changing object after call (#36159)

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Implement setCategories method in task class (#36218)

Added setCategories method to manage task categories.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* check access doc for massfilesarea_stock (#36229)

* clean code (#36230)

* New : action to clone ticket (#36231)

* Clean permissions

* Debug v23

* Tipo

* clean code (#36233)

* clean code

* Update html_cerfafr.modules.php

* Update interface_50_modEventOrganization_EventOrganization.class.php

* Fix case

* add phone mobile of target (#36234)

* Debug v23

* WIP

* Short version of Go back

* Fix bad translation string

* Fix trans

* CSS

* css

* css

* Debug v23

* css

* Debug v23

* Doc

* Fix CI

* FIX add constant for the member photo width in web portal + avoid error (#36221)

* Close #35917

* Fix regression

* Fix type

* Fix GETPOST

* Fix GETPOST

* Fix SQL

* Fix error reporting

* Fix warning

* CSS

* Fix CI

* Fix CI

* Fix CI

* Fix CI

* Fix CI GETPOST -> GETPOSTINT

* Fix CI

* Fix CI

* Trans

* add gps position for files (#36240)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* clean code (#36241)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* PHPStan > Update baseline (#36242)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>

* New import profile for leave requests (#36244)

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>

* WIP LNE

* WIP LNE

* add show and filter in fields public and private notes (#36255)

* NEW Add SQL table for expensereport line extrafields support (#36251)

* Fix: Correct unit comparison bug in webportal document download (#36256)

The file size check was comparing bytes (from dol_filesize) directly with
kilobytes (from MAIN_SECURITY_MAXFILESIZE_DOWNLOADED config), causing false
positives that blocked downloads of small files.

Example: A 94 KB file (96678 bytes) was rejected because 96678 > 20480,
even though the limit was actually 20480 KB (20 MB).

Changes:
- Convert KB limit to bytes before comparison: $fileSizeMax * 1024
- Improve error message to display file size in KB for consistency
- Add detailed logging with both bytes and KB values

Fixes: Files under the configured limit are now correctly allowed to download

* NEW - Add a new API "product lots" (#36243)

* Add new API product lots

* fix precommit

* CSS

* NEW Introduce getCurrency(). $conf is no more allowed into computed
formulae.

* Doc

* Doc

* Trans tooltip

* NEW Invert logic of default date in proposal/order/invoice creation:
Need option to NOT autofill instead of the opposite.

* WIP LNE

* Fight against optionflation.

* Trans

* Trans

* The script generate_filelist_xml.php can check integrity from command
line.

* Doc

* Doc

* Debug

* Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop

* Simple way to trap error to Close #36292

* Clean code

* Fix CI

* Fix CI

* Bump mdeweerd/logToCheckStyle from 2025.1.1 to 2025.11.2 (#36284)

Bumps [mdeweerd/logToCheckStyle](https://github.com/mdeweerd/logtocheckstyle) from 2025.1.1 to 2025.11.2.
- [Commits](https://github.com/mdeweerd/logtocheckstyle/compare/v2025.1.1...v2025.11.2)

---
updated-dependencies:
- dependency-name: mdeweerd/logToCheckStyle
  dependency-version: 2025.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update admin.lang (#36293)

* Update loanschedule.class.php (#36272)

Solve Error when schedule loans : "ERROR: 55000: currval of sequence "llx_payment_loan_rowid_seq" is not yet defined in this session LOCATION: currval_oid, sequence.c:884"

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix CI

* Fix phpunit

* Update SecurityTest.php (#36295)

* Update SecurityTest.php

* Update SecurityTest.php

* Update SecurityTest.php

* PHPStan > Update baseline (#36264)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Update pre-commit hooks (#36262)

* Qual: Update pre-commit hooks

# Qual: Update pre-commit hook

Updated several pre-commit hooks as long as the new ones are not alpha or beta versions

* Qual: Fix/ignore some shellcheck issues

* Qual: Enhance hurl test documentation and run script (#36291)

- Added detailed documentation for running specific tests, including options and exclusions
- Improved installation instructions with platform-specific guidance
- Enhanced error handling and user feedback
- Added support for GitHub-compatible messages
- Improved script structure and readability

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: (commonnumrefgenerator): Add abstract method getExample (#36271)

- `getExample()`: Returns an example of the numbering format

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX: Fix version extraction in setup_conf.sh (#36281)

# FIX: Fix version extraction in setup_conf.sh

The version extraction regex was updated to handle both DOL_VERSION and DOL_MAJOR_VERSION constants in version.inc.php.
The version is now available as DOL_MAJOR_VERSION since 29b1e75

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* FIX QUAL intervention API close (#36278)

* Refactored close method

* Updated PHPDoc

* Updated PHPDoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* can edit color in dict.php (#36270)

* can edit color in dict.php

* Update html.form.class.php

* Update html.form.class.php

* New tooltip freeze from experimental to develop branch (#36266)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Look and feel Debug v23

* Debug v23

* Close #36298

* Qual: Change field name to let phan warn about argument order (#36261)

* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect.

* Fix: Fix parameter order in print_liste_field_titre calls

- Fixed parameter order in print_liste_field_titre calls to maintain consistency

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* clean code (#36260)

* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test

* Clean code

* Clean code

* add drag-and-drop functionality for managing draft expedition lines

* WIP LNE

* Debug v23

* refactor expedition card: clean up unused code and improve table rendering logic

* fix expedition card: correct colspan increment for draft status

* fix expedition card: adjust colspan indentation for better readability

* fix expedition card: uncomment shipment creation code for standalone mode

* fix expedition card: adjust colspan indentation to match coding standards

* fix expedition card: correct indentation of colspan logic to follow standards

* NEW Add hook on calcula_price() and get_default_tva()

* Comment

* Clean code

* fix expedition: add permission check for expedition details and update fetch_lines ordering logic

* Secure the dol_eval

* NEW Add filter on agenda event progression on agenda page

* fix css login page patch 01 (#36313)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix CI

* FIX #36306 (#36307)

* NEW Disable by default obfuscation methods and function in extrafields
evaluable strings. Can re-enable with
MAIN_ALLOW_OBFUSCATION_METHODS_IN_DOL_EVAL=1

* Doc

* MAIN_DISALLOW_STRING_OBFUSCATION_IN_DOL_EVAL replaced with
MAIN_ALLOW_OBFUSCATION_METHODS_IN_DOL_EVAL

* Doc

* Add config param $dolibarr_main_restrict_eval_methods with whitelist of
functionsallowed in dol_eval. Advisory GHSA-x3w7-24rq-gvc5

* fix expedition: ensure expeditiondet rows remain in sync during drag-and-drop reorder operation

* fix expedition card: reindent colspan logic for consistency with coding standards

* Fix CI

* Qual: Update phan baseline (#36318)

# Qual: Update phan baseline

Remove fixed notices from exceptions.

* fix expedition: add phpcs annotations to suppress naming convention warnings around scope

* Doc

* Fix CI

* Fix CI

* Fix ci

* Fix CI

* Fix CI

* Fix ci

* Fix css login page patch 02 (#36320)

* fix css login page patch 01

* fix css login page patch 02

* fix css login page patch 02

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Clean code

* Fix CSS

* Fix CI

* Add product type check in line validation (#36319)

* Add product type check in line validation

needed by sous total plugins style which use line with type 9 for title, subtitle or free text. without the chek inb line validation, title, sub title or free text disappears

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Migrate holiday files

* FIX Move 'holiday' from old path array to new one (#36308)

* Remove 'supplier_invoice' from old path array

* Update module path in arrayforoldpath

Sorry Eldy, I was confused. You are absolutely right, it is already corrected.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix: PhanTypeMismatchProperty error in invoice creation (#36323)

* 🐛 Fix PhanTypeMismatchProperty error in invoice creation

The error occurred due to incorrect type handling in the invoice creation process. The changes fix this by properly handling the subtype field as an integer. This ensures type consistency and prevents potential runtime errors.

* FIX: Correct assignment to linkedObjectsIds  in card.php

# FIX: Correct assignment to linkedObjectsIds  in card.php

Modified the structure of linkedObjectsIds to include the rowid as a key to match the property type.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* PHPStan > Update baseline (#36305)

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>

* Accountancy - Resolve some problem on new function "Discount in accountancy" (#36285)

* FIX Accountancy - Discount wrong function & problem HTML injection

* FIX Accountancy - Wrong base for already / not yet function - Piece_num is not enough strong et editable

* FIX Accountancy - Discount - Use closing date rather than the invoice date

* FIX

* PHPPhan

* Update accountingjournal.class.php

* Update accountingjournal.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Update expedition.class.php

* Update expedition.class.php

* Improve shipment line handling: fix origin/ID management, add extrafields display, and handle unchanged lines

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: MDW <mdeweerd@users.noreply.github.com>
Co-authored-by: Alexandre SPANGARO <alexandre.spangaro@gmail.com>
Co-authored-by: Aksanti Bahiga tacite <71480535+marcellintacite@users.noreply.github.com>
Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
Co-authored-by: William Mead <william@m34d.com>
Co-authored-by: Vincent de Grandpré <vincent@de-grandpre.quebec>
Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
Co-authored-by: Jon Bendtsen <github@jonb.dk>
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Norbert Penel <homer8173@gmail.com>
Co-authored-by: PierrickV <8960084+PierrickV@users.noreply.github.com>
Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr>
Co-authored-by: Eric - CAP-REL <1468823+rycks@users.noreply.github.com>
Co-authored-by: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com>
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: HeilDenDus <rafagledesma@gmail.com>
Co-authored-by: Rudi Herouard <rudi.herouard@gmail.com>
Co-authored-by: Gigarun ingénierie <thomas@gigarun.eu>
Co-authored-by: atm-lucas <121817516+atm-lucasmantegari@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sweetcorreze <76868896+sweetcorreze@users.noreply.github.com>
Co-authored-by: John BOTELLA <68917336+thersane-john@users.noreply.github.com>
Co-authored-by: Marc <99648320+emheyarssi@users.noreply.github.com>
Co-authored-by: iouston <4319513+iouston@users.noreply.github.com>
Co-authored-by: Yamil Esteban Garcia <120027058+developmentOYR@users.noreply.github.com>
Co-authored-by: Quentin VIAL--GOUTEYRON <quentin.vial-gouteyron@atm-consulting.fr>
2026-03-18 11:28:26 +01:00
Laurent Destailleur
d548dfe042 Look and feel v24 2026-03-18 03:11:17 +01:00
Laurent Destailleur
1b47fa3bd8 NEW Add phone of thirdparty available on list of contracts 2026-03-18 02:43:51 +01:00
Laurent Destailleur
74a202ed17 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-18 01:31:10 +01:00
Laurent Destailleur
0a07d73ed4 css 2026-03-18 01:30:12 +01:00
Maxime Kohlhaas
2c8bb1eac2 NEW : use select label for extrafield substitution in emails (#37005) 2026-03-17 15:53:55 +01:00
Rikard Bosnjakovic
5c3acbcc60 NEW Add thumbnails and stock value to product category listing (#37510)
* NEW 37509

* Fix entity casting in show_photos call

* Update viewcat.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-16 20:43:16 +01:00
dependabot[bot]
270f719e8a Bump actions/create-github-app-token from 2 to 3 (#37513)
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 10:21:26 +01:00
dependabot[bot]
c32f0cae0c Bump actions/checkout from 4 to 6 (#37512)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 10:20:46 +01:00
Laurent Destailleur
449f0cbd23 Automated merge from 23.0 to develop 2026-03-16 10:20:04 +01:00
Laurent Destailleur
2985c8bd21 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-16 10:20:01 +01:00
Laurent Destailleur
a222fe5360 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-16 10:19:58 +01:00
Laurent Destailleur
e98c441c4c Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-16 10:19:56 +01:00
Laurent Destailleur
638fd27af2 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-16 10:19:43 +01:00
Laurent Destailleur
f9c6562de9 Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-03-16 10:18:38 +01:00
Laurent Destailleur
8ede2e75f5 Automated merge from 17.0 to 18.0 by tool pullmerge.sh 2026-03-16 10:18:34 +01:00
Laurent Destailleur
86bb0b4cc5 Automated merge from 16.0 to 17.0 by tool pullmerge.sh 2026-03-16 10:17:50 +01:00
Laurent Destailleur
4098eafe24 Automated merge from 15.0 to 16.0 by tool pullmerge.sh 2026-03-16 10:16:32 +01:00
Laurent Destailleur
5294805890 Removed non relevant test 2026-03-16 10:14:43 +01:00
Laurent Destailleur
5915aa4846 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-16 10:11:40 +01:00
Laurent Destailleur
9db76503e4 Clean code 2026-03-16 10:11:31 +01:00
Laurent Destailleur
fe4da5614a Trans 2026-03-16 09:46:21 +01:00
minimexat
e5135ed8ab Fix missing POST/Redirect/GET after proposal validation (#37507)
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.

Fixed by adding a Location redirect at the end of the success branch,
same pattern used by confirm_cancel and confirm_clone.

Fixes #37480

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-16 09:38:51 +01:00
Laurent Destailleur
a33b97b311 CI 2026-03-16 09:20:41 +01:00
Laurent Destailleur
10d780ad60 CI 2026-03-16 09:01:39 +01:00
Laurent Destailleur
c783b305dc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-15 15:29:16 +01:00
Laurent Destailleur
ae5d7b6fb6 CI 2026-03-15 15:29:01 +01:00
John BOTELLA
559454e4d4 Fix : fontawesome icon list in doc (#37481)
* Fix fontawesome icon list

* Label

* remove useless test

* Fix doc php stan

* Fix doc php stan

* Fix doc php stan
2026-03-15 14:54:59 +01:00
Laurent Destailleur
a81ba1847d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:53:27 +01:00
Laurent Destailleur
209323598a Restore parallel-lint only on last version 2026-03-15 14:52:53 +01:00
Laurent Destailleur
88b66741fc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:52:07 +01:00
Laurent Destailleur
6505e41b4d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:51:02 +01:00
Laurent Destailleur
a4bd180c72 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2026-03-15 14:50:22 +01:00
Laurent Destailleur
2605d33dbc Restore parallel-lint 2026-03-15 14:50:13 +01:00
William Desportes
9e13496975 Fix User creation API permission check (#37502)
Bug introduced by 3c9d8bc931

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-15 14:48:32 +01:00
Laurent Destailleur
d33e0dd302 Fix error management 2026-03-15 14:47:28 +01:00
Laurent Destailleur
cb96c5fbed FIX Missing field in fetch 2026-03-15 14:43:53 +01:00
Laurent Destailleur
7c399bd78b Fix CSS and look and feel v23 2026-03-15 14:34:28 +01:00
Laurent Destailleur
22804ef1d6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-15 14:34:04 +01:00
Laurent Destailleur
0d50af64a2 Fix CSS and look and feel v23 2026-03-15 14:33:46 +01:00
minimexat
6a3300348e Fix missing billed field in expedition INSERT causing DB error (#37506)
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>
2026-03-15 13:58:04 +01:00
minimexat
57812a1272 Fix PHP warnings for undefined property and array keys in purchasesjournal.php (#37505)
* 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>
2026-03-15 13:52:13 +01:00