Commit Graph

16111 Commits

Author SHA1 Message Date
Laurent Destailleur
6b0e63f9e5 CSS 2026-02-26 15:33:49 +01:00
Laurent Destailleur
000c855038 Debug v23 2026-02-26 14:42:38 +01:00
Laurent Destailleur
bde08e0868 Merge v23 2026-02-25 19:18:10 +01:00
Laurent Destailleur
374d609ce8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-24 18:12:05 +01:00
Lucky
db3df89ee2 New options for withdraw control (#37179)
* New options for withdraw control

Add a new option "WITHDRAW_STRICT_CHECK_AMOUNT"
Transfer request control is based solely on the supplier invoice amount:
By default, once a request is made, even if its amount is less than the invoice amount, no additional requests can be made until the original request is validated (integrated into a transfer slip).
With this option, the control is applied to the sum of all requests, even if they are not integrated into a SEPA transfer slip.
The control verifies that the total sum of the requests never exceeds the invoice total.
By default, one or more requests exceeding the invoice amount can be entered; this option prevents this behavior.

This behavior is more logical and user-friendly, especially when transfer requests are made by technicians or buyers and the SEPA files are created by the accounting department.

* fix

* Update commoninvoice.class.php

* fichier lang

* Cast remaining amounts to float for precision

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 18:06:31 +01:00
Pierre Ardoin
df352dfbb3 NEW Support for __AUTHOREMAIL__ in fixed notifications (#37285)
* Update notification.php

* Update notify.class.php

* Update mails.lang

* Update mails.lang

* Update notify.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 17:53:24 +01:00
ATM-NicolasV
11e25b25fb New/add support microsoft exchange oauth (#37329)
* backport de la liste des ressources v23

* fix oauth api conexion

* fix oauth api conexion

* fix oauth api conexion

* Fix CI

* fix: in some case on create invoice when create PDF the lang is not correcly defined because ->thirdparty is not set (#37287)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* Revert unintended changes to resource list

* Tidy OAuth logging and consent prompt

* Fix PHPCS blank line warnings

---------

Co-authored-by: ATM-Lucas <lucas.mantegari@atm-consulting.fr>
Co-authored-by: VIAL-GOUTEYRON Quentin <quentin.vial-gouteyron@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 17:48:29 +01:00
splohmer
f919a83721 FIX upload of files with multiple spaces via drag'n'drop flow (#37271)
* Debug savedemo

* Fix mention

* FIX upload of files with multiple spaces via drag'n'drop flow

Currently there are two ways to upload files to products, orders, etc. via the "old" way and the document tab and the "new" flow via drag'n'drop on the main tab of the object.

Both ways triggering completely different code paths. In the end the new way uses dol_sanitzieFileName to sanitize the name of the file and the old way uses dol_string_nohtmltag (both from functions.lib.php).

One of the main difference between the two mentioned functions is that in the old way multiple spaces behind each other are replaced by a single space. E.g. "A␠␠B␠␠␠C␠␠D" is tranformed to "A␠B␠C␠D".

This is needed to make sure that the files are properly uploaded and can be later also downloaded correctly.

How to reproduce?
Upload a file like "test␠␠test.txt" via the drag'n'drop flow and try to download it from the document tab. This is not working. You can see the file but cannot download it. The same flow via the input field of the document tab is working correctly.

* typo in comment

* FIX Phan warnings (unrelated to feature)

* FIX Phan warnings (unrelated to feature)

* FIX Phan warnings (unrelated to feature)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 20:08:30 +01:00
Laurent Destailleur
7b2761790f Debug v23 2026-02-23 19:49:45 +01:00
Laurent Destailleur
de9bf13ddd Fix SQL 2026-02-23 19:31:44 +01:00
hansemschnokeloch
e728453b7a Log message additionnal info (#37215) 2026-02-22 01:22:08 +01:00
Laurent Destailleur
7df18dbad8 Clean scripts 2026-02-21 12:28:45 +01:00
Laurent Destailleur
7728f8c895 WIP LNE 2026-02-21 11:44:43 +01:00
Laurent Destailleur
acc5f754e6 Removed the header that was a copy past, but this file was authored by
one dev only
2026-02-21 10:28:13 +01:00
Laurent Destailleur
f72245353f Debug send email for takepos 2025-01-16 12:52:03 +01:00
Frédéric FRANCE
ba01664d57 fix commoninvoice.class.php (#37267)
* fix commoninvoice.class.php

* Update commoninvoice.class.php
2026-02-17 15:32:16 +01:00
Laurent Destailleur
5433a5642d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-16 21:21:13 +01:00
Laurent Destailleur
bff98ad817 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-16 21:11:20 +01:00
Laurent Destailleur
7ccd12e865 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-16 21:08:22 +01:00
Laurent Destailleur
e64ab3c751 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-02-16 20:51:44 +01:00
Laurent Destailleur
6adc5dc78d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-02-16 20:47:21 +01:00
Laurent Destailleur
2a41e1f714 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2026-02-16 20:44:36 +01:00
Laurent Destailleur
ed868d6dd3 FIX #37072 2026-02-12 18:56:00 +01:00
hansemschnokeloch
c820404856 Error handling methods for commonobject (#37201) 2026-02-12 16:43:24 +01:00
Laurent Destailleur
caa5d7b347 Debug v23 2026-02-12 16:23:43 +01:00
Laurent Destailleur
6d48243b68 Add hook in isEditable() 2026-02-12 16:01:54 +01:00
Vincent Penel
e43438cc7b Fix/ticket status (#37129)
* set oldCopy and Status

* Update ticket.class.php

* Question Eldy

* Fix event status change

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-10 15:40:05 +01:00
Alexandre SPANGARO
0cc80e65ed FIX SQL Error on VAT not defined in product card (#37159) 2026-02-09 18:33:54 +01:00
Laurent Destailleur
6bc3bb0761 More debug info 2026-02-07 22:28:11 +01:00
Laurent Destailleur
a48485195f Fix CI 2026-02-07 22:03:11 +01:00
Laurent Destailleur
529db21a6c Debug extrafields chckbxlist v23 2026-02-07 14:56:58 +01:00
Laurent Destailleur
bbac3b9a4a Add tool to fix data of payments not correctly linked to bank (need
hidden option to allow this data correction)
2026-02-06 18:05:53 +01:00
Laurent Destailleur
4cdd513914 css 2026-02-03 17:57:18 +01:00
Laurent Destailleur
3a67d56a4f Fix CI 2026-02-01 02:33:07 +01:00
Jyhere
b74382c7e2 FIX: Add htmlname and selectedrate to parameters array for hook (#36998)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-01 02:09:40 +01:00
Laurent Destailleur
280fb84147 Clean comment 2026-02-01 01:52:58 +01:00
Laurent Destailleur
39ca59eb37 FIX Division by zero 2026-01-30 03:20:29 +01:00
Laurent Destailleur
6b0a3e0f68 FIX Pb in total price of line when adding the discount of a down payment
when unit price was using a high accuracy.
2026-01-29 23:15:07 +01:00
Laurent Destailleur
416370eddf Fix label of dispute 2026-01-29 13:44:25 +01:00
atm-jonathan
65c38c92fb prevent ST_AsWKT() (#37013)
* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-28 18:21:50 +01:00
Laurent Destailleur
050f3ec78a Debug v23 2026-01-27 16:52:49 +01:00
Laurent Destailleur
08bf5af5d4 Default value 2026-01-27 13:46:35 +01:00
Laurent Destailleur
48f067fdfc Set default value to on 2026-01-26 20:09:10 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Laurent Destailleur
449870d347 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-01-26 19:05:09 +01:00
Braito
388c25f588 Fix SMTP OAuth refresh scopes (#36950)
Recreate the OAuth service with its configured scopes when refreshing an access token (required by some providers like Microsoft v2).

Also keep the previous refresh token when the refreshed token does not include one (e.g. Google returns it only once).

Co-authored-by: caminotravelcenter <caminotravelcenter@localhost>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-24 20:13:35 +01:00
Laurent Destailleur
1ddbaf1181 Debug v23 - navigation into fiscal years 2026-01-24 15:57:40 +01:00
Laurent Destailleur
c134da09ea Debug v23 2026-01-24 14:53:17 +01:00
NicolasL-SCOPEN
63fd9d326d Fix: subtotal lines from order to purchase order break lines on new document (#36973)
* Added a fix to prevent origin subtotal order lines from breaking purchase order lines

* Refactored code and fixed formating
2026-01-23 19:53:30 +01:00
Laurent Destailleur
39d39f475d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-23 17:46:38 +01:00