Commit graph

151292 commits

Author SHA1 Message Date
Laurent Destailleur
79b2056d39 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-24 18:25:41 +01:00
Laurent Destailleur
112028aa7e FIX #35096 #36393 Add minimal fields required asthe class is used by
custom reports
2025-11-24 18:24:15 +01:00
Alexandre SPANGARO
8181e2d3e2
FIX - Accountancy - In each transaction, it's possible to modify informations (Journal, date, ref) on transaction who are validated (blocked) (#36377) 2025-11-24 17:37:00 +01:00
Florian Mortgat
c2635f5242
FIX 17.0: perweek.php resets task progress to 0% when: (#36401)
* FIX 17.0: perweek.php resets task progress to 0% when:
1. the column "Declared real progress" is hidden (which means the corresponding form inputs won't be displayed)
2. and the user doesn't enter any time for that task (= leaves the input empty)

If the column is shown, the bug doesn't occur because the correct value is sent with $_POST.
If the user enters time, the bug doesn't occur because there is a GETPOSTISSET test for that case.

* Apply suggestion from @atm-florianm

variable name ($taskid vs $tmptaskid)
2025-11-24 16:32:27 +01:00
Laurent Destailleur
b61ff7d17a Devug v23 2025-11-24 16:29:21 +01:00
Laurent Destailleur
0c8581f80d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-24 16:23:07 +01:00
Laurent Destailleur
c096fd29e4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-24 16:18:01 +01:00
Laurent Destailleur
d5a438ff00 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-24 16:17:38 +01:00
Laurent Destailleur
b9e6243ec8 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-11-24 16:16:00 +01:00
Laurent Destailleur
9394f24cf7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-11-24 16:15:26 +01:00
Laurent Destailleur
b1a4520059 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-11-24 16:10:29 +01:00
Laurent Destailleur
2935a245a3 Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-11-24 16:07:46 +01:00
Laurent Destailleur
5589ed71b2 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2025-11-24 16:07:22 +01:00
Laurent Destailleur
32f160355b Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2025-11-24 16:03:52 +01:00
Regis Houssin
0aa6652005
FIX #35141 (#36390)
* FIX #35141

* FIX avoid problem with chinese language
2025-11-24 16:03:38 +01:00
Laurent Destailleur
bfa695e7c5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-24 15:52:13 +01:00
Laurent Destailleur
6894ba851b Removed deprecated comment 2025-11-24 15:52:02 +01:00
Alexandre SPANGARO
236d45547b
FIX Invoice - Problem with deposit line on Type of operation (#36378) 2025-11-24 15:08:01 +01:00
Charlène Benke
aae74dac7f
fix subtotal column number displayed if margin enabled (#36383) 2025-11-24 15:07:07 +01:00
x
b4b202cb18 add nocrfcheck 2025-11-24 15:06:34 +01:00
Jon Bendtsen
ff44d3ce3c
fixing hurl test for api users (#36380)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-24 15:06:17 +01:00
MDW
4f5c32973f
Qual: Improve type hints and cache arrays in html.form.class.php (#36384)
* Qual: Improve type hints and cache arrays in html.form.class.php

- Added detailed type hints for cache arrays
- Fixed a typo in the comment for the 'num' property
- Ensured consistent type casting for integer values in cache arrays

(fixes phpstan notices)

* Qual: Add type casting in donation modules

Following cache type improvement:
- Added type casting in donation modules
2025-11-24 15:05:55 +01:00
MDW
9db4c30918
Qual: Add automatic_activation property (DolibarrModules) (#36386)
* Qual: Add automatic_activation property (DolibarrModules)

- Add `automatic_activation` property to store country-specific activation reasons
- Add public to class constants (PSR-2/php-cs-fixer)

* Qual: Simplify $module_activation test in admin.lib.php

The test for $module_activation has been simplified after declaring the property in DolibarrModules.
2025-11-24 15:05:05 +01:00
MDW
287ee92cb7
Qual: Fix nullable value by cast (for phan) (#36381)
# Qual: Fix nullable value by cast (for phan)

The update method now explicitly casts the eatby and sellby fields to integers before passing them to the idate function.

Otherwise phan considers the arguments as nullable (as it can not determine the impact of dol_strlen).
2025-11-24 15:00:15 +01:00
Charlène Benke
ee261b5a66
Adjust checkbox input style in subtotal_edit.tpl.php (#36387) 2025-11-24 14:59:34 +01:00
Florian Mortgat
5a61cc9393
FIX DA027383: permissions not checked on HRM evaluation card (#36328) (#36399)
Permissions involved:
- hrm->evaluation->readall: the user can view anyone's evaluations
- hrm->evaluation->read: the user can only view their or their subordinates' evaluations
2025-11-24 14:57:20 +01:00
dependabot[bot]
a2814f3d62
Bump actions/checkout from 5 to 6 (#36394)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:55:54 +01:00
Laurent Destailleur
e465d748f3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-24 13:00:49 +01:00
Laurent Destailleur
0870e00503 Debug v23 2025-11-24 13:00:38 +01:00
Florian Mortgat
7ed0af2a13 FIX DA027383: permissions not checked on HRM evaluation card (#36328)
Permissions involved:
- hrm->evaluation->readall: the user can view anyone's evaluations
- hrm->evaluation->read: the user can only view their or their subordinates' evaluations
2025-11-24 12:21:51 +01:00
VESSILLER
1cd3ca3222 FIX undefined variables on create invoice from shipment card (backport from v20) 2025-11-24 10:30:08 +01:00
Laurent Destailleur
2734f0a032 CSS 2025-11-24 09:50:31 +01:00
Laurent Destailleur
6199c5f31e CSS 2025-11-24 09:47:37 +01:00
Laurent Destailleur
1b9f546dce Debug v23 2025-11-24 01:46:27 +01:00
Laurent Destailleur
83f9d2cab7 Debug v23 2025-11-23 22:43:19 +01:00
Laurent Destailleur
70b264715f Debug v23 2025-11-23 22:31:07 +01:00
Laurent Destailleur
7af079a87f Debug v23 2025-11-23 22:18:12 +01:00
Laurent Destailleur
8a2faed41f Debug v23 2025-11-23 22:14:34 +01:00
Laurent Destailleur
9f73e65767 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:58 +01:00
Laurent Destailleur
c8e12d9cb9 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:44 +01:00
Laurent Destailleur
fffb21b741 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:10:52 +01:00
Laurent Destailleur
3ced7b6de7 CSS 2025-11-23 21:10:40 +01:00
John BOTELLA
7494d8c2d1
UIUX : Experiment Dolibarr JS context and tools - Add tool for langs (#36389)
* Add more doc and simplify hook systeme uasge

* doc

* doc

* lang tool

* lang tool

* lang tool
2025-11-23 19:11:46 +01:00
Laurent Destailleur
e35028646e Debug v23 2025-11-23 16:33:38 +01:00
Laurent Destailleur
3ab0d148b5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 16:16:27 +01:00
Laurent Destailleur
53e926371b Debug v23 2025-11-23 16:15:59 +01:00
Laurent Destailleur
b00baadb79 Start beta 2025-11-23 12:27:26 +01:00
iLLixM
852f9eeb77
FIX #36368 - avoid overlaying of EPC-QR Code and payment information (#36369)
* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

The position of an EPC-QR code on an invoice is adjusted based on information about payments already made.
The EPC-QR code is only displayed on invoices if a balance remains due.

* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

place EPC-QR Code on left-hand side of invoice PDF

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-23 03:44:55 +01:00
Laurent Destailleur
f96905c1f0 Fix CI 2025-11-23 03:19:11 +01:00
Laurent Destailleur
6904df8a45 Fix CI 2025-11-23 03:05:28 +01:00