1706 Commits

Author SHA1 Message Date
Frédéric FRANCE
677ec352d9 add notrigger in setMultilangs of product.class.php (#37478)
* add notrigger in setMultilangs of product.class.php

* Update product.class.php

* Update product.class.php

* Update product.class.php

* add notrigger
2026-03-12 21:39:58 +01:00
Laurent Destailleur
a9c85c78e2 Automated merge from 23.0 to develop 2026-02-28 12:17:11 +01:00
Laurent Destailleur
6a458223b1 Automated merge from 22.0 by tool pullmerge.sh 2026-02-28 11:31:01 +01:00
Anthony Berton
c326ab68f0 FIX - If a specific pricing system is applied, the price type is not specified (#37348)
* FIX - If a specific pricing system is applied, the price type is not specified

* Add 2026 copyright for Anthony Berton

Added copyright notice for Anthony Berton for 2026.

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-02-27 14:49:14 +01:00
minimexat
9e3f3e70d6 fix(product): default empty/null price_base_type to HT instead of treating as TTC (#37309)
Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-21 06:51:59 +01:00
Laurent Destailleur
f96905c1f0 Fix CI 2025-11-23 03:19:11 +01:00
Francis Appels
0da7ae7bed Fix missing multiprices arraykey (#36204) 2025-11-11 17:41:44 +01:00
Laurent Destailleur
94d1a25d67 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-03 14:10:57 +01:00
atm-adrien
5f23325eb2 FIX : Allow decimals on services duration (#36031) 2025-11-01 01:05:32 +01:00
Laurent Destailleur
aa6bc46141 FIX Hide AWP if product has no stock managed 2025-10-27 21:55:49 +01:00
noec764
70e0132baa FIX: Performance Problem on load stats command (#35785)
Co-authored-by: Noé <noe@scopen.fr>
2025-10-17 00:51:34 +02:00
Frédéric FRANCE
b8cda55d26 fix bad test (#35418) 2025-09-21 12:13:09 +02:00
Frédéric FRANCE
4414bf3b95 fix fatal error (#35284)
* fix fatal error

* Update card.php

* Update product.class.php
2025-09-12 02:34:50 +02:00
ldestailleur
dd0679db44 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-21 11:09:10 +02:00
ldestailleur
7878d81e33 FIX #34986 2025-08-21 11:02:48 +02:00
ldestailleur
030b3d3df5 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-27 13:58:13 +02:00
ldestailleur
c917599f49 Doc 2025-07-27 13:54:02 +02:00
Laurent Destailleur
4f679f06d7 Fix CI 2025-07-05 12:41:00 +02:00
Laurent Destailleur
6748d3a14b Fix CI 2025-07-05 12:31:08 +02:00
Laurent Destailleur
84879c15e9 Fix CI 2025-07-05 12:09:45 +02:00
Laurent Destailleur
beac067e55 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-05 10:46:39 +02:00
Laurent Destailleur
5634483720 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-05 10:46:06 +02:00
Laurent Destailleur
af6076352c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-07-05 10:44:49 +02:00
Laurent Destailleur
704173f4a6 FIX #34591 FIX #34692 2025-07-05 10:32:59 +02:00
Laurent Destailleur
75593e84b2 FIX #34591 FIX #34692 2025-07-05 10:21:25 +02:00
ldestailleur
e82e451248 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-28 17:56:39 +02:00
ldestailleur
9d2cb0d078 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-28 17:56:12 +02:00
ldestailleur
74898efb5b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-28 17:55:53 +02:00
ldestailleur
919d9635ab Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-28 17:55:26 +02:00
Vincent Maury
b940f2eae3 Fix bug in product->get_sousproduits_arbo (#34561)
* Update product.class.php

depending on php version used, when var $this->sousprods not correctly declared it'snot filled

* Update product.class.php

sousprods prop now initialized when declared

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-28 17:34:12 +02:00
Noé Cendrier
d1f3f9eddd FIX: PHP 8 Error 500 (#34545)
* FIX: PHP 8 Error 500

* Update product.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-16 20:09:00 +02:00
Francis Appels
c7940446d4 Fix devision by zero with option customer packaging. (#34351)
value of product package property (for both customer and supplier) should be float type.
property define not needed on product fournisseur, alread defined on product.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-04 18:23:12 +02:00
ldestailleur
e72401a6ec Code comment 2025-06-04 15:44:49 +02:00
Lenin Rivas
ad10c2581d FIX price_min_ttc (#34120)
* FIX price_min_ttc

* FIX price_min_ttc

* FIX price_min_ttc

* FIX price_min_ttc
2025-05-13 10:36:16 +02:00
Frédéric FRANCE
ff3cec75d0 fix translations (#34055) 2025-05-05 20:13:55 +02:00
ldestailleur
2736a4b382 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-05 00:07:09 +02:00
Laurent Destailleur
7bfac48695 Show status of mandatory DLC to understand error on creating MO when
status is on.
2025-04-25 06:09:56 +02:00
lvessiller-opendsi
c85cc3061b NEW shipment kits with dispatcher v2 (#33750)
* NEW shipment kits with dispatcher v2

* Show stock of virtual product on select warehouse when dispatching a shipment

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-16 21:11:58 +02:00
Eric - CAP-REL
be1948e1eb better fields definition with full objects reference (#33798) 2025-04-09 16:36:42 +02:00
ldestailleur
5555009d7b Condition is cleaner, even if same. 2025-03-19 17:48:05 +01:00
ldestailleur
0bb37047be Condition is cleaner, even if same. 2025-03-19 17:47:42 +01:00
ldestailleur
d3951688bd Debug v22 - stockable_product 2025-03-19 12:54:48 +01:00
ldestailleur
9907a87829 Clean duplicate const 2025-03-10 16:19:45 +01:00
ThomasNgr-OpenDSI
c9a27ae21d NEW : allow stock management by product (#32326)
* Code part

* Code part 2

* Fix : invert a const

* Fix : invert disable/enable stock values

* Fix

* Fix missing column from select inside sql request

* Fix input hidden missing name

* ajout d'un commentaire

* small fixes

* remove unrelated lines

* phpcs

* stickler fix

* pre-commit fixes

* pre-commit fixes

* pre-commit fix

* fix missing translation

* Fix phpstan

* fix winCI

* fix travis

* fix phpstan

* fix travis (hopefully)

* remove useless lines

* relaunch tests

* change stockable_product type from bool to int

* change test in Expeditin::addline() to allow adding a line for product with disabled stock management

* make stock management mandatory for products with batch number

* try to remove PHAN errors

* fix phpstan

* fix phpstan

---------

Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: mrozniecki <mrozniecki@easya.solutions>
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2025-03-10 10:49:53 +01:00
atm-corentin
6a2616c119 set field default vat code because it was not set for child product 2025-03-05 14:58:21 +01:00
MDW
116913abeb Qual: Fix unmatchedArgment* 2025-03-01 11:48:28 +01:00
Kamel Khelifa
7ba21bd23d NEW: Add management of date begin/end and discount for a customer price (Code) 2025-02-25 15:09:05 +01:00
Frédéric France
e6a2da4e05 clean code 2025-02-20 18:18:04 +01:00
VESSILLER
ade035733d QUAL multiply can be float in get child arbo function 2025-02-18 17:16:42 +01:00
Laurent Destailleur (aka Eldy)
863248b618 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-12 15:50:23 +01:00