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
MDW
34e3717dda
Qual: Fix phan/phpstan notices ( #31289 )
...
* Qual: Fix phan/phpstan notices
# Qual: Fix phan/phpstan notices
Fix several phan/phpstan notices
* Fix spelling in Changelog
2024-10-06 13:03:43 +02:00
MDW
f70c945931
Qual: Fix phan/stan notices ( #31271 )
...
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall
Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
thomas-Ngr
336d3ad8e5
finish fix ( #31203 )
2024-10-03 21:03:13 +02:00
MDW
1834c37c16
Qual: Fix phan notices ( #31212 )
...
* Qual: Fix phan notices
# Qual: Fix phan notices
Fix several phan notices related to classes with UnknownObject
classes.
* Qual: Fix phan notices
* Qual: Fix phan notices
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
MDW
2d0b1de36f
Qual: Add codespell entries to catch some css typos ( #31222 )
...
# Qual: Add codespell entries to catch some css typos
Added some codespell entries based on the observed typos in css
tags
2024-10-03 19:36:59 +02:00
Laurent Destailleur
6b2fa56d52
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-01 15:01:18 +02:00
Laurent Destailleur
075d0dee3c
FIX Selection of country - state in resource
2024-10-01 14:27:45 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
a760fc0092
fix phpstan ( #31189 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-29 21:51:51 +02:00
Laurent Destailleur
a762d4111d
FIX Debug link to user in list of product prices
2024-09-29 05:57:57 +02:00
Laurent Destailleur
a69022a3bb
FIX Debug calculation of the delay of purchase order
2024-09-29 05:34:04 +02:00
Laurent Destailleur
c5607dd212
FIX Debug calculation of the delay of purchase order
2024-09-29 05:32:27 +02:00
John BOTELLA
fdb885f0a3
Warehouse list display mode ( #31013 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:46:20 +02:00
Laurent Destailleur
cc80841a2e
Complete #31031
2024-09-26 18:00:37 +02:00
John BOTELLA
1a5e42692e
FIX : max product combo limit ( #31031 )
...
* Fix max product combo limit
* Use already exist conf
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 17:49:39 +02:00
UltraViolet33
b2aafb37f3
Fix agenda event type label instead of event type code on actionComm card ( #31106 )
...
* Fix display agenda event type label instead of event type code when event type code has no translation
In a ActionComm card, if we use agenda event types, the type of event displayed is the event code if this event code has no translation.
Now, if there is no translation, the label of the event type is displayed instead of the code.
* fix for PHPStan
* fix for PHPStan
* fix for PHPStan
* fix for PHPStan
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 17:47:49 +02:00
Laurent Destailleur
76014e5681
Fix phan
2024-09-26 00:46:39 +02:00
Laurent Destailleur
2aea634669
Fix phpstan
2024-09-26 00:22:19 +02:00
Noé Cendrier
22729516fe
NEW Add mode Customer price + level price ( #31091 )
...
* NEW: customer price and level price together
* NEW: translation
* FIX: If a price per customer exist
* FIX: do not use default price if the customer price and level price option is active
* Don't display the price level amount if the customer price is known
* FIX: double check and php cs correction
* FIX: vatrate call
* FIX: get_htmloutput_msg call
---------
Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
2024-09-25 23:18:16 +02:00
Laurent Destailleur
b32225283d
Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop
2024-09-25 22:32:36 +02:00
Frédéric FRANCE
a94cff63a7
fix phpstan ( #31102 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
59dadd88a3
FIX Duplicate trigger printFieldPreListTitle
2024-09-25 13:43:11 +02:00
Laurent Destailleur
cc95331fc6
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-23 22:09:24 +02:00
Laurent Destailleur
7b5c4b2e99
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-23 21:57:16 +02:00
Laurent Destailleur
c10e968600
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-09-23 21:52:08 +02:00
Laurent Destailleur
2f773e9326
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-09-23 21:45:03 +02:00
Laurent Destailleur
1594afdef7
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-09-23 21:44:25 +02:00
Laurent Destailleur
ad154a368f
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-09-23 21:43:48 +02:00
Laurent Destailleur
171494ddfc
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-09-23 21:43:24 +02:00
MDW
5e02bec9df
Qual: Fix getTooltipContentArray typing hints ( #31081 )
...
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Charlène Benke
70d87496e8
NEW Add Unit price on supplier order stat product ( #31055 )
...
* Add Unit price on supplier order stat product
* Update commande_fournisseur.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 03:19:44 +02:00
Laurent Destailleur
6feefbb8c5
Fix trans
2024-09-23 03:16:12 +02:00
Laurent Destailleur
f6ae2815c1
Fix missing translation
2024-09-23 03:00:19 +02:00
Laurent Destailleur
8f54f06e12
FIX #31076 Bad position of hooks
2024-09-23 02:26:19 +02:00
Laurent Destailleur
053f799ef2
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-23 02:25:10 +02:00
Laurent Destailleur
74ad35dcac
FIX #31076 Bad position of hooks
2024-09-23 02:24:43 +02:00
Frédéric FRANCE
000173c7b9
fix phpstan ( #31075 )
...
* 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
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
omogenot
a7dcfab8a2
NEW : Update warehouse product list to add another sorting option ( #30971 )
...
* Update warehouse product list to add another sorting option
Add the ability to sort product list by average buying price to identify high cost laying products in stock.
* Fix variable typo
* Update card.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:24:24 +02:00
Frédéric FRANCE
f6776541b6
Fix ignored phpstan ( #31009 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-20 02:19:05 +02:00
Rémi Champlon
84dc817371
Add hook on inventory::LibStatut() ( #30990 )
...
Co-authored-by: Rémi Champlon <r.champlon@vold.lu>
2024-09-18 03:24:22 +02:00
Frédéric FRANCE
d5fe4f998a
fix phpstan ( #30989 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-18 02:45:54 +02:00
Laurent Destailleur
ea5d55a9a8
fix phpstan ( #30991 )
...
* fix phpstan
* fix phpstan
2024-09-18 02:03:50 +02:00
Frédéric FRANCE
96dfda7ece
fix phpstan ( #30991 )
...
* fix phpstan
* fix phpstan
2024-09-18 01:35:52 +02:00
Laurent Destailleur
5e261844b0
Fix removed dynamic propeties not allowed in PHP 8.2
2024-09-18 00:00:07 +02:00
Frédéric FRANCE
a5190ac613
fix phpstan ( #30986 )
...
* fix phpstan
* fix phpstan
2024-09-17 00:32:41 +02:00
MDW
115627a054
Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice ( #30957 )
...
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice
* Update phan baseline
* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
Frédéric FRANCE
2a6bbf88df
fix phpstan ( #30944 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-13 17:40:03 +02:00
MDW
f89245b354
Qual: Fix some CommonIncoterm/DocGenerator/People typings ( #30940 )
...
* Fix extraparams property typing
* Fix argument typing
* Fix 'status' argument type in calls to dolGetButtonTitle
* Fix argument2 for price to 1 (was 2)
* Fix deliveryreceipt argument
* Fix PHPDoc dol_sort_array
* Fix range for int argument
* Fix arg type for str_pad and add some PHPDoc
* Fix natsort value for dol_sort_array
* Fix arguments on calls to dol_sort_array
* Reduce phpstan exceptions
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Typing, initialisation
* Qual: Fix undeclared variables
* Update phan baseline
* Update baseline
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Add PHPDoc for host class properties
* Ignore false positive (phan) for deprecated property
* Improve typing
* Update baseline
2024-09-13 03:09:23 +02:00
Laurent Destailleur
9f693ea049
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-09 03:53:42 +02:00
Laurent Destailleur
3e9a0cfa99
Debug v20
2024-09-09 03:52:25 +02:00
Laurent Destailleur
043f396ea1
Doc
2024-09-09 03:37:46 +02:00
HENRY Florian
686f48c615
fix: display batch ref in OF during production ( #30886 )
...
* fix: display batch ref in OF on prod
* fix: display batch ref in OF on prod
* Update global.inc.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-09 03:12:50 +02:00
Frédéric FRANCE
6aac956b7a
fix phpstan ( #30868 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-09 02:29:23 +02:00
Laurent Destailleur
e003c6a516
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-07 02:20:15 +02:00
Laurent Destailleur
bd04568799
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-07 02:18:33 +02:00
Laurent Destailleur
4e9286de38
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-09-07 02:14:25 +02:00
Laurent Destailleur
77a76aad7a
Fix test on permissions
2024-09-06 17:36:50 +02:00
Frédéric FRANCE
eb04c5c427
fix phpstan ( #30860 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-06 13:44:29 +02:00
kkhelifa-opendsi
21ec7ce98f
FIX: Error message overwrited when a error occurs during update of product multilangs ( #30841 )
2024-09-06 13:24:59 +02:00
Laurent Destailleur
c972f44dc2
Debug v20 - Fix mandatory fields
2024-09-06 02:59:21 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* 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
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +02:00
thomas-Ngr
9f5ef68123
fix replenish with multicurrency ( #30832 )
...
* fix replenish
* Use multicurrency supplier price instead of recomputing from EUR supplier price
2024-09-05 16:01:31 +02:00
Laurent Destailleur
c98273fed1
Fix phan error; Currently getExample has different signature defined
...
into parents
2024-09-03 17:59:06 +02:00
Laurent Destailleur
7e6f98625b
Fix phan
2024-09-03 17:54:53 +02:00
Laurent Destailleur
c79f72f785
Fix missing tests on permissions
2024-09-03 16:19:18 +02:00
Laurent Destailleur
c8505f9c0a
Fix missing test on permissions
2024-09-01 21:04:53 +02:00
Laurent Destailleur
5fcda2157e
Fix missing test on permissions
2024-09-01 14:32:49 +02:00
Laurent Destailleur
2e2ab9d84d
Fix missing test on permissions
2024-09-01 13:48:58 +02:00
Laurent Destailleur
e2b5725c98
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-01 12:47:11 +02:00
Laurent Destailleur
686c60e0bc
Fix permission to update stock
2024-08-31 19:13:26 +02:00
Laurent Destailleur
2009c6f09a
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 17:30:32 +02:00
Laurent Destailleur
2c28d039e2
Fix test on permissions
2024-08-31 16:26:08 +02:00
Laurent Destailleur
d1158716c7
Fix #yogosha23806 Can update stock without permission
2024-08-31 14:48:50 +02:00
Laurent Destailleur
68b0d28851
Fix permission to see data on tooltips
2024-08-31 14:19:48 +02:00
Laurent Destailleur
558dbbe1df
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 14:03:51 +02:00
Laurent Destailleur
28929404e1
Fix filter on product/service depending on permission
2024-08-31 14:03:28 +02:00
Laurent Destailleur
4008ec78ff
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 13:55:03 +02:00
Laurent Destailleur
d8bc22fa34
Debug v20
2024-08-31 13:53:45 +02:00
Laurent Destailleur
a5d4cffe50
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 13:33:40 +02:00
Laurent Destailleur
afc31bca34
Fix #yogosha23803
2024-08-31 13:33:10 +02:00
Laurent Destailleur
2cbf4facf9
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 12:59:08 +02:00
Laurent Destailleur
4f51be99d0
Fix button must be greyed if permission is not available
2024-08-31 12:58:48 +02:00
Laurent Destailleur
2990d71898
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-31 12:57:10 +02:00
Laurent Destailleur
3e6f61e232
Fix button must be greyed if permission is not available
2024-08-31 12:56:53 +02:00
Laurent Destailleur
065ef0b2af
Fix shadow must be same for all buttons. if we chang for common we must
...
change for fordbidden, grayed and others.
2024-08-30 16:32:16 +02:00
MDW
a8367a6cd8
Qual: Fix getNextValue related phan notices (part2) ( #30752 )
...
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix getNextValue related phan notices (part2)
* Update baseline
* Qual: Fix phan notice
2024-08-29 13:34:24 +02:00
jyhere
14be647b5c
FIX: wrong wording when user has no right to transfer stock ( #30776 )
2024-08-29 09:22:35 +02:00
antonin_tdj
060c0b97c0
Avoid divisionByZero PMP Calculation ( #30786 )
...
* Avoid divisionByZero PMP Calculation
In case of a product return, division by Zero may occur if new stock becomes 0.
* Update mouvementstock.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-29 09:14:43 +02:00
Laurent Destailleur
0feb44cd9e
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-26 21:09:21 +02:00
Laurent Destailleur
d61d92a741
Fix param position
2024-08-26 21:02:58 +02:00
VIAL-GOUTEYRON Quentin
35aa236a8b
FIX : fk_product of inventory should take care of conf STOCK_SUPPORTS… ( #30726 )
...
* FIX : fk_product of inventory should take care of conf STOCK_SUPPORTS_SERVICE
* Update inventory.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-23 15:07:54 +02:00
atm-adrien
bcfaaa414f
FIX : Propal stats page did not work ( #30736 )
2024-08-23 15:05:53 +02:00
Laurent Destailleur
ba25c49333
Fix permiss
2024-08-22 14:10:59 +02:00
Laurent Destailleur
d7d1e73ac9
Fix test on permissions
2024-08-22 14:06:29 +02:00
Laurent Destailleur
30d2003dfc
Fix use permission to validate action.
2024-08-22 13:24:05 +02:00
Laurent Destailleur
38b9ae3038
Fix missing permission when PRODUCT_ADD_FORM_ADD_TO is on
2024-08-22 13:18:33 +02:00
Laurent Destailleur
9df371891c
Fix more complete for #30707
2024-08-22 03:41:38 +02:00
Laurent Destailleur
f5a9152af8
Fix more complete for #30707
2024-08-22 03:40:39 +02:00
Laurent Destailleur
97d03a477b
Fix must use same position of button between screens
2024-08-22 03:38:23 +02:00
atm-corentin
660554bd38
Fix change object element condtition to display the select products when there is a stock correction ( #30707 )
...
* Fix change object element condition on sotck movement to print the select product
* FIX object element
2024-08-22 03:36:09 +02:00