Commit Graph

7606 Commits

Author SHA1 Message Date
Laurent Destailleur
125d97cf5d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-16 21:23:48 +01:00
Laurent Destailleur
5433a5642d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-16 21:21:13 +01:00
Laurent Destailleur
bff98ad817 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-16 21:11:20 +01:00
Laurent Destailleur
7ccd12e865 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-16 21:08:22 +01:00
Günter Lukas
917c2d6be8 Add check for empty delivery date before setting (#37254) 2026-02-16 20:12:21 +01:00
Laurent Destailleur
fe3314d07a Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-08 20:40:42 +01:00
Laurent Destailleur
1173164d7e Debug v23 - Filter on action type ko 2026-02-08 19:30:17 +01:00
Laurent Destailleur
8c5fe25137 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-08 19:04:03 +01:00
Laurent Destailleur
e596bdada1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-02-08 15:53:06 +01:00
Laurent Destailleur
7f9bdc5f45 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-02-08 15:50:12 +01:00
MDW
1166dd305b Qual: Update comments from French to English (#37097)
* Qual: Update comments from French to English

# Qual: Update comments from French to English

* Qual: Fix missing initialisations

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 15:29:53 +01:00
Laurent Destailleur
8d96ed3a03 Debug v23 2026-02-08 15:02:48 +01:00
Laurent Destailleur
d0c5d523a3 FIX Show total on multicurrency only if currency are the same on all
lines
2026-02-08 13:59:19 +01:00
Laurent Destailleur
5e960ae089 FIX Show total on multicurrency only if currency are the same on all
lines
2026-02-08 13:57:11 +01:00
Laurent Destailleur
713918dadf Debug v23 2026-02-08 13:05:57 +01:00
Laurent Destailleur
eeae12ed63 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-08 13:05:32 +01:00
Laurent Destailleur
9fa2fd0b92 Debug v23 2026-02-08 13:04:23 +01:00
minimexat
61ece3d5c5 FIX Replace direct $_POST access with GETPOST() in origin/originid recovery paths (#37143)
When a create action fails and rolls back, several list/card pages
restore origin parameters by assigning $_POST values directly to
$_GET. This causes 'undefined array key' warnings on PHP 8.1+ if
the POST data is missing or malformed.

Replace raw $_POST['origin'] with GETPOST('origin', 'alpha') and
raw $_POST['originid'] with GETPOSTINT('originid') which safely
handle missing parameters.

Files fixed:
- htdocs/expedition/list.php
- htdocs/fourn/commande/list.php
- htdocs/commande/list.php
- htdocs/compta/facture/card.php
- htdocs/reception/list.php

These files had TODO-style comments ('Keep this ?', 'Keep GET and
POST here ?') indicating the pattern was already questionable.

Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
2026-02-08 03:05:47 +01:00
Laurent Destailleur
7773c2504f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-05 13:55:24 +01:00
Laurent Destailleur
c9b270b035 Code comment 2026-02-05 13:30:59 +01:00
William Mead
feca86b812 FIX supplier order delivery date from order (#36860)
* Fixed delivery date from order

* Updated comment

* Fixed delivery date from order

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-05 12:35:53 +01:00
Frédéric FRANCE
95da49edf3 fix french doc (#37056)
* fix french doc

* fix french doc

* fix french doc

* doc translation

* doc translation

* doc translation

* doc translation

* doc translation
2026-02-02 19:22:04 +01:00
ThomasNgr-OpenDSI
079f0565d7 NEW : Manage discount for all lines for supplier elements. (#36954)
* NEW : Manage remise for all lines for supplier elements.

* Cast remise_percent to float in updateline call

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-02 00:23:40 +01:00
Laurent Destailleur
1395b5f66c CI 2026-02-01 19:04:53 +01:00
Laurent Destailleur
3ac710d260 Fix CI 2026-02-01 02:48:21 +01:00
Frédéric FRANCE
2e21b1d596 fix french doc (#37037)
* fix french doc

* Update dispatch.php

* Update dispatch.php

* Update graph.php
2026-01-31 20:29:59 +01:00
Charlène Benke
d4f68f8986 warning error if no societe->id defined (#37039) 2026-01-31 20:29:22 +01:00
Frédéric FRANCE
73ec501b20 fix french doc (#36897)
* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix

* fix

* fix

* fix

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* fix french doc

* Update html.form.class.php

* Update html.form.class.php

* Update index.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Update modules_facture.php

* Update phpstan.neon.dist

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-30 14:22:56 +01:00
Laurent Destailleur
f30acef13a Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-29 16:48:26 +01:00
Laurent Destailleur
75ae360898 Fix type 2026-01-29 15:20:52 +01:00
Laurent Destailleur
0e4243a994 Debug v23 2026-01-29 15:13:29 +01:00
Laurent Destailleur
07a2920ef6 css 2026-01-29 15:08:54 +01:00
Zakaria Boushaba
252ac1e008 NEW: Display thirdparty name with ref in supplier orders linked objects (#36952)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
2026-01-29 14:55:44 +01:00
Laurent Destailleur
c1456e9db9 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-29 13:14:14 +01:00
Sylvain Legrand
70b3be5e7f Fix from V22 (#35559)
Using a packaging with a float value less than 1 (0.1, 0.5, etc.) generates a 500 error (division by 0)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Eric - CAP-REL <1468823+rycks@users.noreply.github.com>
2026-01-29 13:02:25 +01:00
Laurent Destailleur
285371f49e Debug v23 - fix code for rounding 2026-01-29 13:01:49 +01:00
MDW
ec69a624e0 qual: Update french texts (comments) to english (#37009)
* qual: Update french texts (comments) to english

* Qual: Update comment to english in card-rec.php and card.php

Translation of comments in the files card-rec.php and card.php.

* Qual: Translate comments to English

* Qual: Translate comments to English

* Fix space into tab

* Fix spelling

* Qual: Translate comments to English

* Update website.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-28 19:34:12 +01:00
Laurent Destailleur
2ed9107dc0 Try to fix phan 2026-01-28 18:32:27 +01:00
Laurent Destailleur
5efcd7652f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-26 19:35:29 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Braito
9ab11b497e FIX|Fix supplier payment presend mail/PDF (#36939)
- Keep the presend form open after applying an email template.

- Use getDolGlobalString('SUPPLIER_PAYMENT_ADDON_PDF') (no direct ->global access).

- Ensure a PDF model is selected (fallback to first available or standard_supplierpayment) so receipt generation/attachment works.

Signed-off-by: Camino Travel Center <noreply@caminotravelcenter.com>
Co-authored-by: Camino Travel Center <noreply@caminotravelcenter.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-26 18:23:01 +01:00
NicolasL-SCOPEN
63fd9d326d Fix: subtotal lines from order to purchase order break lines on new document (#36973)
* Added a fix to prevent origin subtotal order lines from breaking purchase order lines

* Refactored code and fixed formating
2026-01-23 19:53:30 +01:00
Laurent Destailleur
39d39f475d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-23 17:46:38 +01:00
John BOTELLA
3a3a20e537 QUAL : remove PHP in JS CODE (#36473)
* New hooks and data for ajax getSupplier price

* Fix header

* Quality of code : remove PHP from js code part 02

* Quality of code : remove PHP from js code part 02

* Quality of code : remove PHP from js code part 02

* remove last php

* import last develop changes

* Update objectline_create.tpl.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-21 14:24:30 +01:00
Laurent Destailleur
fba2a97ab6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-01-21 12:16:44 +01:00
Laurent Destailleur
068fdc9431 Debug v23 2026-01-21 12:02:13 +01:00
Laurent Destailleur
ec77531a2a Debug v23 2026-01-21 11:58:56 +01:00
Laurent Destailleur
106ffcfbd6 Fix legacy code 2026-01-20 23:35:41 +01:00
atm-corentin
9c04379799 NEW : add support for label field in addline method In supplier order (#36544)
* add support for label field in addline method to set description when empty

* update
2026-01-16 11:12:47 +01:00
Alexandre SPANGARO
bd4b90eadf NEW Supplier invoice - List - use select2 multiselect for status (#36887) 2026-01-16 02:51:21 +01:00