Commit Graph

129013 Commits

Author SHA1 Message Date
Laurent Destailleur
ae09fc75f0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-17 00:59:53 +02:00
Laurent Destailleur
35f3a4f441 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-17 00:59:17 +02:00
Laurent Destailleur
111e3fcd32 Revert "NEW - Add a new hook on order list (#31315)"
This reverts commit 1e64870a9e.
2024-10-17 00:52:42 +02:00
Laurent Destailleur
ccc27739d7 Fix bad escapement 2024-10-15 15:40:50 +02:00
Frédéric FRANCE
f3f7b67ce2
add missing dol_escape_all (#31406) 2024-10-15 15:39:47 +02:00
Laurent Destailleur
30fd0544f8 Fix look and feel v19 2024-10-14 21:28:15 +02:00
Laurent Destailleur
b099e103b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-14 21:00:26 +02:00
Laurent Destailleur
d819d88718 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-14 20:18:46 +02:00
Laurent Destailleur
278eea6fae Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-10-14 20:18:22 +02:00
Laurent Destailleur
7cd1425bc1 Fix css 2024-10-14 20:17:21 +02:00
Laurent Destailleur
fa22ebd893 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-10-14 19:31:08 +02:00
Laurent Destailleur
793e77bc5f Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-10-14 19:21:00 +02:00
thomas-Ngr
70a453a5c2
FIX: substitutions THIRDPARTY_XXX are not available for actioncomm reminders (#31385) 2024-10-14 11:57:55 +02:00
UltraViolet33
33c6d95b1c
Backport Fix wrong invoice status when invoice has discount (#31323)
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-13 21:04:17 +02:00
atm-lucas
1e64870a9e
NEW - Add a new hook on order list (#31315)
* Add a new hook on order list

* pr correction
2024-10-11 15:53:43 +02:00
Laurent Destailleur
14dec516a3 FIX Vat code is lost when updating lines in POS 2024-10-08 23:51:51 +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
Laurent Destailleur
9509929f5d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-10-07 15:11:42 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
Joachim Kueter
63f6d0aa43
Fix: Number of decimals for stock values ignores configuration (#31285)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
* 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
HENRY Florian
934d291194
fix: action/card.php do not display priority field if hidden conf not activated (#31277)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
2024-10-04 18:45:54 +02:00
atm-irvine
f287d100a3
Use <= 0 instead of ! because delete method returns -1 or 1 (#31268)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
* 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
thomas-Ngr
336d3ad8e5
finish fix (#31203) 2024-10-03 21:03:13 +02:00
Laurent Destailleur
bb69cd7cda Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
2024-10-03 20:33:25 +02:00
cbeasley-sbb
9af212a542
Update ticket.class.php Bug-fix Issue #31206 (#31208)
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
Fix Issue #31206 for the v.18 branch because unrelated tests failing on develop branch.
2024-10-03 20:33:02 +02:00
thomas-Ngr
e71631abe0
fix : missing update for extrafields on holidays (#31256) 2024-10-03 19:33:33 +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
Frédéric FRANCE
e07c04c62d
fix precommit (#31235)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
2024-10-03 16:07:23 +02:00
Sylvain Legrand
5d58a33f37
Fix tz array (#31240)
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
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
25ea797aed Fix not default template for BOM 2024-09-30 18:26:24 +02:00
Laurent Destailleur
fde37d8172 Fix deadlock situation by adding a constant in hope to save user
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
2024-09-30 13:36:30 +02:00
Laurent Destailleur
946726779c Fix test on setup 2024-09-30 13:23:04 +02:00
Laurent Destailleur
7b61965042 FIX autoselect the fiscal period by default 2024-09-30 13:19:39 +02:00
Laurent Destailleur
218bfff6fa Tooltip to explain why button is disabled.
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
2024-09-30 11:55:32 +02:00
Laurent Destailleur
399a752c78 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
2024-09-29 22:42:13 +02:00
Laurent Destailleur
97eacefa6b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
2024-09-29 22:41:54 +02:00
Laurent Destailleur
f5fbbcfcb8 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
2024-09-29 22:40:45 +02:00
Laurent Destailleur
2c67c8b6ff Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-09-29 22:32:01 +02:00
Laurent Destailleur
d0fb08adf4 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-09-29 22:31:42 +02:00
Laurent Destailleur
624493fb26 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2024-09-29 22:30:07 +02:00
Laurent Destailleur
6eddee9a78 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2024-09-29 22:29:19 +02:00
Laurent Destailleur
52138372ce Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2024-09-29 22:27:54 +02:00
Laurent Destailleur
a27538f582 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2024-09-29 22:27:42 +02:00
Florian Mortgat
385927fe06
FIX: box_actions.php still uses fk_user_done which no longer exists (#31190)
Co-authored-by: FlorianMortgat <5845502+FlorianMortgat@users.noreply.github.com>
2024-09-29 22:18:18 +02:00
Laurent Destailleur
a621032643 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0 2024-09-29 19:28:05 +02:00
Laurent Destailleur
32646cb7f4 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0 2024-09-29 19:25:49 +02:00
Florian Mortgat
74b67eb6c6
FIX - use price() to display qty on a product's stats tab to avoid showing too many decimals when rounding errors are possible (#31165) 2024-09-29 15:57:05 +02:00