Commit Graph

1399 Commits

Author SHA1 Message Date
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
MDW
b0414dd078 Fix utf8_encoding/decoding (rather than creating new function replacements) 2023-12-07 03:37:05 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
4daacd3371 Fix with php-cs-fixer 2023-12-04 13:49:31 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
e4d7f97c09 Fix missing const 2023-11-28 22:33:24 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +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
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
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
Laurent Destailleur
7659bba97a Fix bad delete of lines into llx_ecm_files 2023-11-13 12:24:47 +01:00
HENRY Florian
a3437c7207
fix: display details quantity in Kit in PDF #26359 (#26454)
* add detail qty in kit displayed in PDF line

* fix: #26359
2023-11-03 16:27:02 +01:00
Alexandre SPANGARO
ba458ddfd6
Review of ledger display (#26423)
* Review of ledger display

* typo

* Update listbyaccount.php

* Update listbyaccount.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-01 15:00:48 +01:00
Laurent Destailleur
e308e0046f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-31 12:00:29 +01:00
jyhere
d2355e91e9
NEW: add a $notrigger param to Product::updatePrice() method (#26404)
* NEW: add a $notrigger param to Product::updatePrice() method

* Update product.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-31 11:57:25 +01:00
Francis Appels
ee269b4608
FIX: update product with stock to lot or serial type. (#23002)
* git init

* Fixing style errors.

* Add split of serial defaults

* Fix remaining part

* Fix on  remaining decimal part

* Revert "Fix on  remaining decimal part"

This reverts commit b91f884ddc.

* Revert "Fix remaining part"

This reverts commit 35a6631b29.

* Revert "Add split of serial defaults"

This reverts commit 37009afcbc.

* Remove split for serial numbers and replace by error message.

* Fix stickler CI

* Fix missing product id for lot number fetch

* Allow update for data consistency, but show warning in stock card and stocks by lot/serial list

---------

Co-authored-by: Francis Appels <francis@vps399724.ovh.net.novalocal>
Co-authored-by: stickler-ci <support@stickler-ci.com>
2023-10-31 11:47:38 +01:00
Francis Appels
48ddc2408a
New allow modify stock_theorique, not only replace by hook. (#26398) 2023-10-31 11:39:28 +01:00
Laurent Destailleur
939cf8b200 FIX Popup on service ref when product module not enabled 2023-10-28 00:59:31 +02:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
b7de0baedd Fix phpunit 2023-10-23 18:54:16 +02:00
atm-gauthier
f46482a72a
NEW Can switch product batch management to no management. (#21691)
* NEW : When an user unset the batch management of products, transformation of each batch stock mouvement in global stock mouvement

* FIX : Alert on deserialize product

* FIX : Correction of the trad

* Fixing style errors.

* FIX : PR returns

* FIX : using llx_product_batch table

* FIX : langs

* Fixing style errors.

* FIX : $value must be an absolute value

* FIX : init $inventorycode before while loop

* Fixing style errors.

* FIX : "Yes (unique serial number required)" choice must not be available on product edit if its current status batch is "Yes (lot required)"

* Fixing style errors.

* FIX : Just display a message when we change from batch to serial

* Fixing style errors.

* Update card.php

* Update card.php

* Update product.class.php

* Update product.class.php

---------

Co-authored-by: Adrien Raze <adrien.raze@atm-consulting.fr>
Co-authored-by: stickler-ci <support@stickler-ci.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-23 18:05:21 +02:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
b8c8e903c2 Fix php8.2 warnings 2023-10-15 18:39:13 +02:00
Laurent Destailleur
2e3c378ec0 Fix phpcs 2023-10-12 18:47:19 +02:00
Benjamin Falière
131fa0d52b
NEW subproduct triggers in product class (#25142)
* NEW subproduct triggers in product class

* add notrigger parameter to functions

* add doc comment for new parameters

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2023-10-12 17:50:18 +02:00
tgsw
de5b97c7e7
Show product description (#26193)
* Show product description

shows product-description on list of products when hover the product-ref

* Update product.class.php

limiting the display to 5 lines
2023-10-12 15:39:42 +02:00
Laurent Destailleur
70f6d998fb Clean code: add condition on deprecated assembly and stock kit 2023-10-12 13:06:54 +02:00
Laurent Destailleur
2d6a82a030 Clean code 2023-10-12 12:49:57 +02:00
Laurent Destailleur
b5036b7a0d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-08 12:07:01 +02:00
Laurent Destailleur
1b246f694e Fix label 2023-10-08 12:04:00 +02:00
Laurent Destailleur
5411a18e1b Fix warning 2023-09-27 12:53:58 +02:00
Laurent Destailleur
fb02c41105 Clean code and remove warnings 2023-09-11 11:28:30 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
c44ed2e56e
Merge branch 'develop' into patch-8 2023-09-08 19:12:51 +02:00
Frédéric FRANCE
6f0e82f5d7
phpstan 2023-09-08 09:49:47 +02:00
Can Arslan
d3f3147de3
fix: unknown column error on generated product sql 2023-09-07 12:53:50 -06:00
Laurent Destailleur
150de687bf Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-05 20:13:38 +02:00
Frédéric FRANCE
e922d07a97
fix tooltip ajax load langs 2023-09-05 16:19:21 +02:00
Laurent Destailleur
552a079379 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-27 16:05:46 +02:00
Laurent Destailleur
45d323a6f8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-08-27 16:02:57 +02:00
Regis Houssin
3b00c76cdd FIX avoid php8 warnings 2023-08-25 15:48:15 +02:00
Laurent Destailleur
272c51164b Fix typo Productcustomerprice into ProductCustomerPrice 2023-08-24 15:08:33 +02:00
Francis Appels
5b5e7fec9a Improve product clone_price method 2023-08-18 13:02:30 +02:00
Laurent Destailleur
ed5c6605e2 Debug v18 2023-08-14 12:50:42 +02:00
Laurent Destailleur
f843ec2de0 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-08-09 14:55:25 +02:00
Regis Houssin
38ddc9cea1
FIX avoid php8 warnings (#25596) 2023-08-09 12:36:26 +02:00
Laurent Destailleur
fd4a7207cd Fix regression 2023-07-10 20:03:34 +02:00
Laurent Destailleur
b1e0b317c9 Debug v18 2023-06-29 13:16:44 +02:00
Laurent Destailleur
e7f58f6c61 Fix php 8.2 2023-06-28 15:22:49 +02:00