Commit graph

147694 commits

Author SHA1 Message Date
Anthony Berton
ce02010542
FIX - Show POS in Order and Invoice list (#37364)
* FIX - Show POS in Order and Invoice list

* Update list.php

* Change $showpos value type from int to string

* Refactor POS fields visibility logic

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 17:15:41 +01:00
Regis Houssin
cd4833e6de
FIX #37339 (#37340)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:05:47 +01:00
Anthony Berton
e522839aa0
FIX - Twice the check in resource list column (#37342)
* FIX - Twice the check in resource list column

* Update copyright information in list.php

Added copyright notice for 2026.

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-02-27 16:02:24 +01:00
HENRY Florian
cfb6fa89d9
fix: php 8 warning Array To String (#37371)
* fix: php 8 warning Array To String

* Change logging to use json_encode for parameters

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:00:54 +01:00
Anthony Berton
c326ab68f0
FIX - If a specific pricing system is applied, the price type is not specified (#37348)
* FIX - If a specific pricing system is applied, the price type is not specified

* Add 2026 copyright for Anthony Berton

Added copyright notice for Anthony Berton for 2026.

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-02-27 14:49:14 +01:00
Laurent Destailleur
77ba059635 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-27 14:35:48 +01:00
Laurent Destailleur
1642d20d46 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-27 14:33:58 +01:00
Laurent Destailleur
ec97514bdb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-27 14:33:43 +01:00
Laurent Destailleur
e1dedd638b Disable beautysh. Overload of work with this is 100x higher than the
gain. Disable definitely.
2026-02-27 14:32:47 +01:00
atm-jonathan
82ed704060
FIX duplicate str_replace() (#37355)
* duplcate str_replace()

* update addline and updateline logic TVA NPR
2026-02-27 14:30:06 +01:00
Laurent Destailleur
c2a3ea6f12 Fix regression 2026-02-27 14:29:35 +01:00
atm-lucas
2b0696080c
Verif odt template extension (#37366) 2026-02-27 14:24:52 +01:00
Alexandre SPANGARO
f85c6d6495
FIX #37323 Accountancy closure page - Problem with GETPOSTINT cannot read checkbox values properly (#37325) 2026-02-24 17:49:26 +01:00
HENRY Florian
125caf1d4b
fix: filter on shipping list on mass action (#37281)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 20:06:13 +01:00
HENRY Florian
d6f4bf8f03
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>
2026-02-23 02:10:32 +01:00
Laurent Destailleur
16b2735ca4 Fix CI 2026-02-23 01:33:35 +01:00
Laurent Destailleur
6b228411de Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-23 01:28:59 +01:00
Laurent Destailleur
f87a5ab46a Remove beautysh 2026-02-23 01:21:39 +01:00
atm-corentin
020f552410
Adjust tracking number height calculation in PDF generation (#37289) 2026-02-23 01:05:35 +01:00
splohmer
00a64df8e4
NEW Add Hook for adapting virtual stock in replenish screen (#37290)
* Add Hook for adapting virtual stock in replenish screen 

Currently it is only possible to hook in the loadvirtualstock hook to adapt the virtual stock by external modules. The newer version of the replenish screen doesn't use this hook anymore (by loading stock from product object) as it now uses faster sql queries. Therefore the external module cannot adapt this area and there is an missmatch of the view in replenish.php and the stock tab of the product.

* fix phan warning
2026-02-23 01:03:21 +01:00
ThomasNgr-OpenDSI
0b34a66fe6
FIX : filters on contract services list (#37274)
- when filtering on inactive services with pagination, clicking on 'next page' will lose filter for 'inactive' status.
- when filtered on 'active / expired' or 'active / not expired', the '(not) expired' part was lost after navigating to next/prev page
2026-02-23 00:43:23 +01:00
Sylvain Legrand
b34fb98b52
Update commande.class.php (#37301)
the empty qty logic → special_code = 3 ("Option" line) is not respected, unlike Propal which works correctly.
2026-02-21 12:09:17 +01:00
Jyhere
48cb31224e
FIX: MAIN_FEATURES_LEVEL typo errors (#37304) 2026-02-21 12:03:15 +01:00
Vincent Maury
d4ff519b75
Fix Product Api Update price (#37209)
If product prices is set to "price by client" sell price is never updated by API
2026-02-17 20:31:03 +01:00
Joachim Kueter
deeb710d2b
FIX #37259 - Reverse Charge also for non-EEC countries (#37260)
See issue #37259:

Currently, reverse charge is only applied, if the supplier is based in the EEC.

At least for a German B2B customers, reverse charge has to get applied to any supplier outside of the home country.

The fix is non-invasive by providing a const ACCOUNTING_REVERSE_CHARGE_ALSO_NON_EEC to allow for a broader application of the already implemented RC rules.
2026-02-17 18:04:02 +01:00
VIAL-GOUTEYRON Quentin
81ac910ede
FIX: align permission checks for product batches with rights class aliases (#37263) 2026-02-17 17:37:19 +01:00
tcesar
41294d5a27
Fix export extra-fields of warehouses (#37264) 2026-02-17 14:36:54 +01:00
Anthony Berton
03ab77c861
setPaymentTerms (#37232)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-17 01:37:13 +01:00
Laurent Destailleur
da4baf4255 CI 2026-02-16 21:43:56 +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
Günter Lukas
917c2d6be8
Add check for empty delivery date before setting (#37254) 2026-02-16 20:12:21 +01:00
Joachim Kueter
7a37ebbeb3
FIX: Clean filenames with double spaces (#37256)
* Clean filenames with double spaces

If a filename contains double spaces, it can get uploaded in Dolibarr exactly as it is.

When listing the file or trying to download it, the dolibarr functions clear double spaces in the filename. In particular the alpha parameter for GETPOST.

This results in files being uploaded (e.g. attachments for invoices) than can get listed but remain inaccessible and even cannot get deleted via UI. 

We either need to fix all these places to accept double spaces or we change a single location, when we sanitize filenames.

* removed white space
2026-02-16 20:03:22 +01:00
Alexandre SPANGARO
83b137d854
FIX Luxembourg VAT rate by default (17% since 2024-01-01) (#37255) 2026-02-16 20:01:27 +01:00
Laurent Destailleur
9f4674806e Fix CI 2026-02-16 20:00:45 +01:00
Alexandre SPANGARO
30f7f34708
FIX Societe - Wrong control on update of VAT Intra (#37224) 2026-02-16 19:54:09 +01:00
Laurent Destailleur
ed868d6dd3 FIX #37072 2026-02-12 18:56:00 +01:00
ThomasNgr-OpenDSI
a8e0508343
Sec: Can init a page with php content without permission for php content (#37211)
edition (reported by phdwg1410)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-12 16:30:45 +01:00
Eric - CAP-REL
e850355b30
Refactor GitHub Actions workflow steps
Remove depends on gh and only use curl and requests on github api ...
2026-02-12 09:37:04 +01:00
Alexandre SPANGARO
673659de98
FIX Accountancy - Update height of the export popup (#37206) 2026-02-12 01:23:06 +01:00
Laurent Destailleur
1a83124ca6 FIX closing an deposit invoice when payment was too high. 2026-02-12 00:38:04 +01:00
Laurent Destailleur
718f318089 Fix error when setup not complete. 2026-02-11 22:53:55 +01:00
Laurent Destailleur
da6de62ad9 Fix log 2026-02-11 20:37:57 +01:00
Laurent Destailleur
7a1a00e5d3 Complete examplefor tooltip to setup a virtual host 2026-02-11 18:44:15 +01:00
Laurent Destailleur
bf9e154deb Fix init ref 2026-02-11 18:07:37 +01:00
Laurent Destailleur
094e42fd4f Fix init ref 2026-02-11 18:03:03 +01:00
Laurent Destailleur
5846921e37 Sec: Can init a page with php content without permission for php content
edition (reported by phdwg1410)
2026-02-11 17:53:09 +01:00