2
0
forked from Wavyzz/dolibarr

641 Commits

Author SHA1 Message Date
Anthony Damhet
c17f13316a UIUX - More intuitive select table (#35485)
* More intuitive select table

Added for objects:
- Members
- ActionComm
- Mailing
- Bank Accounts
- Various Payments
- Cash Control
- Paiement
- Contacts
- VAT
- Contracts
- Cron
- Gifts (Dons)
- Expedition
- Expense Reports
- FichInter
- Supplier Proposals
- Supplier Orders
- Supplier Invoices
- Supplier Paiements
- Products and supplier products
- Holidays
- Knowledge record
- Partnership
- Inventory
- Stock
- Projects
- Tasks
- Tickets
- Societes
- Salaries
- Resource
- Users

* Add Status message on documentation

* Remove intuitive select experimetns

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-28 01:21:40 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
ldestailleur
42edd8f22d Clean code 2025-09-18 12:19:29 +02:00
ldestailleur
6ed764bedf Clean code 2025-09-18 11:40:56 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Laurent Destailleur
99ac7bcfa9 Fix prefix of table 2025-08-06 04:10:02 +02:00
ldestailleur
f4c0cfa4e3 Rewrite SQL to match Dolibarr best practices 2025-08-06 03:55:16 +02:00
ldestailleur
3298062561 Fix regression 2025-08-06 01:20:57 +02:00
Laurent Destailleur
82098594a6 Fix warning 2025-07-31 22:13:45 +02:00
ldestailleur
cde72d84a0 Refactoring code for better name and fix star extrafield on thirdparty 2025-04-26 03:00:53 +02:00
atm-adrien
36b90df84c NEW : Add the possibility to merge PDF from the product list (#33723) 2025-04-04 18:14:26 +02:00
Christophe Battarel
36bd2c7a5b Manage supplier prices permission (#33636)
* WIP : manage read_supplier_prices

* WIP : manage read_supplier_prices

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-29 00:43:13 +01:00
MDW
0cc1aa6d80 Qual: Fix phan notices (asset..compta/paiement) (#33484)
* Qual: Fix phan notices (accountancy, adherents)

* Qual: Fix phan notices (admin)

* Qual: Fix phan notices (asset..compta/paiement)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:45:04 +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
ldestailleur
d42f6dff0e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-06 03:34:56 +01:00
ldestailleur
8f406d680a FIX Missing ref_ext in group by in list of product 2025-03-06 02:05:44 +01:00
MarcVJ
33475b8e92 Added one line to allow use of price_ttc in calculated extra fields
price_ttc sometimes needs to be used in extra fields to compute price ttc per kilo or per liter.
Currently price_ttc does not compute in the product list, so price per kilo cannot compute either.
This allows to add an extra field "Price TTC per kilo" like this : $object->price_ttc / $object->weight.
$object->price_ttc will work because the added line puts price_ttc into $products_static, which is put in $object.
2025-02-11 10:00:06 +01:00
Laurent Destailleur
8c6e0021fd Merge pull request #32997 from MarcVJ/patch-1
Added one line to allow use of price_ttc in calculated extra fields (…
2025-02-10 13:20:58 +01:00
MarcVJ
4c3329481a Removed incorrect white space on line 1632 2025-02-09 22:33:56 +01:00
MarcVJ
99fac7c8d3 Added one line to allow use of price_ttc in calculated extra fields (ex : price per kilo) 2025-02-09 22:20:05 +01:00
MDW
1a2d4ed6be Qual: Fix phan (product-2) 2025-02-09 20:14:25 +01:00
Laurent Destailleur (aka Eldy)
769558ffb8 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-05 11:14:23 +01:00
Laurent Destailleur (aka Eldy)
dce7ed780e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-02-05 11:11:08 +01:00
Laurent Destailleur (aka Eldy)
3ad51f2a19 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-02-05 11:10:51 +01:00
Regis Houssin
064813d728 FIX wrong search filter, empty product unit is "none" 2025-02-04 05:11:40 +01:00
Laurent Destailleur
0578a5654f Merge pull request #32724 from FHenry/19_fix_priceupdate_list_when_multiprice
fix: allow list mass action update price when price mode is multiprice price
2025-02-02 02:38:53 +01:00
Laurent Destailleur (aka Eldy)
a8d3973a8d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-30 12:58:03 +01:00
Florian HENRY
353c373361 review price update 2025-01-28 19:31:46 +01:00
VESSILLER
83bc7b70a0 Backport from v20 missing executeHooks printFieldListFrom in product list page 2025-01-28 13:34:49 +01:00
Florian HENRY
02dea8d103 fix: allow list mass action update price when price mode is multiprice price 2025-01-20 17:11:06 +01:00
Laurent Destailleur (aka Eldy)
2e87ad4e35 Debug v21 2025-01-12 20:06:28 +01:00
Laurent Destailleur (aka Eldy)
3c9373dd6d Debug v21 2025-01-12 20:03:05 +01:00
Laurent Destailleur (aka Eldy)
3ab49cf061 Debug v21 - Standardize code and translation of RefExt 2025-01-12 18:08:25 +01:00
Maxime Kohlhaas
1dc3a9796f Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 19:35:01 +01:00
Maxime Kohlhaas
b754994543 Merge branch '19.0' of github.com:Dolibarr/dolibarr into 20.0 2025-01-09 18:18:36 +01:00
Florian HENRY
9f25fc0c8a fix: remove list mass action update price wihen price mode is not uniq price 2025-01-07 17:27:11 +01:00
Florian HENRY
7b08a99cf6 fix: remove list mass action update price wihen price mode is not uniq price 2025-01-07 17:23:10 +01:00
Laurent Destailleur (aka Eldy)
5d40289604 Debug v21 2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
ba7ba6f37f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-26 15:43:29 +01:00
Laurent Destailleur (aka Eldy)
be5eef7053 Complete #32292 #32434 2024-12-26 15:43:29 +01:00
Codered741
d321f4cc7d response to issue #32292 2024-12-19 12:22:58 -05: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
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +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
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
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
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
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
Laurent Destailleur
147a8bfaee Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/subscription/list.php
	htdocs/categories/viewcat.php
	htdocs/contrat/card.php
	htdocs/contrat/list.php
	htdocs/eventorganization/conferenceorbooth_list.php
	htdocs/expedition/list.php
	htdocs/societe/card.php
2024-07-11 10:44:39 +02:00