Commit graph

151602 commits

Author SHA1 Message Date
Laurent Destailleur
15e1af2fda No default contact available for products so adding contact not
possible. So revert option to avoid
2026-03-23 13:40:13 +01:00
Laurent Destailleur
4750c802b8 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-23 12:59:04 +01:00
kkhelifa-opendsi
0889e1a079
FIX - Fix the default filter dates (#37579) 2026-03-23 12:50:12 +01:00
Ferran Marcet
bebec0756e
Fix: Button to hide paid supplier orders in project overview not work (#37578)
* Fix: The button to hide paid supplier orders in the project overview is not working

* Fix: The button to hide paid supplier orders in the project overview is not working
2026-03-23 12:49:27 +01:00
Laurent Destailleur
49d6152a49 Fix creation of extrafields datetimegmt 2026-03-23 12:26:23 +01:00
Laurent Destailleur
8662707434 Fix must show also siret if siret start does not match siret 2026-03-22 19:19:22 +01:00
Laurent Destailleur
6cb2c5b401 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-22 19:12:02 +01:00
Laurent Destailleur
8646a45256 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-22 16:34:00 +01:00
Laurent Destailleur
63b787717e Fix error message 2026-03-22 15:39:40 +01:00
Laurent Destailleur
de6af44660 Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-22 15:39:13 +01:00
Laurent Destailleur
aee1c5b719 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-22 15:34:29 +01:00
Laurent Destailleur
9db3575e9f Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-03-21 11:53:46 +01:00
Laurent Destailleur
7059a821d8 Automated merge from 17.0 to 18.0 by tool pullmerge.sh 2026-03-21 11:53:42 +01:00
Laurent Destailleur
587fdc06d5 Automated merge from 16.0 to 17.0 by tool pullmerge.sh 2026-03-21 11:53:39 +01:00
Laurent Destailleur
8819258516 Automated merge from 15.0 to 16.0 by tool pullmerge.sh 2026-03-21 11:53:04 +01:00
Laurent Destailleur
5ac556f722 CSS 2026-03-21 02:09:55 +01:00
Laurent Destailleur
97c36a38a3 Automated merge from 14.0 to 15.0 by tool pullmerge.sh 2026-03-20 19:06:16 +01:00
Günter Lukas
24a6061047
Fix confirmation email not sent when ticket created via Email Collector (#37517) (#37518)
- Fix key mismatch: emailcollector.class.php sets context['contactid'] but
  trigger reads context['contact_id'] — rename key to contact_id
- Add fallback to origin_email in trigger so unknown senders (no contact,
  no third party) also receive the confirmation email

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 19:05:00 +01:00
William Desportes
29a5befad8
Fix getURLContent should serialize arguments and allow array for CURLOPT_POSTFIELDS (#37560)
```
PHP Warning:  Array to string conversion in
htdocs/core/lib/geturl.lib.php on line 52
```

Backport of ec2f4146c3
2026-03-20 18:36:32 +01:00
bybel
17b1436284
update mistaken field in recruitment api (#37550)
* update mistaken field in recruitment api

* Update api_recruitments.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-20 17:18:16 +01:00
Laurent Destailleur
8cdddcbafb Fir return of array error 2026-03-20 17:11:10 +01:00
Laurent Destailleur
28ec60f5ce Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-03-20 17:03:03 +01:00
Laurent Destailleur
61545bc8c6 Fix merge of array 2026-03-20 17:02:48 +01:00
SAINT-PATRICE
19a0f2e4c5
FIX contrat update alias for postgres (#37524)
* FIX contrat update alias for postgres

* FIX contrat update alias for postgres end
2026-03-20 16:58:16 +01:00
hansemschnokeloch
0dec786f11 Fix syslog configuration (#37531)
* Fix syslog configuration

* Fix retrieval of SYSLOG_FACILITY constant

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-20 16:31:24 +01:00
Maxime Kohlhaas
fd874dcc04
FIX : product ref was not printed on supplier recurring invoice (#37535) 2026-03-20 16:28:38 +01:00
Aloïs Micard
7aec9d3e15
FIX: Allow to include spaces in email filename (#37539)
* Allow to include spaces in email filename

* Update CMailFile.class.php
2026-03-20 16:22:57 +01:00
Laurent Destailleur
5a9c9e5c46 CI 2026-03-20 16:15:49 +01:00
Laurent Destailleur
a50b9b4a80 Better logic for offset on project date end when cloning. 2026-03-20 16:11:30 +01:00
Sylvain Legrand
f1acad7df8
FIx clone action on project (#37549)
* FIx clone action on project

Uncaught TypeError: Unsupported operand types: int - string

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Update project.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 16:08:19 +01:00
Alexandre SPANGARO
d572b8378a
FIX #37551 Accounting - Use better rights on create / export entry (#37555) 2026-03-20 15:56:26 +01:00
Laurent Destailleur
bbbc0329ab Fix trans 2026-03-20 15:35:36 +01:00
Laurent Destailleur
167830d6ef Doc 2026-03-19 11:46:45 +01:00
Eric - CAP-REL
c19e3d9690
php version of perl package builder historical script (#37545) 2026-03-19 09:39:53 +01:00
Laurent Destailleur
a5b65ea110 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-03-18 01:34:11 +01:00
Laurent Destailleur
fba1534d5b Fix autofocus 2026-03-18 01:34:00 +01:00
Guido Schratzer
26f33edefc
FIX Backport/23 fix amount main currency (#37530)
* FIX: Issue #37425 filling of field amount_main_currency for foreign money accounts

The parameter amount_main_currency (argument #13 of addline()) was previously
filled even when the bank account was already using the company main currency.

This caused the field amount_main_currency to be populated incorrectly for
transactions that were not foreign currency operations.

The logic has been updated so that amount_main_currency is only filled when the
transaction involves a foreign currency account. For accounts already using the
company main currency, the value is now left NULL as expected.

This aligns the behavior with the intended usage of addline() and prevents
incorrect data in bank transaction records.

(cherry picked from commit cdc36551d918a2fa49060223bd7bb008a9de3c1b)

* FIX: Issue #37425 filling of field amount_main_currency for foreign money accounts
transfer.php: PhanTypeMismatchArgument: Argument 4 ($amount) is price2num((-1 * (float)($amount[$n]))) of type string but \Account::addline() takes float defined at htdocs/compta/bank/class/account.class.php:611
CI-PULL-REQUEST / phan / Run phan
Check warning on line R189
Check warning:
transfer.php: PhanTypeMismatchArgument: Argument 13 ($amount_main_currency) is $amount_main_currency_from of type ?string but \Account::addline() takes ?float defined at htdocs/compta/bank/class/account.class.php:611
CI-PULL-REQUEST / phan / Run phan

(cherry picked from commit b8f222c3d9c71bf09f66ce33b920b284a7308cf7)

* declare dateo

(cherry picked from commit 1401f74969b9842df87cc390bb97d8d09d304c38)

* declare of variables before action script

(cherry picked from commit 2b07209935d87549fd9d9720e8c090127e766c4e)
2026-03-17 11:26:18 +01:00
Francis Appels
91781c8b44
Fix modPrinting menu (#37529) 2026-03-17 11:25:32 +01:00
Laurent Destailleur
a1e546bf09 css 2026-03-16 22:14:02 +01:00
Laurent Destailleur
61a4af5ac5 Move the sleep 2026-03-16 10:51:46 +01:00
Laurent Destailleur
06db36885b Doc 2026-03-16 10:41:11 +01:00
Laurent Destailleur
9773f4c6ec FIX Logic in isEditable(). Must not be exactlylike in isErasable(). 2026-03-16 10:40:19 +01:00
Laurent Destailleur
2985c8bd21 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-16 10:20:01 +01:00
Laurent Destailleur
a222fe5360 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-16 10:19:58 +01:00
Laurent Destailleur
e98c441c4c Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-16 10:19:56 +01:00
Laurent Destailleur
638fd27af2 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-16 10:19:43 +01:00
Laurent Destailleur
f9c6562de9 Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-03-16 10:18:38 +01:00
Laurent Destailleur
8ede2e75f5 Automated merge from 17.0 to 18.0 by tool pullmerge.sh 2026-03-16 10:18:34 +01:00
Laurent Destailleur
86bb0b4cc5 Automated merge from 16.0 to 17.0 by tool pullmerge.sh 2026-03-16 10:17:50 +01:00
Laurent Destailleur
4098eafe24 Automated merge from 15.0 to 16.0 by tool pullmerge.sh 2026-03-16 10:16:32 +01:00