Commit Graph

147032 Commits

Author SHA1 Message Date
Laurent Destailleur
9b5d4791cf Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-30 17:13:34 +01:00
Laurent Destailleur
bd510c090d FIX filter on note lost when sorting company list 2025-10-30 17:13:24 +01:00
Laurent Destailleur
af6358a441 FIX #35247 FIX #35950 Using same option for landing page and home page
leads to fatal errors with admin that is blocked.
Only the "Landing page" feature seems stable, so we keep it and use
another constant for the unstable "Home page" option.
2025-10-30 03:03:24 +01:00
Mathieu Pellegrin
4f3aca359d Fix incorrect total discount (missing loop after GROUP BY query) (#36000)
* Fix incorrect total discount (missing loop after GROUP BY query)

* Make phpcs happy

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-29 23:21:33 +01:00
Alexandre SPANGARO
2053ccf197 FIX Accountancy - Return on wrong page on y/n button (#35978) 2025-10-29 22:19:38 +01:00
Laurent Destailleur
ebdf77bbde Better error management 2025-10-29 20:41:25 +01:00
Laurent Destailleur
440c2d238a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-29 19:03:09 +01:00
Laurent Destailleur
ae16c8ccba Fix dir 2025-10-29 19:02:32 +01:00
boudet jean pascal
c49066640e Previously, the function correctly returned the error code, but $this->errors (the error array of the main object, e.g., the invoice) was not updated. The end-user would see a generic failure message without knowing why closing the shipment failed (e.g., "Invalid status," "Stock not sufficient," etc.). (#35980)
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2025-10-28 19:22:06 +01:00
Laurent Destailleur
f3931b386a Fix left join is not complete 2025-10-27 22:27:36 +01:00
Laurent Destailleur
aa6bc46141 FIX Hide AWP if product has no stock managed 2025-10-27 21:55:49 +01:00
Laurent Destailleur
c625ef121a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-27 15:21:59 +01:00
Laurent Destailleur
5efdee9094 css 2025-10-27 15:21:48 +01:00
sonikf
9b48b2347b Remove customer price handling from objectline_create.tpl.php (#35941) 2025-10-25 23:00:50 +02:00
Laurent Destailleur
9f2c33aa75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 19:39:15 +02:00
Laurent Destailleur
04bd68c493 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 19:36:45 +02:00
Laurent Destailleur
e98fe358d3 Fix responsive 2025-10-24 19:36:34 +02:00
Regis Houssin
5b7d358c4e FIX #35634 (#35912)
* FIX #35634

* FIX phan error
2025-10-24 18:46:20 +02:00
Regis Houssin
5259819fc5 FIX access problem when label is used for next/prev (#35933) 2025-10-24 18:22:30 +02:00
Laurent Destailleur
1fc5590934 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 17:15:33 +02:00
Laurent Destailleur
f3b8e64ec0 Fix translation of label in export 2025-10-24 17:11:35 +02:00
Regis Houssin
80c1fe6ae0 FIX broken feature ! (#35906)
* FIX broken feature !

* FIX Enhance SQL query with conditional entity filtering

Added conditional filtering for usergroup entity in SQL query based on MULTICOMPANY_TRANSVERSE_MODE setting.

* Update perms.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-23 14:32:07 +02:00
Pierre Ardoin
f54b5618fb Update invoice stats query to filter by entity (#35904) 2025-10-22 22:25:36 +02:00
Florian Mortgat
ae711c02f3 FIX: my previous fix was incompatible with Thomas' fix from PR#35590 (#35890) 2025-10-22 17:45:15 +02:00
Benjamin Chanudet
4c5e17f7e6 allow deactivation of document models on Donation module (#35882) 2025-10-22 02:30:58 +02:00
Regis Houssin
d37cf4b38a FIX wrong socpeople id when multiple assigned + avoid php warnings (#35878) 2025-10-22 02:29:05 +02:00
VIAL-GOUTEYRON Quentin
7aa9633901 FIX : Perf for bom select (#35871)
* ADD: Option to optimize BOM combo list performance with search-based loading

* FIX: Remove debug backtrace and exit statement in security.lib.php

* FIX: Use dynamic database prefix in BOM combo list query

* FIX: Correct spacing issue in 'elseif' condition in bom.php
2025-10-22 00:58:55 +02:00
Regis Houssin
c04359f995 FIX missing entity filters + wrong widget name (#35873) 2025-10-22 00:56:57 +02:00
Florian Mortgat
111dcd174f FIX: no emails sent when closing a ticket (#35874) 2025-10-22 00:56:01 +02:00
Frédéric FRANCE
c80858e712 fix CI branch v21 (#35876)
* fix CI

* add same fix than in develop
2025-10-22 00:51:20 +02:00
Regis Houssin
4d88608f1f FIX check if zip file of website exists (#35879) 2025-10-22 00:50:34 +02:00
noec764
8aabe1efb7 Fix load all line unecessary (#35783)
* FIX: Unecessary load of all order lines

* FIX: Unecessary load of all order lines

* FIX: Tabs indent instead of space

---------

Co-authored-by: Noé <noe@scopen.fr>
2025-10-21 02:16:49 +02:00
Laurent Destailleur
d49426ef30 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-21 01:49:53 +02:00
Laurent Destailleur
3fca1d8cb1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-21 01:46:46 +02:00
Laurent Destailleur
f82675c729 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-21 01:40:55 +02:00
Laurent Destailleur
700b89d578 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-21 01:35:08 +02:00
Laurent Destailleur
a4b78f8230 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-10-21 01:34:22 +02:00
Eric - CAP-REL
88db5b4bd7 fix task file path for download (#35793)
* fix task file path for download

* better fix thanks to regis for multicompany support
2025-10-21 01:33:38 +02:00
Regis Houssin
b8f8e2b785 FIX missing entity filter (#35857) 2025-10-20 23:54:00 +02:00
Marc de Lima Lucio
1f65548836 FIX: notifications: correctly report email delivery errors (#35864) 2025-10-20 23:53:07 +02:00
Laurent Destailleur
330d1aa778 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-20 15:00:31 +02:00
Laurent Destailleur
8e43cea541 css 2025-10-20 14:19:58 +02:00
Frédéric FRANCE
18c29d0e40 fix tva can be sometimes string instead float (#35835) 2025-10-18 19:12:01 +02:00
Laurent Destailleur
3a8bab63cd Trans 2025-10-18 11:56:33 +02:00
Laurent Destailleur
1b4afcea4b Ignore file to avoid commiting it 2025-10-18 11:56:07 +02:00
Guido Schratzer
ea2543e9e4 FIX #35766: Update buying price INT Float (#35769)
* FIX #35766: Update buying price INT Float
loose Decimals

.

* Fix: keep fk_product_fournisseur_price as int; treat buying price as float (no truncation) [#35766]

* Updated per feedback: keep fk_product_fournisseur_price as ?int (rowid) and  as float.
Adjusted FactureRec::updateline PHPDoc to ?int  and float|''  (model still normalizes via price2num).
Tested on a recurring line: decimals preserved, FK stored as int, CI green. Minor adjustments before v22 backport

* Delete .hooktest

* Delete dev/tools/pre-commit/README.md

* Delete test/phpunit/phpunit.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-18 11:55:58 +02:00
Laurent Destailleur
17e78c99a2 Fix responsive 2025-10-17 23:50:31 +02:00
Laurent Destailleur
74d38106b9 Column must be shown by default if option PRODUCT_USE_SUPPLIER_PACKAGING
on
2025-10-17 19:28:02 +02:00
Laurent Destailleur
f711fe9900 FIX Must show unit price when price is not for quantity 1 2025-10-17 18:59:32 +02:00
Laurent Destailleur
2139fdd9a2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-17 18:44:05 +02:00