Commit Graph

8165 Commits

Author SHA1 Message Date
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
880fc534b8
Merge pull request #27040 from fappels/19_fix-warehouse_list
Fix warehouse list
2023-12-14 02:43:41 +01:00
Laurent Destailleur
bd8333d712
Merge pull request #27069 from msoula/develop
FIX SQL query construction using category as filter.
2023-12-14 01:39:21 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Laurent Destailleur
7d109e9419 Fix phpcs 2023-12-13 12:46:23 +01:00
Laurent Destailleur
e040219fdc Fix phpcs 2023-12-13 12:45:07 +01:00
Mathieu "rid" Soula
687f3a7426
FIX SQL query construction using category as filter.
Correct the table to use for filtering warehouses by category (category_societe --> category_warehouse)
2023-12-12 23:47:05 +01:00
Francis Appels
22f6e43155 Fix warehouse list 2023-12-10 19:22:28 +01:00
Laurent Destailleur
60af6843fd Clean code 2023-12-08 02:05:51 +01:00
Laurent Destailleur
89e1e1b859
Merge pull request #26980 from atm-jonathan/FIX_in_array()_list.php
FIX in_array() on key
2023-12-08 01:59:32 +01:00
MDW
b0414dd078 Fix utf8_encoding/decoding (rather than creating new function replacements) 2023-12-07 03:37:05 +01:00
Laurent Destailleur
432a847ad9
Merge pull request #27004 from frederic34/fix-20231206
avoid phpstan error with phpdoc
2023-12-06 18:27:48 +01:00
Laurent Destailleur
b56688706b
Merge pull request #26967 from DaBootO/develop
FIX #26965 add check for global variable VARIANT_ALLOW_STOCK_MOVEMEMENT
2023-12-06 16:02:07 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Jonathan Lescaut
771b735384 FIX in_array() on key 2023-12-05 16:12:18 +01:00
Laurent Destailleur
d191220683 Debug v19 2023-12-05 10:45:46 +01:00
Dario Contrino
92161b67cd FIX #26965 add check for global variable VARIANT_ALLOW_STOCK_MOVEMENT_ON_VARIANT_PARENT
Adding an OR clause in the check if product is a variant.
Same structure as in check if user has rights to create movement.
2023-12-04 21:51:02 +01:00
Laurent Destailleur
4daacd3371 Fix with php-cs-fixer 2023-12-04 13:49:31 +01:00
Laurent Destailleur
3ecfc1b55f Fix css 2023-12-02 20:27:09 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Saami PERDRIX
b7b190950f
fix warnings on inventory when batch is null (#26901) 2023-11-30 17:43:24 +01:00
Laurent Destailleur
e4d7f97c09 Fix missing const 2023-11-28 22:33:24 +01:00
Laurent Destailleur
60409c8fff Look and feel 2023-11-28 22:26:56 +01:00
Laurent Destailleur
6664190179 Clean code
Should also make merge of #24911 after release easier. Note: Adding a
control on screen must be done after adding control into so we will
start by adding checkSellOrEatByMandatory() into create/update of
productlot.
2023-11-28 12:40:21 +01:00
Alexandre SPANGARO
a462edcea5
Missing dolGetButtonTitleSeparator() (#26876)
* Debug v19 - Missing title column for description & fix order

* Missing Button title separator

* Missing Button title separator
2023-11-28 09:16:21 +01:00
Laurent Destailleur
06736918de Fix warning 2023-11-27 12:33:07 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
Alexandre SPANGARO
406065f56b
Debug v19 - Missing title column for description & fix order (#26859) 2023-11-26 21:41:17 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00
Laurent Destailleur
cb3a86a737 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-11-23 18:56:10 +01:00
Frédéric FRANCE
6e059d4461
fix product service tooltip (#26820) 2023-11-23 15:05:52 +01:00
Francis Appels
7d11edcc6e
Add printFieldListSearchParam hook to product list (#26769) 2023-11-20 23:58:08 +01:00
Francis Appels
058f688522
FIX: double hook and paging search param in product list (#26767)
* fix double hook in product list

* Fix search param
2023-11-20 23:47:46 +01:00
MDW
3c966469ef
QUAL No return values in __construct(), correct PHPDoc for typing (#26768) 2023-11-20 23:47:06 +01:00
Beef
7be1ba3432
Fixes syntax errors in Advanced Stock Transfer and adds checks for null values (#26766) 2023-11-20 20:14:35 +01:00
lamrani abdelwadoud
c8ad1e616b
Solution to restore a massive stock movement error. (#26623)
* NEW functionality for save movement reversed

* remove variable

* Fix variable to be properly validated or sanitized

* cast variable

* Fix for cast variable injection on SQL

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-19 10:58:16 +01:00
HENRY Florian
f209cc5a94
fix: update setcost_price in htdocs/product/fournisseurs.php (#26700)
* fix: update setcost_price in htdocs/product/fournisseurs.php

* bettre fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-18 02:15:57 +01:00
Laurent Destailleur
261452111e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-17 18:25:08 +01:00
Laurent Destailleur
a0bba05b02 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/class/api_orders.class.php
	htdocs/compta/facture/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/fourn/class/api_supplier_orders.class.php
	htdocs/fourn/class/fournisseur.facture-rec.class.php
	htdocs/langs/en_US/stocks.lang
2023-11-17 18:24:53 +01:00
Rémi Champlon
88c558e0f9
fix : update product quantity (#26674)
Co-authored-by: Rémi Champlon <remi.champlon@vold.lu>
2023-11-17 16:28:31 +01:00
MDW
cd9920e3ff
FIX hardspace before empty (#26667)
Was reported by phan as:
htdocs/product/stock/stocktransfer/class/stocktransfer.class.php:483 PhanUndeclaredFunction Call to undeclared function \ empty()
2023-11-17 14:15:56 +01:00
Noé Cendrier
afca8ee6cb
typo (#26665) 2023-11-17 14:13:29 +01:00
Laurent Destailleur
7bce1a0975 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-17 11:36:19 +01:00
Laurent Destailleur
58e3415126 Clean code 2023-11-17 11:36:01 +01:00
moreauftheobald
1425cecac9
Correction OnStock Question class files "Access to an undefined property" (#26659)
* Correction On contract class files "Access to an undefined property"

* Correction On contract class files "Access to an undefined property"

* Update stocktransfer.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-17 11:35:36 +01:00
Laurent Destailleur
5e59e8d0e4 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/langs/en_US/stocks.lang
2023-11-17 00:44:30 +01:00
Frédéric FRANCE
a497eb0897
fix phpstan (#26645) 2023-11-17 00:25:34 +01:00
moreauftheobald
279343ee56
Ddevelop fix product class (#26632)
* Add entity management on contact list on thirdparty card

* Correction On procduct class files "Access to an undefined property"
2023-11-16 23:26:08 +01:00
Frédéric FRANCE
d4eea462b9
fix phpstan (#26641) 2023-11-16 23:16:21 +01:00
Eric
1b42495a18
fix undef pmp (#26643) 2023-11-16 23:15:41 +01:00