Commit Graph

12964 Commits

Author SHA1 Message Date
Laurent Destailleur
78384eca54 Clean code 2025-11-18 17:14:42 +01:00
Laurent Destailleur
ac2fe3e991 Comment 2025-11-18 16:59:24 +01:00
Laurent Destailleur
5aaf9cd565 NEW Add hook on calcula_price() and get_default_tva() 2025-11-18 16:57:50 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Frédéric FRANCE
8d459e469d clean code (#36260)
* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test
2025-11-18 11:41:28 +01:00
MDW
785753bbee Qual: Change field name to let phan warn about argument order (#36261)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect.

* Fix: Fix parameter order in print_liste_field_titre calls

- Fixed parameter order in print_liste_field_titre calls to maintain consistency

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-18 11:40:32 +01:00
Florian Mortgat
8e30fc0bd1 FIX 19.0 - attachments upload dir for invoices not always determined correctly (doesn't always take multi-entity into account) (#36302) 2025-11-18 11:39:45 +01:00
Laurent Destailleur
f05f5af59e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-18 11:38:31 +01:00
Laurent Destailleur
61a849090b Close #36298 2025-11-18 11:36:45 +01:00
MDW
f5d6533c5b Qual: (v22)Change field name to let phan warn about argument order (#36263)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect when '$param' is used - it will not warn for cases where $option or another
name is used.

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
2025-11-17 21:49:31 +01:00
Laurent Destailleur
1abc87ff03 Clean code 2025-11-17 19:35:10 +01:00
Laurent Destailleur
10921598cb Simple way to trap error to Close #36292 2025-11-17 19:10:58 +01:00
Laurent Destailleur
0631cd61e0 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-11-17 17:21:52 +01:00
Laurent Destailleur
72afda872d WIP LNE 2025-11-17 13:53:53 +01:00
Laurent Destailleur
ed08d6389a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-17 10:44:03 +01:00
Laurent Destailleur
1dd28e352a NEW Introduce getCurrency(). $conf is no more allowed into computed
formulae.
2025-11-17 10:29:55 +01:00
Laurent Destailleur
bb53a368fc CSS 2025-11-15 23:00:02 +01:00
atm-lucas
bdd8dc0046 NEW - Add a new API "product lots" (#36243)
* Add new API product lots

* fix precommit
2025-11-14 16:06:59 +01:00
Laurent Destailleur
5356cd9b93 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-12 16:02:15 +01:00
Laurent Destailleur
71d129c70a Debug v23 2025-11-12 16:02:03 +01:00
Frédéric FRANCE
2ba87e0d32 add phone mobile of target (#36234) 2025-11-12 15:33:56 +01:00
Laurent Destailleur
392fb33587 Tipo 2025-11-12 15:29:42 +01:00
Laurent Destailleur
ad91cdbe48 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-12 15:04:02 +01:00
Laurent Destailleur
9e7fedfec5 Debug v23 2025-11-12 15:03:31 +01:00
Frédéric FRANCE
06c4c9e8b7 check access doc for massfilesarea_stock (#36229) 2025-11-12 10:03:14 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Laurent Destailleur
554354b151 Fi CI 2025-11-11 19:31:18 +01:00
Laurent Destailleur
d8656d523b Debug v23 2025-11-11 15:12:31 +01:00
Laurent Destailleur
2db13a49b9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-11 15:07:09 +01:00
Laurent Destailleur
9914e6280b WIP LNE 2025-11-11 15:06:57 +01:00
Regis Houssin
a00ff66f45 FIX member photo and thirdparty logo not deleted in documents directory (#36197)
* FIX member photo with web portal don't need login

* FIX member photo not deleted

* FIX pre-commit

* FIX phan error and uniformize code

* FIX pfffffff pre-commit

* FIX uniformize code

* FIX remove TODO

* FIX change const name

* FIX missing add in ECM during creation

* FIX add user photo in ecm

* FIX phan error
2025-11-11 08:56:33 +01:00
Laurent Destailleur
2df6fa0237 Add test on data decryption 2025-11-11 01:32:17 +01:00
Laurent Destailleur
70f2836dbc Debug v23 2025-11-09 21:57:45 +01:00
Laurent Destailleur
c42d783abe Fix regression 2025-11-09 14:53:09 +01:00
Laurent Destailleur
34145b8e45 Clean code 2025-11-09 12:43:04 +01:00
Laurent Destailleur
33f3fb5dbb Better implementation for #35929 2025-11-08 15:52:06 +01:00
Frédéric FRANCE
936b3cddfb fix common delete (#36167) 2025-11-08 11:57:22 +01:00
Laurent Destailleur
4d2e51681f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:26:08 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Frédéric FRANCE
cad3574179 common delete also files (#36146)
* common delete also files

* common delete also files

* common delete also files

* common delete also files

* common delete also files

* common delete also files
2025-11-07 18:44:14 +01:00
Laurent Destailleur
cc63bedc4c Move UX/UI pae to Modulebuilder main page. Not a user setup of a
features so useless for an end user so moved into a dev area.
2025-11-07 18:24:15 +01:00
Regis Houssin
3ad30f8622 FIX use array_intersect instead in_array 2025-11-07 12:07:50 +01:00
Alexandre SPANGARO
20af12a806 FIX #36090 Accountancy - Inconsistent date on various journal (#36105)
* FIX #36090 Accountancy - Inconsistent date on various journal

* FIX CI

* Update
2025-11-06 17:25:18 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
Laurent Destailleur
c19f86a4bf Debug v23 2025-11-06 11:44:40 +01:00
Laurent Destailleur
2f898ff188 Debug v23 2025-11-06 10:50:31 +01:00
Laurent Destailleur
a1bc0dc27c css 2025-11-06 03:56:06 +01:00
Laurent Destailleur
b7213f0797 CSS 2025-11-06 03:48:31 +01:00
Charlène Benke
e5f71cd278 NEW Add contact tab on product service (#35914)
* Add contact tabs on product

* add contact type for product

* Implement contact management in contact.php

Add contact management functionality for products

* Insert product and service contact types

Added new contact types for products and services.

* Add help URL for product notes

phpstan alert
2025-11-05 22:50:38 +01:00
Frédéric FRANCE
13bc1e2e16 clean code (#36098)
* clean code

* clean baseline
2025-11-04 18:46:24 +01:00