Commit graph

134381 commits

Author SHA1 Message Date
Laurent Destailleur
cf7452c745 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-16 22:49:36 +02:00
Laurent Destailleur
f05e2f4ca5 Clean code 2024-04-16 22:45:34 +02:00
Frédéric FRANCE
d38fd51aca
fix phpstan (#29363) 2024-04-16 21:35:19 +01:00
Noé Cendrier
c7782127cc
FIX: absolute discount set from client tab (#29352) 2024-04-16 10:27:34 +02:00
lvessiller-opendsi
b64df30cc6
NEW update price with auto to use const for rounding prices (#29350)
* NEW update price with auto to use MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND const for rounding prices

* Update price forced rounding mode redundant
2024-04-16 10:24:55 +02:00
MDW
fad3e2d2bf
QUAL: Add sqlfluff (SQL code and style check) (#29097)
* QUAL: Add sqlfluff (SQL code and style check)

# QUAL: Add sqlfluff (SQL code and style check)

This adds a validity and style check on the .sql files.
The same tool can be used to fix style (which can be set up as a
pre-commit hook).

* Ignore some sqlfluff notices

* Ignore RF04 notice, warning about the use of sql keywords

* Adjust dialects for some directories
2024-04-16 01:23:27 +02:00
TechServiceConseil
d34ca290ad
Add token for reopen job, otherwise CRSF error (#29346) 2024-04-16 01:01:06 +02:00
David
daf1830254
ISPF -> IRPF (#29347)
Co-authored-by: David Pareja Rodriguez <dpareja@energia-viva.com>
2024-04-15 18:18:32 +02:00
Laurent Destailleur
a3acf6479f
Update README.md 2024-04-14 22:17:07 +02:00
MDW
da9fd874bc
Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code

* Fix: functions.lib phan notices

* Fix phan notifications

* Match expected DebugBar signature - rename getRenderer

* Call the correct renderer method for the DebugBar

* Use correct key type to access array

* Ignore notices

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 04:46:33 +02:00
Laurent Destailleur
c13cafab68 Doc 2024-04-14 04:45:29 +02:00
Laurent Destailleur
1a07a7f6c9 Doc 2024-04-14 03:21:17 +02:00
Laurent Destailleur
64ecea7c83 FIX #26959 2024-04-14 02:53:20 +02:00
atm-sami
2670e74403
NEW : Added a configuration in workflows (#26959)
* Added a configuration that allows an customer order to be placed in invoiced status if its total excluding tax is equal to the sum of the totals excluding tax of the linked invoices

* update for travis CI

* update

* update

* update

* update

* update for travis CI

* update travis ci

* update

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-14 01:52:20 +02:00
Laurent Destailleur
08f43cbd42 Suffix more tables to have more tables created only if needed. 2024-04-14 01:52:02 +02:00
Laurent Destailleur
cf912c53d2 Look and feel v20 2024-04-14 01:42:31 +02:00
Laurent Destailleur
00716ae41a Doc 2024-04-14 01:30:23 +02:00
Laurent Destailleur
1ed24a7041 Fix phpstan 2024-04-14 01:22:42 +02:00
Laurent Destailleur
d4c74cf572 Debug v20 2024-04-13 14:14:25 +02:00
Laurent Destailleur
23c4cfd2b4 NEW Add SMTP AUTH method PLAIN 2024-04-13 13:05:52 +02:00
Laurent Destailleur
80d1c418de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-13 11:35:47 +02:00
Laurent Destailleur
8059a2b99b Trans 2024-04-13 11:35:29 +02:00
Alexandre SPANGARO
ef10f793cc
NEW Accountancy - Expense report - Add an option to use end period for transfer (#26706)
* NEW Accountancy - Expense report - Add an option to use end period for transfer

* Update accountancy.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 23:10:27 +02:00
Laurent Destailleur
e92aea026a Fix make title of RSS uniq 2024-04-12 19:51:33 +02:00
Laurent Destailleur
5e74bd4db8 Fix filter on company. 2024-04-12 19:45:49 +02:00
Laurent Destailleur
e5240123a1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-12 19:24:31 +02:00
Charlène Benke
e414f06835
add thirdparty category filter (#29313)
* add thirdparty category filter

* Update cabyprodserv.php
2024-04-12 17:57:08 +02:00
Laurent Destailleur
be52b8d75d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-12 14:32:59 +02:00
Laurent Destailleur
60578402f4 Fix when we assign sale representatives to a thirdparty, list must be
the default list with same condition than into getSalesRepresentatives()
2024-04-12 14:32:27 +02:00
Laurent Destailleur
19d4726e4c Use WHERE IN instead of SELECT DISTINCT 2024-04-12 14:22:02 +02:00
Laurent Destailleur
3187d2888e Trans 2024-04-12 13:55:41 +02:00
Laurent Destailleur
1240072591 QUAL Make the same condition only once. 2024-04-12 13:53:18 +02:00
jyhere
94f6b8ce6c
FIX : db transaction not rolled back if Product::setMultilangs() returns an error (#29332) 2024-04-12 12:21:03 +02:00
Laurent Destailleur
c58e6f7373 Look and feel v20 2024-04-12 03:14:46 +02:00
Laurent Destailleur
3fd258e8bf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-12 02:28:52 +02:00
Laurent Destailleur
11c895dc9d Try to reduce CTI errors by removing alert on less important warnings. 2024-04-12 02:28:04 +02:00
Laurent Destailleur
32438fdbb3 Test precommit 2024-04-12 02:21:33 +02:00
Laurent Destailleur
a56c387f11 CSS v20 2024-04-12 02:15:07 +02:00
Jon Bendtsen
a7e53f4e33
NEW: API can create, get and update extrafields #29249 (#29270)
* NEW: API can Post extrafields #29249 v2

* suppressing phan

* removing trailing space

* mix of POST to create and PUT to update into one package

* can now also get a single extrafield based on attrname and elementtype

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-04-12 02:02:22 +02:00
Laurent Destailleur
0f1369a192 Standardize GUI 2024-04-12 02:00:28 +02:00
Laurent Destailleur
93507620ca Fix regression fatal error 2024-04-12 01:35:32 +02:00
thomas-Ngr
0f70306c87
New : Printipp ssl (#29320)
* BasicIPP : set SSL to TRUE

* add SSL support to printing module

* trad

* Revert "BasicIPP : set SSL to TRUE"

This reverts commit 19c7c05a26c91d0a2ff7682d621508159e9b65eb.

* fix SSL
2024-04-12 01:25:30 +02:00
MDW
bc5e5b67af
Qual: Update phan baseline (#29300)
* Qual: Update phan baseline

* Init variable to ensure it is defined

* Init $module_part to ensure it is defined

* Init $modulepart to ensure it is defined

* phpdoc typing for getNetNeeds and getNetNeedsTree

* Enforce type for phan

* Initialise  $massactionbutton so that it is defined

* phpdoc: improve typing

* Encore character_set value is string (for typing)

* fixup! Qual: Update phan baseline

* Fix duplicate code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 01:06:52 +02:00
Laurent Destailleur
141718f314 Fix regression 2024-04-12 01:04:37 +02:00
Laurent Destailleur
6fcec74fed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-11 22:58:17 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
Laurent Destailleur
ee3263be1d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-11 22:32:17 +02:00
Laurent Destailleur
095679845b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-11 22:31:36 +02:00
Laurent Destailleur
7ad3a0601f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-04-11 22:30:41 +02:00
Laurent Destailleur
dc988f7e37 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-04-11 22:29:49 +02:00