Commit Graph

9165 Commits

Author SHA1 Message Date
tnegre
aa438e29be fix: avoid duplicate lines in inventory 2025-01-10 09:47:39 +01:00
Maxime Kohlhaas
1dc3a9796f Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
6250439309 Debug v21 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Maxime Kohlhaas
76c98a4666 Merge branch '21.0' of github.com:Dolibarr/dolibarr into develop 2025-01-09 18:24:41 +01:00
Maxime Kohlhaas
751e21be44 Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 18:23:38 +01:00
Maxime Kohlhaas
b754994543 Merge branch '19.0' of github.com:Dolibarr/dolibarr into 20.0 2025-01-09 18:18:36 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
8e551100a1 Fix typo 2025-01-09 01:41:24 +01:00
Laurent Destailleur (aka Eldy)
79ae59ee2a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-08 17:54:13 +01:00
Laurent Destailleur (aka Eldy)
7f8295a30c Debug v21 2025-01-08 17:45:28 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Laurent Destailleur
8a5475fe7a
Merge pull request #32564 from FHenry/19_fix_remove_priceupdate_list_when_multiprice
fix: remove list mass action update price when price mode is not uniq price
2025-01-07 21:25:22 +01:00
Laurent Destailleur (aka Eldy)
badb23635b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-07 21:03:59 +01:00
Laurent Destailleur (aka Eldy)
43e054d5e8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-07 21:00:54 +01:00
Laurent Destailleur (aka Eldy)
16683de9f3 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-07 21:00:15 +01:00
Laurent Destailleur (aka Eldy)
dd7b7a8584 FIX Bad calculation of the theoretical stock. Did not take into account
the inc/dec stock option.
2025-01-07 20:58:16 +01:00
Florian HENRY
9f25fc0c8a fix: remove list mass action update price wihen price mode is not uniq price 2025-01-07 17:27:11 +01:00
Florian HENRY
7b08a99cf6 fix: remove list mass action update price wihen price mode is not uniq price 2025-01-07 17:23:10 +01:00
Laurent Destailleur (aka Eldy)
935e7e6d31 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-06 17:44:06 +01:00
Laurent Destailleur (aka Eldy)
3987fc6289 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-06 16:18:42 +01:00
ATM-Lucas
39108e70c4 php error 2025-01-06 15:36:56 +01:00
ATM-Lucas
584a0a8afe Empty child warehouse sql error 2025-01-06 15:28:46 +01:00
Laurent Destailleur
985bf20ca5
Merge pull request #32288 from Hystepik/add-drag&drop-on-some-cards
NEW add drag & drop of files on some cards
2025-01-05 19:16:48 +01:00
Laurent Destailleur (aka Eldy)
1d194efc3d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-05 18:43:15 +01:00
Laurent Destailleur (aka Eldy)
2c2ac2a48f Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-05 18:38:48 +01:00
Laurent Destailleur (aka Eldy)
1cfa3b5803 Fix warning 2025-01-05 18:34:01 +01:00
Erik van Berkum
b3c286a673 FIX units product
solves issue #32495: current Empty testing for 0 results in TRUE and
makes it an empty string. Testing for is_null solves the issue.

this issue is connected with pull FIX #32496
2025-01-05 17:43:23 +01:00
Erik van Berkum
f836156414
FIX units product
solves issue #32495: current Empty testing for 0 results in TRUE and makes it an empty string. Testing for is_null solves the issue. 

this issue is connected with pull FIX #32496
2025-01-05 16:44:41 +09:00
Laurent Destailleur (aka Eldy)
dee9f20f0c Debug v21 2025-01-04 13:47:41 +01:00
Laurent Destailleur (aka Eldy)
862ddc45bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-03 16:43:31 +01:00
Regis Houssin
bca2134b6d FIX units used scale and scale is an integer 2024-12-31 06:46:21 +01:00
Laurent Destailleur (aka Eldy)
85547f7594 Debug v21 2024-12-30 00:50:33 +01:00
Laurent Destailleur (aka Eldy)
5d40289604 Debug v21 2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
ba7ba6f37f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
be5eef7053 Complete #32292 #32434 2024-12-26 15:43:29 +01:00
Laurent Destailleur
650ebcee78 Merge pull request #32434 from Codered741/develop
# FIX|Fix #32292
2024-12-26 15:43:29 +01:00
Regis Houssin
40a36e8675 FIX "location_incoterms" is a string 2024-12-23 06:21:26 +01:00
Frédéric France
7ba7a975a1
fix phpstan 2024-12-19 21:57:14 +01:00
Frédéric France
50d137a5ea
fix phpstan 2024-12-19 21:01:00 +01:00
Codered741
d321f4cc7d response to issue #32292 2024-12-19 12:22:58 -05:00
Laurent Destailleur (aka Eldy)
6be3801b57 Merge 2024-12-19 18:02:37 +01:00
Laurent Destailleur
aa4d75a78b
Merge pull request #32427 from hregis/fix_20_do_not_check_if_module_not_enabled
FIX broken feature, check if module is enabled
2024-12-19 17:46:50 +01:00
Regis Houssin
e070a3eda4 FIX broken feature, check if module is enabled 2024-12-19 12:22:10 +01:00
Laurent Destailleur (aka Eldy)
81e64ed9a4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-17 16:59:13 +01:00
Laurent Destailleur (aka Eldy)
91eb9fc9fb Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-17 16:54:55 +01:00
Noé Cendrier
5573ca35c3 FIX: comparing strings with numbers can be touchy 2024-12-16 15:32:54 +01:00
Laurent Destailleur (aka Eldy)
2ddd518029 Debug v21 2024-12-13 18:11:05 +01:00
Frédéric FRANCE
e5449c7a67
fix phpstan 2024-12-11 18:53:16 +01:00
Frédéric FRANCE
a30e367b9d
fix phpstan 2024-12-11 18:40:48 +01:00
Frédéric FRANCE
9738afbab5
fix phpstan 2024-12-11 18:29:46 +01:00
Frédéric FRANCE
a97ffa8553
fix phpstan 2024-12-11 18:16:28 +01:00
Frédéric FRANCE
3bb34cbf24
fix phpstan 2024-12-11 18:12:08 +01:00
Frédéric FRANCE
45fa431092
fix phpstan 2024-12-11 18:07:16 +01:00
Frédéric FRANCE
bf46df80d4
fix phpstan 2024-12-11 18:04:05 +01:00
Florian HENRY
f8bd644b58 fix: Variant with multiprice, on creation of variant, percent variation is not save 2024-12-09 17:41:56 +01:00
Hystepik
4553ba1f81 New add drag & drop on some cards 2024-12-09 11:08:49 +01:00
Laurent Destailleur (aka Eldy)
352d156dd7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-12-08 17:07:14 +01:00
MDW
ec2a1928ba
Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
John BOTELLA
a2189dfb4c Fix llx_header params 2024-12-04 08:37:12 +01:00
Laurent Destailleur (aka Eldy)
0774070182 Debug v21 2024-12-03 11:18:35 +01:00
Laurent Destailleur (aka Eldy)
203a8e7c6a Debug v21 2024-12-03 10:58:52 +01:00
Laurent Destailleur (aka Eldy)
2388da4e31 Debug v21 2024-12-01 15:21:38 +01:00
Laurent Destailleur (aka Eldy)
51611489be Debug v21 2024-11-30 12:52:57 +01:00
Frédéric FRANCE
13b8f5feff
keep only commonobject property oldcopy (#32123)
* clean properties

* clean properties

* clean properties

* clean properties

* clean phpcs

* clean phan

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-27 21:59:41 +01:00
Laurent Destailleur
7b30d8d37c Debug v21 2024-11-22 10:53:08 +01:00
Laurent Destailleur
e9c1274356 Debug v21 2024-11-20 23:47:39 +01:00
Laurent Destailleur
0d07520e02 Fix to make protection ok when no stock and
STOCK_ALLOW_NEGATIVE_TRANSFER on
2024-11-20 23:19:48 +01:00
Laurent Destailleur
9191c216f3 Fix to make protection ok when no stock and
STOCK_ALLOW_NEGATIVE_TRANSFER on
2024-11-20 22:53:34 +01:00
Laurent Destailleur
d22c3dbded Trans 2024-11-20 21:47:02 +01:00
Frédéric FRANCE
daae68f9d3
Fix phpstan (#32005)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-19 21:02:05 +01:00
Frédéric FRANCE
2ece62ec0d
fix phpstan (#31994)
* fix phpstan

* fix phpstan
2024-11-19 03:04:41 +01:00
Frédéric FRANCE
b40e033f7b
fix tooltips close #31989 (#31991)
* fix tooltips

* Update product.class.php

* Update product.class.php
2024-11-19 00:10:20 +01:00
Frédéric FRANCE
45b07ca0a1
fix phpstan (#31988)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-18 21:21:40 +01:00
Laurent Destailleur
e1eeef46ab Fix test on var 2024-11-18 17:10:56 +01:00
Laurent Destailleur
90652a8d5d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-18 15:39:52 +01:00
Laurent Destailleur
6afb0774d5 Fix warning 2024-11-18 15:10:50 +01:00
Frédéric FRANCE
943d10c60a
fix phpstan and CI (#31969)
* fix phpstan

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline
2024-11-18 15:10:29 +01:00
omogenot
31dda93490
Add missing hook context to parameters array (#31942)
There is a missing context value in the parameters array passed to executeHooks. This missing parameter prevents an external hook to determine which context called and define hook behaviour.
2024-11-16 14:47:02 +01:00
Frédéric FRANCE
c496df7dfe
test github token (#31931)
* test github token

* solving errors

* test github token

* test

* test

* fix

* fix

* fix

* fix

* fix
2024-11-16 11:39:55 +01:00
jyhere
15d82576de
FIX : Default values feature is broken on units field on product create (#31873)
* FIX : Default values feature is broken on units field on product create

* FIX: use getDolGlobalString, removed useless ternary
2024-11-16 02:45:13 +01:00
Frédéric FRANCE
4d51d72d73
clean phpstan baseline (#31926)
* clean phpstan baseline

* clean phpstan baseline

* clean phpstan baseline

* clean baseline

* fix
2024-11-16 02:11:32 +01:00
Frédéric FRANCE
0cb9fe1241
fix select unit (#31868)
* fix select unit

* Update html.formproduct.class.php
2024-11-16 00:15:13 +01:00
Lucas Marcouiller
c96b909727
fix null vaue in stocktransfer_card (#31886)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 23:57:03 +01:00
Frédéric FRANCE
e0562817d6
fix usf filters (#31897) 2024-11-15 23:45:24 +01:00
Eric - CAP-REL
ef67a4c31b
fix #27534 (#31896) 2024-11-15 23:26:05 +01:00
Lucas Marcouiller
615bc3143c
fix warnings for tocktransfer/stocktransfer_agenda.php (#31893)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 23:06:16 +01:00
IC-Victorien
4432fa7913
FIX warehouse list status (#31902) 2024-11-15 22:32:10 +01:00
Frédéric FRANCE
ec91ed2af9
test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

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

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
HENRY Florian
ba46e7dfd5
fix/feat: ProductLot document folder have to be the rowid (#29859)
* fix/feat: ProductLot docuement folder have to be ID as batch is not unique

* fix/feat: ProductLot docuement folder have to be ID as batch is not unique

* add translation

* fix travis

* fix travis

* fix CI*

* fix CI

* fix: travis CI

* reset from develop

* reset from develop

* reset from develop

* reset from develop

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:12 +01:00
Laurent Destailleur
a64de4d24d Clean code 2024-11-12 12:57:08 +01:00
Laurent Destailleur
b86a48106b Fix phan 2024-11-12 12:43:50 +01:00
Laurent Destailleur
c9972f1dd9 Fix phan 2024-11-12 03:32:57 +01:00
Laurent Destailleur
960413db0f Close #24389 2024-11-12 01:57:51 +01:00
Frédéric FRANCE
92ef950e6d
fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
7ef1d270e7
fix phpstan in loan cards (#31758)
* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in cards
2024-11-10 17:55:36 +01:00
Frédéric FRANCE
15490b292f
fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Frédéric FRANCE
5cf3074d28
clean phpstan baseline (#31725)
* clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 14:41:01 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
MDW
278d301f32
Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
Laurent Destailleur
434697e78e FIX Search on batch code 2024-11-06 23:52:53 +01:00
MDW
178d748cad
Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
0d7bc505d3
add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Christian Humpel
bb3589e63e
Fix #31670 (#31671)
Invalid Type
2024-11-04 12:25:00 +01:00
Je2fb
408215b873
Fix issue product multicurrency price in form list and incoterm location (#31651)
* Update html.form.class.php for multicurrency issue

Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice

* Fix Incoterm location

Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update shipment.php

* Update card.php

* Update card.php

* Update stocktransfer_card.php

* Update card.php

* Update card.php
2024-10-31 18:45:24 +01:00
kkhelifa-opendsi
f7ff36dde3
NEW: Add sort by ref warehouse/product or ref product/warehouse on inventory product list (#31639)
* NEW: Add sort by ref warehouse/product or ref product/warehouse on inventory product list

* fix travis

* fix travis
2024-10-30 21:37:01 +01:00
MDW
f4ff437026
Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
lamrani abdelwadoud
37adda54b3
update left column in price supplier list for product (#31626)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-29 21:51:16 +01:00
Frédéric FRANCE
6dd6ab7906
fix phpstan (#31614)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-29 17:40:56 +01:00
Laurent Destailleur
b717be581f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 02:59:40 +01:00
Laurent Destailleur
e6f1d4835f Clean sql code 2024-10-29 02:58:20 +01:00
Anthony Berton
94de6f5ea7
NEW - replenishment if the warehouse is set to the default selected user (#31229)
* NEW - replenishment if the warehouse is set to the default selected user

* FIX

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2024-10-28 21:15:01 +01:00
Laurent Destailleur
eec0f2b101 Add TODO 2024-10-28 15:10:55 +01:00
lamrani abdelwadoud
cc4f86dac3
New functionality Generate img product (#29731)
* New functionality for generate image for product

* New functionality for generate image for product

* Fix errors CTI

* remove null for second params

* fix CTI errors again

* Fix whitespace

* Fix whitespaces again

* Fix run phan

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-28 14:51:36 +01:00
Frédéric FRANCE
12cc51b0bd
fix service duration in minutes (#31592)
* fix service duration in minutes

* fix

* fix

* fix
2024-10-27 19:24:48 +01:00
Laurent Destailleur
cb0ab53709 Look and feel v21 2024-10-27 14:08:59 +01:00
Laurent Destailleur
e2a7691d60 Debug v21 2024-10-27 02:45:08 +01:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
MDW
fcd680d300
Qual: Fix phan & phpstan notices (#31496)
# Qual: Fix phan & phpstan notices

Fix multiple phan & phpstan notices
2024-10-25 14:20:55 +02:00
MDW
28e78d6cb4
Qual: Fix phan/stan notices for conferenceorbooth, facture-re, productcustomerprice (#31541) 2024-10-25 14:18:17 +02:00
Laurent Destailleur
8bae2d99d8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-24 20:13:12 +02:00
Laurent Destailleur
a17d26665c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-24 20:08:28 +02:00
Laurent Destailleur
f62c179b06 CSS 2024-10-24 19:27:50 +02:00
Laurent Destailleur
9499292bad Debug hidden feature 2024-10-24 16:21:58 +02:00
MDW
0d2f1cf666
Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
Frédéric FRANCE
12ca029fb0
fix phpstan (#31491)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-23 23:28:38 +02:00
Anthony Berton
1778401423
FIX---PHP-warning-multiprice-in-liste-product-if-level-is-not-defined-on-product (#31507)
* FIX - PHP warning multiprice in liste product if level is not defined on product

* Update list.php

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-23 23:06:00 +02:00
omogenot
f869034c8c
FIX: Make html form warehouse select filter between closed and opened work if const ENTREPOT_EXTRA_STATUS not set (#31508)
* Update html.formproduct.class.php

Fix filter status variable that is reset if global constant ENTREPOT_EXTRA_STATUS is not set. This prevents the warehouse list to display only opened or closed warehouse is the global const is not set.

* Update html.formproduct.class.php

Fix typo
2024-10-23 21:00:56 +02:00
omogenot
cd9e54b1a2
FIX: Replenishment lib class does not extract data from already received supplier orders (#31440)
* Update replenishment.lib.php

* Fix wrong table column name from fk_command to fk_element for table receptiondet_batch
* use error free  getDolGlobalString to access global variable to replace $conf->global access.

* Update replenishment.lib.php

Fix typo

* Update replenishment.lib.php

Use getDolGlobalInt instead of getDolGlobalString for numeric constant

* Update replenishment.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:19:01 +02:00
Noé Cendrier
a18103187c
NEW: Management of extrafields on customer prices, level prices and default prices (#31313)
* ADD: Management of extrafields on customer prices, level prices and default prices

* ADD: sql table for managing extrafields on customer prices, level prices and default prices

* FIX: Add actions to update, add, delete extrafields and display extrafield

* FIX: colspan for customer price table

* ADD: Management of extrafields on customer prices

* FIX: Value and search for price label

* ADD: name in the files

* FIX: *

* FIX: PHP-cs fail

* FIX: comment in english, please

* FIX: variable naming and testing

* FIX: GETPOST array

* FIX: return is an array of strings, object array will be modified as well

* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too

* FIX: do not mess with extrafields code and value

* Update llx_product_customer_price_extrafields.sql

* Update llx_product_price_extrafields.sql

* FIX: whooopsie

* FIX: PHP warnings

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-19 09:50:18 +02:00
Laurent Destailleur
1d2683da89 FIX permission on stock transfer pages 2024-10-18 03:27:57 +02:00
Laurent Destailleur
10c58950bb Look and feel v21 2024-10-15 10:16:48 +02:00
Laurent Destailleur
046166f483 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-14 21:38:12 +02:00
Laurent Destailleur
916014707d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-14 21:18:24 +02:00
Laurent Destailleur
b099e103b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-14 21:00:26 +02:00
Laurent Destailleur
d819d88718 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-14 20:18:46 +02:00
Laurent Destailleur
278eea6fae Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-10-14 20:18:22 +02:00
Laurent Destailleur
fa22ebd893 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-10-14 19:31:08 +02:00
MDW
53cfbc35be
Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Laurent Destailleur
a255e9b5c8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-13 20:58:40 +02:00
sonikf
822e3cacd8
fix translation for non latin languages (#31343) 2024-10-13 19:39:14 +02:00
Laurent Destailleur
aa849f548f FIX default visiblity 2024-10-11 11:29:03 +02:00
Laurent Destailleur
0ad3de31f4 FIX default visiblity 2024-10-11 11:28:40 +02:00
Laurent Destailleur
9509929f5d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-10-07 15:11:42 +02:00
Laurent Destailleur
92c848d5bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-07 14:40:53 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
MDW
f4c91d5bb6
Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00