Commit Graph

15626 Commits

Author SHA1 Message Date
ldestailleur
3aa9169cf0 Fix CI 2025-04-08 19:35:07 +02:00
ldestailleur
9c9099f06b Fix CI 2025-04-08 19:19:33 +02:00
ldestailleur
aa6d3199a0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-08 18:18:25 +02:00
ldestailleur
7d8607cce5 NEW Module external website is deprecated. Replaced with menu editor. 2025-04-08 18:18:05 +02:00
atm-jonathan
0bd93fa05a add param nocreateEcmFile (#33770)
Co-authored-by: x <x@x.x>
2025-04-08 15:24:28 +02:00
Yannis Hoareau
ebdf69ca69 Fix extrafields warning (#33761) 2025-04-08 15:22:48 +02:00
Vaadasch
87c3576a86 BUG duration minutes (#33767)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-08 15:21:38 +02:00
ldestailleur
1bb7edea8b Enhance AI features 2025-04-08 11:42:46 +02:00
ldestailleur
86cf3fe8dd FIX backport of replaceement of thirdparty information on notification 2025-04-08 10:45:20 +02:00
ldestailleur
9f7f1dbeff Enhance AI features. 2025-04-07 21:44:26 +02:00
Frédéric FRANCE
ac3364138d fix sql (#33754)
if ref or ref_ext doen't exists in object (by example ref with llx_societe) sql will fails

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-07 16:37:08 +02:00
ldestailleur
d77898ff3d FIX #33742 2025-04-07 12:53:19 +02:00
Laurent Destailleur
25d7c47ce3 WIP Enhance menu editor with showtopmenuinframe 2025-04-07 05:47:47 +02:00
ThomasNgr-OpenDSI
b431b1bc90 FIX sales representatives can affect contacts from thirdparties they are not allowed to see (#33353)
* introduce method User::getAffectedThirdparties()

* Forbid to display thirdparties on contact tab is user has no right to see them

* add control in add_contacts

* fix precommit

* fix phan, phpstan

* fix travis + fix using wrong table

* Forbid to display thirdparties on contact tab is user has no right to see them (more secure way)

* try to fix TRAVIS

* more efficient way to check user is allowed to ad a socpeople

* remove dead code
2025-04-06 19:51:30 +02:00
ldestailleur
43716e856e Bad order of code 2025-04-05 19:09:40 +02:00
Lucas Marcouiller
dce77a84b1 Fix add percent to Summarize feature (#33731)
* Fix add percent to Summarize feature

* fix
2025-04-04 18:16:29 +02:00
Frédéric FRANCE
8b1d8d7d19 add parameters (#33729) 2025-04-04 18:15:41 +02:00
Frédéric FRANCE
275a994110 do not force reload extrafields if not needed (#33716)
* Update extrafields.class.php

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-04 15:32:42 +02:00
ldestailleur
ef95c311a7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-03 21:09:46 +02:00
ldestailleur
3aa4bc0eca Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-03 21:05:01 +02:00
ldestailleur
174d6497b3 Signed-off-by: ldestailleur <eldy@destailleur.fr> 2025-04-03 21:04:35 +02:00
ldestailleur
4a88509ea0 Fix protection against bad % operator 2025-04-03 21:02:04 +02:00
ldestailleur
080fdacf1f Fix protection for sprintf on bad % specifier 2025-04-03 21:00:00 +02:00
kkhelifa-opendsi
b712abad83 NEW: Add parameters for the hook selectProductsListWhere (#33718) 2025-04-03 20:32:55 +02:00
Lucas Marcouiller
712c4a111f New add sumarize function to mail Ai Enhancements (#33710)
* New add sumarize function to mail Ai Enhancements

* fix translation

* fix CI
2025-04-03 17:34:09 +02:00
ldestailleur
1aac6e3c34 Clean code by using the ACCOUNTING_MODE var for both modules 2025-04-03 16:41:41 +02:00
lvessiller-opendsi
738fbc1b25 NEW #32706 - Treasury accountancy (#33701)
* NEW #32706 - Treasury accountancy

* Fix CI errors

* Fix CI errors

* Format code for CI integration

* Format code for precommit error

* Resolve CI errors

* Resolve CI errors
2025-04-03 16:08:35 +02:00
ldestailleur
9b67bd52a2 css 2025-04-03 13:17:36 +02:00
ldestailleur
f78eea2661 Fix click on label of checkbox busy resource 2025-04-03 13:05:02 +02:00
ldestailleur
191f6ba00e NEW Look and feel - Checkboxes and radio buttons are larger 2025-04-03 13:00:19 +02:00
ldestailleur
865198309a Fix click on label of checkbox busy resource 2025-04-03 12:53:18 +02:00
lvessiller-opendsi
bae01a9872 NEW const PREVIEW_PICTO_ON_LEFT_OF_NAME for icon to preview documents (#33519)
* NEW const PREVIEW_ON_LEFT for icon to preview documents

* Rename const to PREVIEW_PICTO_ON_LEFT_OF_NAME
2025-04-03 11:28:14 +02:00
ldestailleur
b466b7ab5a NEW The link "In accountancy" is now clicable to reach bookkeeping 2025-04-02 18:51:51 +02:00
atm-jonathan
d72d69e55c NEW add home box mrp (#33549)
* add box Mo

* tests ok

* comparaison dates

* before Wysy

* after wysy

* Update mo.class.php

* Update mo.class.php

* Update conf.class.php

* retour PR

* add parenthesis

* Update mo_list.php

---------

Co-authored-by: x <x@x.x>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 12:22:59 +02:00
VIAL-GOUTEYRON Quentin
3ad05c2dde FIX: Incorrect entity used when downloading a document generated in another entity (#33565)
* FIX : Wrong entity to download document

* MODIFICATION : Remplacement de l'ID d'entité par l'objet dans les fonctions de gestion des fichiers pour une meilleure cohérence.

* Update files.lib.php

* Update files.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 23:13:31 +02:00
Etienne BENDER
d73df8d931 Add hook printObjectLinesList in CommonObject::printObjectLines() (#33641)
* Add hook printObjectLinesList in CommonObject::printObjectLines()

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 22:24:35 +02:00
ldestailleur
ffa7413cda Clean code 2025-04-01 22:14:56 +02:00
Jon Bendtsen
27dc84fe3b NEW Can link member subscription/contribution with proposal, order and invoice (#33647)
* linking member subscription contribution <-> proposal, order and invoice
This can both be done manually from an existing proposal/order/invoice to a subscription created without creating an invoice. I use this when we sell memberships as part of registration for our membership classes.

The link will also be shown on the invoice that can be created as part of the subscription contribution creation.

These links show up in the json from the API on proposals, orders and invoices. The subscription does not show anything. It is currently unknown if the API can do this link or it will have to be done manually in the GUI.

* Update html.form.class.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 21:36:35 +02:00
Frédéric FRANCE
387e3b1da7 shipping can manage its contacts (#33680)
* shipping can manage its contacts

* shipping can manage its contacts

* fix

* add contacts from origin

* clean code

* apply changes

* apply changes
2025-04-01 20:47:40 +02:00
ldestailleur
f5a61d9dc4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-01 19:26:49 +02:00
ldestailleur
105347003c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-01 19:24:06 +02:00
Laurent Destailleur (aka Eldy)
62fba4f84d Add missing try catch 2025-04-01 19:23:47 +02:00
ldestailleur
7d0581b046 FIX Add a try catch to avoid fatal error on bad translation string
format
2025-04-01 19:05:59 +02:00
John BOTELLA
63bf68f846 Fix : php warning (#33664)
* Fix php warning

* Update html.formsetup.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 10:59:46 +02:00
ldestailleur
1325b249b0 Clean code to fix some phan warnings 2025-04-01 09:36:36 +02:00
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +02:00
ldestailleur
5d8fdc1d0b Remove global variable 2025-03-31 13:37:21 +02:00
ldestailleur
ca1afd6535 Clean code 2025-03-31 12:39:19 +02:00
John BOTELLA
f21ac2567b Fix : php warning (#33664)
* Fix php warning

* Update html.formsetup.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-31 11:36:53 +02:00
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01:00