Commit graph

153735 commits

Author SHA1 Message Date
Laurent Destailleur
6f5cb7e418 Automated merge from 23.0 to develop 2026-04-28 11:30:13 +02:00
Laurent Destailleur
6891c9a398 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-04-28 11:30:10 +02:00
Laurent Destailleur
3c89b7062b Fix CI 2026-04-28 11:29:42 +02:00
Laurent Destailleur
13ca9e441e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-28 11:28:05 +02:00
Laurent Destailleur
1c6ae609b7 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-04-28 11:27:34 +02:00
Laurent Destailleur
8a878e8d28 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-04-28 11:24:23 +02:00
Laurent Destailleur
1e6b3dd871 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-04-28 11:23:15 +02:00
Laurent Destailleur
dfe6f5f5cb Fix CI 2026-04-28 11:22:58 +02:00
Joe Biboche
905b52579d
Fix: #38011 wrong line seq when generating invoice from order (#38029)
Avoid reordering invoice lines in the case it's been created from an order

Co-authored-by: Mathis GAVILLON <mathis.gavillon@ik.me>
2026-04-28 11:17:08 +02:00
Laurent Destailleur
028931e25a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-28 11:16:59 +02:00
Laurent Destailleur
3e15f78df6 Clean code 2026-04-28 11:16:41 +02:00
MDW
ed21a82676
Qual: Fix PHPStan notices (#38021)
* Qual: Fix PHPStan notices

# Qual: Fix PHPStan notices

Fix "Variable ... might not be defined notices"

* Qual: Fix PHPStan notices
2026-04-28 11:08:58 +02:00
Pierre Ardoin
58d2b2f282
# NEW|New Stock transfer module stabilization and full functional coverage (#37557)
* Update stocktransfer_card.php

* migration: limiter les triggers stocktransfer au script 23->24

* agenda: ajouter les libellés InDolibarr pour stocktransfer

* stocktransfer pdf: éviter method_exists sur ligne nulle

* migration 23-24: ajouter le point-virgule manquant avant triggers

* notification: ajouter le support stocktransfer et event MODIFY

* langs: ajouter traductions Notify_STOCKTRANSFER_*

* langs: ajouter la clé Stocktransfer dans stocks.lang

* feat(stocktransfer): add quick add entry for stock transfers

* fix(quickadd): add stock transfer entry directly in main menu list

* projet: ajouter stocktransfer avant stock_mouvement

* projet: retirer le filtre global sur stocktransfer

* projet: renommer le titre stocktransfer et ajouter traductions

* projet: masquer montant sur la section stocktransfer

* projet: aligner la marge de stocktransfer sur commentaire

* projet: afficher NA pour les montants des stocktransfer

* projet: ajouter tooltip NA pour stocktransfer

* projet: ajouter message dédié NoAmountforStockTransfer

* projet: ajouter colonnes logistiques aux transferts de stock

* projet: retirer colonne date des transferts et aligner totaux

* projet: ajouter stocktransfer au badge de la vue d'ensemble

* projet: uniformiser les largeurs de colonnes stocktransfer

* stocktransfer: use email template type for presend form

* admin: add stock transfer email template type in setup list

* admin: show stock transfer mail template type when module enabled

* admin: move stock transfer mail type below products with box icon

* stocktransfer: align admin icon markup and presend attachment path

* langs: use stocktransfer-prefixed agenda trigger labels

* Update agenda.lang

* Update admin.lang

* Update other.lang

* Update stocks.lang

* Update admin.lang

* Update other.lang

* Update stocks.lang

* Update admin.lang

* Update agenda.lang

* Update stocks.lang

* Update admin.lang

* Update agenda.lang

* Update agenda.lang

* Update other.lang

* Update stocks.lang

* Update other.lang

* Update stocks.lang

* Update notify.class.php

* Remove destocking and stock increment triggers

Removed stock transfer action triggers for destocking and stock increment cancellation.

* Update 23.0.0-24.0.0.sql

* Update agenda.lang

* Update other.lang

* Update stocktransfer_card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-28 11:07:19 +02:00
Laurent Destailleur
0e4b92975e Debug v24 2026-04-28 04:53:06 +02:00
Laurent Destailleur
d6cfabcc5a Fix more robust function to extract php 2026-04-28 04:52:55 +02:00
Laurent Destailleur
78a72627a1 Fix more robust function to extract php 2026-04-28 04:50:52 +02:00
Laurent Destailleur
4039e62eae Debug v24 2026-04-28 04:30:47 +02:00
Laurent Destailleur
d9b48fdafb NEW Switch MAIN_SECURITY_CSRF_WITH_TOKEN from 2 to 3. 2026-04-28 04:24:51 +02:00
Laurent Destailleur
9f9ffa288d FIX More complete CSP rule for download/viewimage wrapper - report by
Mesh3l
2026-04-28 04:21:53 +02:00
Laurent Destailleur
022a6c3b51 Doc 2026-04-28 04:16:19 +02:00
Laurent Destailleur
4443b0e882 Complete dev of option WYSIWYG_ALLOW_UPLOAD_MEDIA_FILES 2026-04-28 02:54:48 +02:00
Laurent Destailleur
451fc0efca ci 2026-04-28 01:27:54 +02:00
Laurent Destailleur
418ac06fd4 Reorder lines 2026-04-28 01:21:30 +02:00
Laurent Destailleur
b989a7a622 Trans 2026-04-28 01:04:15 +02:00
Laurent Destailleur
c781efcf19 ci 2026-04-28 00:43:57 +02:00
Laurent Destailleur
cc2f50f7eb Debug v24 (error was reset when it should not) 2026-04-28 00:42:43 +02:00
Laurent Destailleur
6957444c99 CSS 2026-04-28 00:22:18 +02:00
Laurent Destailleur
081dee6547 Debug v24 2026-04-28 00:18:39 +02:00
Laurent Destailleur
c52a43f4ec css 2026-04-28 00:07:34 +02:00
Laurent Destailleur
931b2955bf css 2026-04-28 00:01:14 +02:00
Laurent Destailleur
7d8bcc8849 Fix css 2026-04-27 23:59:13 +02:00
Laurent Destailleur
cf5254b73d CSS 2026-04-27 23:53:08 +02:00
Laurent Destailleur
6387a5c2eb FIX Critical pb with direct link to contract. Add option
CONTRACT_CAN_USE_THE_BUGGED_SELECT_COMPONENT to avoid to use it.
2026-04-27 23:53:00 +02:00
Laurent Destailleur
b4cdb3f609 FIX Some critical pb with the select_contract() component. 2026-04-27 23:40:35 +02:00
Laurent Destailleur
9acf70da58 Minor fixes 2026-04-27 23:21:13 +02:00
Laurent Destailleur
02b0ccec13 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-27 18:23:18 +02:00
Laurent Destailleur
6eb27efd71 Fix public interface must not show AI assistant. 2026-04-27 18:23:07 +02:00
Frédéric FRANCE
393884af8f
clean code (#38014)
* clean code

* clean code

* clean code

* clean code
2026-04-27 15:40:05 +02:00
Laurent Destailleur
94c6bea4e1 Debug v24 2026-04-27 15:36:52 +02:00
Laurent Destailleur
05c29f10e5 Debug v24 2026-04-27 15:20:30 +02:00
Laurent Destailleur
96eb43c567 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-27 15:05:42 +02:00
Laurent Destailleur
61ad09cdd6 CI 2026-04-27 15:05:31 +02:00
Laurent Destailleur
11a79b9a70 CI 2026-04-27 15:01:23 +02:00
Jon Bendtsen
483b2255de
NEW API get country: load region and load states now an option (#37715)
* API setup get country dictionary: load region and load states now an option

* Adding load region and state to the long list of countries + hurl tests for this and on getting by id, code and ISO

* Create CcountryExtended which is a Ccountry object with regions and states included

* pre-commit hook fix

* fix PhanTypeMismatchProperty

* fix php-stan

* circumvent phan that complains about parameter order

* no special function for fetching ccountryextended as we add the states and regions in the API functions

* Using API functions to insert states and regions when requested

* always use extended country

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-04-27 14:56:05 +02:00
Milen Karaganski
cb317ddc11
Refactor modulebuilder setup UI for numbering and document models (#38008)
* Refactor module setup UI to group numbering and document models into single sections

Avoid duplicate “Numbering models” and “Document models” blocks per object
Render one section per type with grouped rows per object
Add pre-checks to skip sections when no models are available
Fix document model filtering per object (avoid cross-listing)
Reset file list per directory scan to prevent duplicates

* FIX CI Error `Error: If condition is always false.` and `Error: Unreachable statement - code above always terminates.`

* - Remove duplicate `Access control` statement
- Replace `header(...);return;` with ``header(...);exit;``

* Fix PHP Stan errors
2026-04-27 14:53:59 +02:00
MDW
8ccb7dfd16
Qual: Fix PHPStan notices (#38007)
# Qual: Fix PHPStan notices

Fix several possibly undefined variable notices
2026-04-27 14:52:01 +02:00
Eduardo Pulpillo
ecb6fe3d6d
Add potential kits stock message to products.lang (#38015)
Add a new translation string to make the text "PotentialKitsFromStock" appear in your chosen language. New string:  PotentialKitsFromStock

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-27 14:46:05 +02:00
Laurent Destailleur
d6db92d323 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-04-27 14:43:34 +02:00
Laurent Destailleur
8aa00a8908 Clean code. Add comment on fields. Use the correct rounding param. 2026-04-27 14:13:45 +02:00
Laurent Destailleur
ff8650f6bc Look and feel v24 2026-04-27 05:29:18 +02:00