2
0
forked from Wavyzz/dolibarr
Commit Graph

3023 Commits

Author SHA1 Message Date
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
c5751a970a Fix CSS 2024-04-19 01:39:48 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
0d5d0d6ae8 More complete log 2024-04-17 17:33:28 +02:00
Laurent Destailleur
5e74bd4db8 Fix filter on company. 2024-04-12 19:45:49 +02:00
Laurent Destailleur
e5240123a1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-12 19:24:31 +02:00
boudet jean pascal
3076b6ad40 fix 500 error count array (#29337)
* fix error 500  on array count

* fix pre-commit error

* Update html.form.class.php

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 14:44:54 +02:00
Laurent Destailleur
be52b8d75d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-12 14:32:59 +02:00
Laurent Destailleur
60578402f4 Fix when we assign sale representatives to a thirdparty, list must be
the default list with same condition than into getSalesRepresentatives()
2024-04-12 14:32:27 +02:00
Laurent Destailleur
19d4726e4c Use WHERE IN instead of SELECT DISTINCT 2024-04-12 14:22:02 +02:00
Laurent Destailleur
1240072591 QUAL Make the same condition only once. 2024-04-12 13:53:18 +02:00
MDW
bc5e5b67af Qual: Update phan baseline (#29300)
* Qual: Update phan baseline

* Init variable to ensure it is defined

* Init $module_part to ensure it is defined

* Init $modulepart to ensure it is defined

* phpdoc typing for getNetNeeds and getNetNeedsTree

* Enforce type for phan

* Initialise  $massactionbutton so that it is defined

* phpdoc: improve typing

* Encore character_set value is string (for typing)

* fixup! Qual: Update phan baseline

* Fix duplicate code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 01:06:52 +02:00
Laurent Destailleur
141718f314 Fix regression 2024-04-12 01:04:37 +02:00
Laurent Destailleur
6fcec74fed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-11 22:58:17 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
MDW
e171e8e7ef Qual: Fix all active phan notices in html.form.class.php (#29316) 2024-04-11 19:14:46 +02:00
Laurent Destailleur
132595f10f CSS customreport 2024-04-10 01:38:36 +02:00
Laurent Destailleur
b172640ae5 Debug v20 2024-04-09 03:38:38 +02:00
Nicolas Domenech
485a17b072 #29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc (#29027)
* #29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc

* Update html.form.class.php

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:33:48 +02:00
Francis Appels
e23ccabf36 Fix PR #28989, create shipment line (#29281)
* Fix PR #28989, create shipment line

* Fix Phan

* Update changelog

* Fix stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:10:58 +02:00
Regis Houssin
1f512873ff FIX phan error (#29283) 2024-04-08 22:48:33 +02:00
Laurent Destailleur
7ca303888d Look and feel v20 2024-04-08 19:20:07 +02:00
Laurent Destailleur
d6d81292ac Fix phpunit 2024-04-02 18:40:26 +02:00
Laurent Destailleur
a7cd496bd2 Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-04-02 14:57:10 +02:00
Laurent Destailleur
aad893663d Merge home page product and service 2024-04-01 13:08:35 +02:00
MDW
5c10ec533d Typing improvements for html.form.class 2024-03-30 18:09:18 +01:00
MDW
4627a14186 Ensure $assignedtouser is an array (even after json_decode) 2024-03-30 18:03:12 +01:00
MDW
dce30779e1 Improve phpdoc typing 2024-03-30 18:03:11 +01:00
MDW
7c465ede53 Fix select_dolusers selected user test when argument is User
# Fix select_dolusers selected user test when argument is User

$selected is always an array but was tested as if it was the object itself
2024-03-30 18:03:09 +01:00
Laurent Destailleur
67f76a58eb Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-03-29 13:48:07 +01:00
Laurent Destailleur
233629ed3a Merge branch 'develop' into phpstan_user 2024-03-29 12:20:23 +01:00
Jonathan lescaut
3130ede583 retour PR 2024-03-29 12:17:47 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Frédéric France
7a7b1953ed fix phpstan 2024-03-28 20:34:33 +01:00
MDW
25faef6da8 Improve typing for arg $showempty 2024-03-27 10:18:43 +01:00
MDW
767eeb605d Style (phpcbf not agreeing with php-cs-fixer) 2024-03-27 10:18:32 +01:00
MDW
41644c03f1 Accept null for formquestion in formconfirm() 2024-03-27 10:18:23 +01:00
Laurent Destailleur
92312ce4c2 Allow UFS syntax into load_previous_next_ref() 2024-03-25 20:11:24 +01:00
Laurent Destailleur
841427601f Merge pull request #29037 from mdeweerd/fix/PhanTypeInvalidPropertyName
Fix & Enable PhanTypeInvalidPropertyName
2024-03-24 14:56:42 +01:00
Laurent Destailleur
35e353cf0a Clean global variable non required 2024-03-24 14:54:36 +01:00
MDW
43addc08cb Add PHPdoc typing 2024-03-24 11:03:04 +01:00
Laurent Destailleur
6a0678e717 Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 17:36:29 +01:00
Laurent Destailleur
0bf2f3b70d Fix warning 2024-03-22 18:15:24 +01:00
MDW
91a7f3b721 Fix typing with casting and idate 2024-03-22 09:51:50 +01:00
iouston
73436bc625 update filter example
((s.client IN (1,3) AND s.status=1)) give an sql error bad syntax on filter use ((s.client:IN:1,2,3) AND (s.status:=:1)) is ok
2024-03-20 10:15:10 +01:00
MDW
26ccab2fc3 Fix arg type for strlen() with algorithm, cast for preg_match() 2024-03-19 20:38:52 +01:00
Laurent Destailleur
363a083c54 Look and feel v20 2024-03-19 15:34:47 +01:00
MDW
13ab939691 Fix deprecated function calls 2024-03-16 13:27:51 +01:00
Laurent Destailleur
b23e627a05 Merge pull request #28800 from mdeweerd/PhanPluginDuplicateConditionalUnnecessa
Fix & enable PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y"
2024-03-15 00:27:58 +01:00
MDW
8823cca117 Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:17 +01:00