Commit graph

136740 commits

Author SHA1 Message Date
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Laurent Destailleur
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
Laurent Destailleur
94ed718782 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-07 15:15:01 +02:00
Laurent Destailleur
40965b63b5 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-10-07 15:13:17 +02:00
Laurent Destailleur
3391d3db05 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-10-07 15:12:00 +02:00
Mikko Virtanen
0811ff5f07
FIX dolFICalculatePaymentReference for Finland in functions_fi.lib.php (#31281)
* Update functions_fi.lib.php

Fix calculation from some base numbers

* Update functions_fi.lib.php
2024-10-07 14:52:12 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
MDW
d8a980444a
Flow: Setup mariadb after restoring cache (#31274)
# Flow: Setup mariadb after restoring cache

To use the cache, it has to be restored first.  The original
order of actions did not enable the reuse of the mariadb
executable from cache
2024-10-06 13:55:48 +02:00
Joachim Kueter
63f6d0aa43
Fix: Number of decimals for stock values ignores configuration (#31285)
* Fix: Number of decimals for stock values ignores configuration

In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.

The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:

Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.

* Fixed patch according to suggestion.
2024-10-06 13:53:16 +02:00
Laurent Destailleur
6b26467aa4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-04 18:49:48 +02:00
Laurent Destailleur
fe6a50ef11 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-04 18:46:27 +02:00
HENRY Florian
934d291194
fix: action/card.php do not display priority field if hidden conf not activated (#31277) 2024-10-04 18:45:54 +02:00
atm-irvine
f287d100a3
Use <= 0 instead of ! because delete method returns -1 or 1 (#31268)
* Use <= 0 instead of ! because delete method returns -1 or 1

* Added contact

* Removed user from parameters
2024-10-04 11:49:44 +02:00
John BOTELLA
7ba663b89d
Fix php 8 warnings (#31254)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 08:52:25 +02:00
MDW
d31baf0b99
(Re)store mariadb setup executable from/to cache (#31263)
# (Re)store mariadb setup executable from/to cache

After adding cachability for setup-mariadb on the fork of that action,
use the feature
2024-10-04 08:50:09 +02:00
Laurent Destailleur
4c695be0c8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:42:36 +02:00
Laurent Destailleur
f09ef5deea Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:33:56 +02:00
Laurent Destailleur
bb69cd7cda Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-03 20:33:25 +02:00
cbeasley-sbb
9af212a542
Update ticket.class.php Bug-fix Issue #31206 (#31208)
Fix Issue #31206 for the v.18 branch because unrelated tests failing on develop branch.
2024-10-03 20:33:02 +02:00
Laurent Destailleur
1498874007 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 20:08:46 +02:00
Laurent Destailleur
eebb16c693 Redice cyclomatic complexity 2024-10-03 20:08:09 +02:00
Frédéric FRANCE
a6c93a5306
Update windows-ci.yml for branch 20.0 (#31258)
waiting official fix for action
2024-10-03 19:31:20 +02:00
Laurent Destailleur
e412dbbe05 Merge manually fix of #31217 + other fix for use by external modules 2024-10-03 19:30:06 +02:00
Laurent Destailleur
6f6a87cd78 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 17:25:10 +02:00
Laurent Destailleur
88b488cfbb Fix for better compatibility 2024-10-03 17:23:29 +02:00
John BOTELLA
a272d929a5
Fix $ in key (#31215) 2024-10-03 17:14:28 +02:00
Hasanuzzaman Sattar
b85b826b18
FIX#31241 (#31245) 2024-10-03 16:33:18 +02:00
Laurent Destailleur
7cdc96eceb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 16:21:10 +02:00
Laurent Destailleur
86e34d8513 Fix typo 2024-10-03 16:20:56 +02:00
John BOTELLA
a333af2ceb
fix missing token for links (#31225) 2024-10-03 16:19:04 +02:00
Laurent Destailleur
37c55004e7 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 16:17:27 +02:00
Laurent Destailleur
6a09e7c91a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-03 16:15:06 +02:00
Laurent Destailleur
20d66a6972 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 16:14:45 +02:00
Laurent Destailleur
97005cda37 Fix warning 2024-10-03 16:14:29 +02:00
Frédéric FRANCE
e07c04c62d
fix precommit (#31235) 2024-10-03 16:07:23 +02:00
Laurent Destailleur
28084d898f Fix error management 2024-10-03 15:55:01 +02:00
Laurent Destailleur
3798957095 Avoid warning 2024-10-03 15:54:30 +02:00
Laurent Destailleur
2d9399d0db Fix phan 2024-10-03 15:47:03 +02:00
Laurent Destailleur
32bad61dad Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 15:43:56 +02:00
HENRY Florian
90a5589c58
fix: php warning (#31244) 2024-10-03 15:39:32 +02:00
Sylvain Legrand
5d58a33f37
Fix tz array (#31240)
The list of time zones included in the 'get_tz_array()' function no longer matches the list of zones supported by PHP!
See the pages "https://www.php.net/manual/fr/timezones.php"

When using these values, this caused a 500 error: "PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Pacific/Enderbury) " for example =>
$arraytz = get_tz_array();
foreach ($arraytz as $key => $value) {
$date = new DateTime();
$date->setTimezone(new DateTimeZone($value));
}

When several zone names could be used for the same time zone, I favored the canonical name (The primary, preferred zone name).
See the table "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
2024-10-03 15:38:41 +02:00
Laurent Destailleur
0367450134 css 2024-10-03 15:28:51 +02:00
Laurent Destailleur
e1a2435d96 css 2024-10-03 15:16:48 +02:00
Laurent Destailleur
59004c6fe8 FIX Revert storing of ticket files into event dir, too many troubles.
Files must remains into ticket directory.
2024-10-03 15:04:32 +02:00
Laurent Destailleur
0674754ad7 Restore regression 2024-10-03 14:03:15 +02:00
Laurent Destailleur
0676a5e718 Fix a fix has been lsot by merge 2024-10-03 13:52:55 +02:00
Laurent Destailleur
e56a1d946e Doc 2024-10-03 13:49:31 +02:00
Hasanuzzaman Sattar
877a6f6c4a
FIX#31237 (#31239)
* FIX#31237

* FIX#31241

* FIX#31237

* FIX#31237
2024-10-03 13:47:28 +02:00
Laurent Destailleur
554f9da826 Fix CSS 2024-10-03 10:55:54 +02:00
Laurent Destailleur
22944a2440 Code comment 2024-10-03 02:56:34 +02:00