Commit graph

154125 commits

Author SHA1 Message Date
brice.l
a1c2d72d57
NEW: Add default_rib field to SQL query and output (#38355)
* Change holiday status update to validation

Replaced the update method with validate for holiday status in order to update the ref of the created objects.

* Add default_rib field to SQL query and output
2026-05-22 10:40:37 +02:00
MDW
bc2a6c68f0
Qual: Fix PHPStan notice about menumanager (#38360)
* Qual: Fix PHPStan notice about menumanager

# Qual: Fix PHPStan notice about menumanager

Declare type for MenuManager $menumanager typically defined in menu.inc.php

* Qual: Update PHPStan baseline

# Qual: Update PHPStan baseline

Removed the warning for the undefined variable $menumanager in style.css.php.
2026-05-22 10:39:43 +02:00
Zahwyrix
024683a807
Fix ID assignment for closeall status in ticket list (#38333)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-22 10:38:37 +02:00
Laurent Destailleur
ff3ba42d57 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-05-22 10:36:50 +02:00
Laurent Destailleur
2468b51a4d Reduce exceptions 2026-05-22 10:36:30 +02:00
LePat
93560916a0
Fix #35685 TakePOS invoice lines stored with fk_unit=NULL (#38385)
In htdocs/takepos/invoice.php, $invoice->addline() was called with null as the fk_unit argument. Every invoice line created from TakePOS was therefore stored with llx_facturedet.fk_unit = NULL, regardless of the unit set on the product.

Visible symptom: with PRODUCT_USE_UNITS enabled, the Unit column on invoices is blank for TakePOS-issued invoices.

Closes #35685 (duplicate of #36309).
2026-05-22 10:30:51 +02:00
Laurent Destailleur
eb1ebf3833 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-05-22 10:28:37 +02:00
Laurent Destailleur
1c77154d39 ci 2026-05-22 10:28:02 +02:00
MDW
1a66f03134
Qual: Update dol_ftp_connect return type for PHPStan (#38362)
# Qual: Update dol_ftp_connect return type for PHPStan

Fixes Phan notices in ftp/index.php

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-22 10:26:58 +02:00
Laurent Destailleur
ac19757fd9 Removed exceptions 2026-05-22 10:26:25 +02:00
Laurent Destailleur
71e7600535 try ci fix 2026-05-22 09:02:16 +02:00
Laurent Destailleur
0cb8120785 ci 2026-05-22 09:00:38 +02:00
Laurent Destailleur
070b304048 ci 2026-05-22 08:52:45 +02:00
Laurent Destailleur
dfb69b0736 ci 2026-05-22 08:49:50 +02:00
Laurent Destailleur
e6f5ed96fc ci 2026-05-22 08:49:21 +02:00
Laurent Destailleur
99e364ccdd ci 2026-05-22 08:43:13 +02:00
Laurent Destailleur
f17f5bcdd4 ci 2026-05-22 08:41:28 +02:00
Laurent Destailleur
97f51c1bc7 CI 2026-05-22 08:31:54 +02:00
MDW
23e2541e55
Qual: Fix PHPStan neon files indentation (#38337) 2026-05-22 08:13:17 +02:00
iouston
f3be0cf06d
Implement clipboard button for email display (#38363)
Add clipboard button for email copy functionality with MAIN_MAIL_COPY_ON_CLICK
2026-05-22 08:09:10 +02:00
Alexandre SPANGARO
cf48bd957b
FIX $show_photos - nbmax not respected when using link-based photo path (#38384) 2026-05-22 08:06:46 +02:00
Frédéric FRANCE
fba9c69289
avoid multiple trigger call (#38353)
* avoid multiple trigger call

* Update traduction.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-22 08:05:32 +02:00
Jon Bendtsen
b0de7970b3
eventorganization: Add database schema for attendee replacement feature (#38238)
* feat(eventorganization): Add database schema for attendee replacement feature

- Add 'fk_replacement' column to llx_eventorganization_conferenceorboothattendee table
- Add unique index 'uk_fk_replacement' to prevent duplicate replacements
- Register 4 new action triggers in llx_c_action_trigger:
  * CONFERENCEORBOOTHATTENDEE_REPLACED_SRC
  * CONFERENCEORBOOTHATTENDEE_REPLACED_TGT
  * CONFERENCEORBOOTHATTENDEE_REPLACED_SRC_RESET
  * CONFERENCEORBOOTHATTENDEE_REPLACED_TGT_RESET

This commit only contains database structure changes (SQL files).
PHP logic and UI implementation will follow in subsequent PRs.

Related issue #38127
Splitting up PR #38164 into 1/3

* Update 23.0.0-24.0.0.sql

* Modify fk_replacement column in llx_eventorganization table

Removed unique index constraint on fk_replacement column.

* Rename unique index for fk_replacement

* Update 23.0.0-24.0.0.sql

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-05-21 22:52:24 +02:00
Alexandre SPANGARO
b33dad5a34
FIX Import - Fallback txt format to csv (#38377)
* FIX Import - Fallback txt format to csv

* FIX Import - Fallback txt format to csv
2026-05-21 22:43:56 +02:00
sonikf
7f4524d5b7
fix phan (#38364) 2026-05-21 22:42:19 +02:00
Laurent Destailleur
c2952cb4ad Fix ci 2026-05-21 22:40:04 +02:00
Laurent Destailleur
7d2851ec48 CI 2026-05-21 22:32:22 +02:00
Alexandre SPANGARO
fa07d2c77f
NEW Intervention - Admin - Move to button (#38314) 2026-05-21 22:05:28 +02:00
Alexandre SPANGARO
51c4b8cbf5
Update file AGENTS (#38316) 2026-05-21 22:04:41 +02:00
Frédéric FRANCE
467a8c89a8
clean code (#38318)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2026-05-21 22:01:25 +02:00
dependabot[bot]
78d1189ba7
Bump actions/github-script from 7 to 9 (#38319)
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  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>
2026-05-21 22:01:06 +02:00
sonikf
eb01da927b
fix translation (#38335) 2026-05-21 21:54:58 +02:00
MDW
bd1abf66e4
qual: Update return type annotations in Projects::getRoles() (#38338)
The return type annotations for the method Projects::getRoles() have been updated from array<object> to list<string> to better reflect the actual return type. This change was also reflected in the phpstan-baseline.neon file to maintain consistency.
2026-05-21 21:54:31 +02:00
MDW
0a64b8b47d
Qual: Update parameter type, fixes PHPStan, Phan (#38339)
# Qual: Update parameter type, fixes PHPStan, Phan

Updates the _cleanObjectDatasRate method parameter types.
2026-05-21 21:53:20 +02:00
Laurent Destailleur
528737daab FIX out of dynamically recalculated unit price inc tax was missing
relative discount.
2026-05-21 21:22:07 +02:00
Laurent Destailleur
5aefaae85a css 2026-05-21 21:11:32 +02:00
Laurent Destailleur
56009b9bf8 NEW Add count tool for AI 2026-05-21 19:33:50 +02:00
Laurent Destailleur
c3e65193df NEW Can edit the VAT code exemption. 2026-05-21 18:17:16 +02:00
Laurent Destailleur
19780ab24e NEW Can edit the VAT code exemption. 2026-05-21 18:00:01 +02:00
Laurent Destailleur
f2ebaf4cfc Debug v24 2026-05-21 14:49:03 +02:00
Laurent Destailleur
4fd5b58604 With MAIN_APPLY_DISCOUNT_ON_UNIT_PRICE_THEN_ROUND_BEFORE_MULTIPLICATION_BY_QTY,
we round the discount on unit price before multiplication by qty
2026-05-21 03:26:21 +02:00
Laurent Destailleur
924bebbcc7 Clean files 2026-05-20 19:10:31 +02:00
Laurent Destailleur
9f6fe9b665 Update conf 2026-05-20 18:55:11 +02:00
Laurent Destailleur
2c7d95eafe Clean file 2026-05-20 18:40:04 +02:00
Laurent Destailleur
eae494af73 Automated merge from 23.0 to develop 2026-05-20 17:53:51 +02:00
Laurent Destailleur
5efc5e85a9 Fix tags 2026-05-20 17:29:46 +02:00
Laurent Destailleur
38409ec7c0 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-05-20 17:27:41 +02:00
Laurent Destailleur
48cca7954c Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-05-20 17:09:31 +02:00
Laurent Destailleur
3bcbb55e7b Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-05-20 17:03:28 +02:00
Laurent Destailleur
3fde18d7f7 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-05-20 17:00:35 +02:00