Commit graph

133486 commits

Author SHA1 Message Date
Laurent Destailleur
739efc8086 Clean code 2024-02-22 12:23:12 +01:00
Laurent Destailleur
95fe95056d Clean deprecation 2024-02-22 11:57:38 +01:00
Laurent Destailleur
db112104e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-22 11:47:23 +01:00
Laurent Destailleur
6bf8bd3920 Fix ->ventil property 2024-02-22 11:47:00 +01:00
Eric
af062aa5f6
datenextrun is mandatory as dolibarr 16.0 (#28344) 2024-02-22 11:34:39 +01:00
Eric
9e1cb4c88a
nom (deprecated) -> name (#28345) 2024-02-22 11:33:40 +01:00
Laurent Destailleur
ba204f2787 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-02-22 11:33:05 +01:00
Laurent Destailleur
07a5e05c17 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-22 11:32:45 +01:00
Olivier ANDRADE SANCHEZ
1fe93ab55e
[FIX] Add fetch_optionnals() to BOMLine for api calls (#28349) 2024-02-22 11:32:30 +01:00
Laurent Destailleur
5167fe2a62 Fix complete for #28349 2024-02-22 11:32:21 +01:00
Laurent Destailleur
9ef57501a2 Fix var_dump 2024-02-22 11:22:43 +01:00
Laurent Destailleur
288d14b7af Fix changelog 2024-02-22 02:58:16 +01:00
MDW
d5d7003f08
Qual: Add test to validate module_names (#28340)
* Qual: Add test to validate module_names

# Qual: Add test to validate module_names

This ensures that all explitly tested module names appear in the reference list.
Displays messages when the module_name is deprecated

* Update CodingPhpTest.php

* Update CodingPhpTest.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-22 02:54:37 +01:00
MDW
5f9047b2e3 #FIX modulenames (#28338)
* Fix: modulename

* Fix: modulename
2024-02-22 02:45:57 +01:00
MDW
5faf933d26
#FIX modulenames (#28338)
* Fix: modulename

* Fix: modulename
2024-02-22 02:45:36 +01:00
Can Arslan
7112c5a782
FIX: PHP Warning: Undefined variable $lib (#28342) 2024-02-22 02:42:57 +01:00
Laurent Destailleur
ae84bf8752 Fix error if result empty 2024-02-22 02:36:21 +01:00
Laurent Destailleur
c5b0a13557 Fix warning 2024-02-22 02:27:19 +01:00
Laurent Destailleur
9d48dcbd3d Fix phpstan 2024-02-22 01:32:55 +01:00
Laurent Destailleur
3d688cfb55 FIX Bad picto on list of permission of a user when user not admin 2024-02-22 01:13:27 +01:00
Laurent Destailleur
cfa1b78efe FIX disabled pito of menu must be greyed. 2024-02-22 00:44:21 +01:00
Laurent Destailleur
841647243c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-22 00:19:28 +01:00
Laurent Destailleur
0505f8e563 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-22 00:19:19 +01:00
Laurent Destailleur
2807c9410f Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-22 00:19:19 +01:00
Laurent Destailleur
32d35d5443 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-22 00:18:42 +01:00
Laurent Destailleur
9874d008aa Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-22 00:16:59 +01:00
Laurent Destailleur
1f129feed8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-22 00:16:36 +01:00
Laurent Destailleur
88da45d9dd Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-22 00:16:14 +01:00
Laurent Destailleur
a76eafa0d4 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-02-22 00:15:35 +01:00
Laurent Destailleur
8c2a910a94 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-02-22 00:13:59 +01:00
Laurent Destailleur
f7e8725406 Clean code 2024-02-22 00:12:33 +01:00
Laurent Destailleur
efd2afb8f9 comment 2024-02-22 00:11:48 +01:00
Saami PERDRIX
52646ee9f5
fix aperçu/dl fichier quand il est dans {userid}/temp (#27211) 2024-02-22 00:10:04 +01:00
Laurent Destailleur
c396dcdfbb Fix from #27211 2024-02-22 00:09:45 +01:00
Can Arslan
c0a5b4fe4c
FIX: removed unnecessary check (#28339)
* FIx: modulenames (#28337)

* Fix modulename

* Fix modulename

* Fix modulename

* FIX: removed unnecessary check

Condition is already checked on line 482

---------

Co-authored-by: MDW <mdeweerd@users.noreply.github.com>
2024-02-21 23:44:06 +01:00
Laurent Destailleur
b4255e1b6c Rename var into
PRODUCT_STOCK_LIST_SHOW_WITH_PRECALCULATED_DENORMALIZED_PHYSICAL_STOCK
2024-02-21 19:33:14 +01:00
kkhelifa-opendsi
defd08ad93
NEW: Add global PRODUCT_STOCK_LIST_SHOW_WITH_COMPILED_PHYSICAL_STOCK for this is based on compiled physical stock, not the sum of product stocks on existing links. (#28171)
Because products without a warehouse no longer appear.
2024-02-21 19:28:01 +01:00
MDW
e363e53516 FIx: modulenames (#28337)
* Fix modulename

* Fix modulename

* Fix modulename
2024-02-21 19:17:56 +01:00
MDW
5a4c8c6ce7 FIx: modulenames (#28337)
* Fix modulename

* Fix modulename

* Fix modulename
2024-02-21 19:10:32 +01:00
Laurent Destailleur
c3868af0fb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-21 19:09:47 +01:00
MDW
0fa220d138
FIx: modulenames (#28337)
* Fix modulename

* Fix modulename

* Fix modulename
2024-02-21 19:09:37 +01:00
Laurent Destailleur
ff524c9a52 Reduce label 2024-02-21 19:05:08 +01:00
Laurent Destailleur
3a23581b9e Mutualize code 2024-02-21 18:59:46 +01:00
Josep Lluís
54af8a88d8
NEW multiselect with checkbox in categories/tags search for thirdparty list (#28335)
NEW multiselect with checkbox in categories/tags search for thirdparty list
2024-02-21 18:48:20 +01:00
MDW
8655d5a86b
QUAL Use phan to help detect new issues (#27706)
* Qual: Add phan flow

- Add phan configuration (config, baseline, stubs);
- Add github action;
- Update apstats.php.

* Add directives to ignore false phan notices

* Qual: Add typing hints for extrafields TPL files

# Qual: Add typing hints for extrafields TPL files

Add typing hints for phan on view files

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 18:14:29 +01:00
Benjamin Falière
5460b97e8b
NEW contact type on auto add contributor (#26077)
* NEW contact type on auto add contributor

* ADD second option

* RESTORE ticket module for external and fix constant

* GetDolGlobalInt

* Update ticket.class.php

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 18:08:35 +01:00
Laurent Destailleur
5c01965e9e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-21 17:42:03 +01:00
Laurent Destailleur
e69fa236ef Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-21 17:41:50 +01:00
Laurent Destailleur
b5400ff7a9 Comment 2024-02-21 17:41:19 +01:00
MDW
05527d3998
Fix: Allow new & old names to check if module is loaded. (#28297)
* Fix: Allow new & old names to check if module is loaded.

# Fix: Allow new & old names to check if module is loaded.

The method 'isModEnabled()' was already checking some modules for
their new name, but after transitioning Conf this was not working
for 'member'.  Now testing for both names as 'Conf' can handle
both and deprecation will be reported.

Several issues were discovered after removing deprecated values.

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 17:31:08 +01:00