Commit graph

148285 commits

Author SHA1 Message Date
Laurent Destailleur
bdfab3c467 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-12 18:50:02 +02:00
ldestailleur
538fc37242 FIX prices must be HT in dolistore browser 2025-10-12 17:12:00 +02:00
ldestailleur
4cac3d3544 Fix embedded tool to search module 2025-10-12 15:54:27 +02:00
ldestailleur
62a3d7242d Debug the embeded dolistore search tool 2025-10-12 15:47:16 +02:00
ldestailleur
67c1960483 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-12 14:12:24 +02:00
ldestailleur
951c3a36cc Fix look and feel 2025-10-12 14:12:15 +02:00
ldestailleur
435d10b887 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-12 13:57:49 +02:00
ldestailleur
2d805806b3 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-12 13:54:14 +02:00
ldestailleur
ae0d3b4133 FIX Deletion of a donation. Button was disabled. 2025-10-12 13:53:41 +02:00
Laurent Destailleur
3e1a6edd84
Update security.txt 2025-10-12 03:16:45 +02:00
atm-corentin
049fe9f201
Fix : Display supplier prices for shared products in multicompany context (#35600)
* Update SQL join condition for supplier prices to respect multi-entity context.

* Update SQL join condition for product supplier prices to use correct entity.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 17:58:19 +02:00
ldestailleur
ae39bedf27 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-11 15:31:48 +02:00
ldestailleur
bbec15ee91 Fix regression in accounting transfer 2025-10-11 15:31:32 +02:00
Alexandre SPANGARO
b77850521b
FIX Accountancy - Print subledger balance return general balance (#35712)
* FIX Accountancy - Print subledger balance return general balance

* Update pdf_balance.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 15:31:04 +02:00
Philippe Grand
c4abb3f8c3
Fix: prevent "Cannot access offset of type string on string" in param_ihm.php (#35702)
* Fix: prevent "Cannot access offset of type string on string" in param_ihm.php

- Added validation to handle cases where $tmparray items are strings instead of arrays
- Normalized entries to ensure each item has a 'label' and 'picto' key
- Defaulted 'picto' to "generic" when missing
- Prevents fatal error under PHP 8 when accessing $val['label'] or $val['picto']

* fix codesniffer issue

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 15:30:52 +02:00
ldestailleur
92b158d1fc Fix img picto 2025-10-11 14:58:23 +02:00
ldestailleur
e0c2fe14f9 Trans 2025-10-11 14:53:14 +02:00
ldestailleur
4dec03b9f9 Clean ci workflow files 2025-10-11 14:27:37 +02:00
ldestailleur
9e24aed800 Fix CI 2025-10-11 14:16:27 +02:00
ldestailleur
c363096d36 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-11 14:13:57 +02:00
ldestailleur
5824cc3449 Fix regression 2025-10-11 14:13:45 +02:00
Wilson
e3ad771149
NEW Allow omission of ODT template name when generating ODT and PDF (#35701)
Presently, Invoice PDF/ODT is generated with template name just before file extension.
This creates an issue where Mass Actions is also unable to perform Send By Email, or PDF Merge.
This pull request is inspired by this forum post:

https://www.dolibarr.org/forum/t/how-to-remove-omit-odt-templete-name-from-auto-document-generated/22735

Co-authored-by: Wilson <wilson@Wilsons-MacBook-Air.local>
2025-10-11 14:03:54 +02:00
ldestailleur
617d6e677f Try to reduce conflict and compatiblity pb by keeping old function name 2025-10-11 13:55:16 +02:00
ldestailleur
042f4c8822 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-11 13:53:33 +02:00
webmaster67
fad11836ff
NEW: Add directory navigation to Web Portal Shared Documents (#35443)
* Create documentlist.controller.class.php

Intégration de mon portail client personnalisé avec GED
attention 
class/sontext.class.php devra aussi être modifier.

* Update context.class.php

ajout du ged 
pour les fichiers joints par tiers.

* Update context.class.php

ajout d'accès à fichiers joints du tiers.

* Update menu.tpl.php

ajout du menu accès au GED

* Update README.md

* Update README.md

* Update README.md

* Add files via upload

document utile sert a partager via le GED de dolibarr des fichiers avec tous les clients utilisateur du webportal.

* Update context.class.php

ajout dans le menu de deux controleur suplémentaire.

* Update menu.tpl.php

ajoute des deux chapitre dans le menu

* Update README.md

* Update README.md

* Update menu.tpl.php

document format change

* Add files via upload

mises à jour et normalisation fichiers

* Add files via upload

ajout webportal.lang

* Update README.md

* Delete htdocs/webportal/documentutile.controller.class.php

* Update menu.tpl.php

* Update README.md

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update README.md

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update README.md

* Create webportal.lang

* Update webportal.lang

* Update webportal.lang

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update website.lang

* Delete htdocs/langs/fr_FR/webportal.lang

* Delete htdocs/langs/en_US/webportal.lang

* Update README.md

* Update README.md

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Create abstractdocument.controller.class.php

* Update website.lang

* Update website.lang

* Update website.lang

* Update README.md

* Update README.md

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update README.md

* Update context.class.php

* Update README.md

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update menu.tpl.php

* Update documentlist.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update README.md

* Update context.class.php

* Update documentlist.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update context.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

taking into account subfolders in shareddocuments

* Update abstractdocument.controller.class.php

support for subfolders and addition of a breadcrumb trail for navigation through subfolders

* Update website.lang

* Update website.lang

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update website.lang

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update documentlist.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

it's ready Boss
@eldy

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

correction get post faite

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

french comment removed sorry

* Update shareddocuments.controller.class.php

french comment traductions ok !

* Update documentlist.controller.class.php

* Update documentlist.controller.class.php

tabs corrected

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

oubli d'un @

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 13:53:23 +02:00
sonikf
0d10df9065
Fix accountancy pdfs (#35686)
* Add missing translation

* fix translation for non latin languages and add space

* Add missing translation

* Add translations 

DebitShort and CreditShort

* fix space

* fix translation for non latin languages

* fix translation for non latin languages

* fix trans

* fix missing separator line

* Add missing separator line

* fix translation for non latin languages

* Add missing translation

* Update pdf_balance.modules.php

* check if translation for AccountancyGroupXXX exists

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 13:50:14 +02:00
ldestailleur
99aea6fdea Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-11 13:49:19 +02:00
ldestailleur
ae759ee6af Trans 2025-10-11 13:45:59 +02:00
Charlène Benke
b14892043f
Add api document upload for knowledge management module (#35704) 2025-10-11 13:39:43 +02:00
Frédéric FRANCE
3bcb82428f
PERF Add index to optimize fetch ecm_files by src_object_type and src_object_id (#35708)
* Update 22.0.0-23.0.0.sql

* Update llx_ecm_files.key.sql
2025-10-11 13:39:02 +02:00
ldestailleur
115da282e3 Fix warning 2025-10-11 13:37:00 +02:00
ldestailleur
efe851ec92 Fix warning 2025-10-11 13:33:55 +02:00
ldestailleur
4e95109429 Fix warning 2025-10-11 13:30:12 +02:00
ldestailleur
47ba906291 Fix warning 2025-10-11 13:27:16 +02:00
ldestailleur
755c616dfd Try fix warning 2025-10-11 13:21:04 +02:00
ldestailleur
7f180687a1 Fix warning 2025-10-11 13:08:16 +02:00
ldestailleur
ed28193e27 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-11 13:02:15 +02:00
ldestailleur
13313f56be NEW The check file feature can limit check on unalterable files only 2025-10-11 13:01:49 +02:00
Frédéric FRANCE
1e0548468e
clean code expensereport class (#35697) 2025-10-11 06:27:40 +02:00
ldestailleur
5aee279f5a Clean code 2025-10-10 14:47:31 +02:00
ldestailleur
77d7d17d4c Removed function getImgPictoNameList from functions.lib.php (useless) 2025-10-10 14:45:07 +02:00
ldestailleur
c24ebe2122 Complete label and picto in type of blockedlog events 2025-10-10 12:04:11 +02:00
ldestailleur
87e8eddb65 Complete label of fields in popup of blocked log detail 2025-10-10 11:49:12 +02:00
ldestailleur
049ab546be Trans 2025-10-10 10:30:44 +02:00
ldestailleur
fa650e4d5d Trans 2025-10-10 10:27:19 +02:00
ldestailleur
3403bbe869 NEW Enhance the system for warnings on module activation 2025-10-10 10:16:33 +02:00
ldestailleur
a162de2455 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-09 18:47:52 +02:00
ldestailleur
076ab14c47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-09 18:41:49 +02:00
ldestailleur
c7f75a9a52 Fix test 2025-10-09 18:41:34 +02:00
Jon Bendtsen
e8a347f89e
NEW API for handling mass mailing targets (#35603)
* NEW API for handling mailing targets

* fix PHP Codesniffer

* adding return values to make phpstan happy

* Update function actually updates

* defining mailing_target public function create

* using a different language translation

* mailing_target - phpstan fixes

* mailing target - no check properties body

* mailing target int typecast fk_mailing

* mailing target - just 1 parameter

* mailing_target phpstan fixes

* mailing_target setting labelStatus

* mailing target class public function delete

* reveal the list of status name for the Mass mailing object in the API

* set tms to now when it is set to draft

* functions to set the mailing target status

* hurl testing api mailings

* hurl test - exit run script at first error

* hurl test mailings - should cover all endpoints

* using self:: in front of the CONST

* Trying to find out which line evaluates to noting

* API mailings can now get the targets of a mailing

* Protected method name "Mailings::_cleanTargetDatas" must not be prefixed with an underscore

* give me fk_project

* API endpoints for: Get all targets of a mass mailing + Get information about a specific target id

* API endpoint to update a mailing target

* telling pre-commit check to ignore, just like done in the function I copied

* be more explicit about for GUI tests we need username and password

* Prevent updating fk_mailing value

* API endpoint deleteTarget

* post to create a mailing target does work, but need slight more testing after work

* correct indent

* fixing some build errors

* More comprehensive hurl test of creation of a target

* adding status_dest to mailing targets json

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-10-09 18:38:13 +02:00