Commit Graph

15607 Commits

Author SHA1 Message Date
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
Alexandre SPANGARO
ffbcd11b68 NEW Accountancy - Centralized account are highlighted (#33648)
* Complete migration for centralized accounts

* Fix display error on centralized account

* NEW update function select_account for centralized account

* FIX CI
2025-03-29 17:20:00 +01:00
ldestailleur
1bbdd303d3 Fix position of drowndown when checkbox column is on left 2025-03-29 15:32:25 +01:00
ldestailleur
3ab8e1302d Debug v22 2025-03-29 15:29:09 +01:00
Vaadasch
c855778dd4 FIX extrafields.class.php, working filter of sellist and chkbxlst on list.php (#33628)
* FIX extrafields.class.php, working filter of sellist and chkbxlst on list.php

* Update extrafields.class.php, replace indent spaces with tabs
2025-03-28 15:11:12 +01:00
ldestailleur
3e9ba9f9fc QUAL: Must use img_picto instead of hard coded html 2025-03-27 17:45:04 +01:00
ldestailleur
6361c1032b Debug v22 2025-03-27 14:18:52 +01:00
ldestailleur
6f9d1a50dd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-27 13:43:22 +01:00
ldestailleur
72ed45b270 Add code to make SMTPs debug 2025-03-26 05:06:41 +01:00
ldestailleur
965b73ffcd Doc 2025-03-26 03:05:51 +01:00
ldestailleur
ae59c409f6 Modulebuilderization 2025-03-26 00:56:24 +01:00
ldestailleur
507262a1a8 Test fix CI 2025-03-25 22:27:52 +01:00
ldestailleur
4ab6fe34fa Introduce getWarningDelay() 2025-03-25 17:42:54 +01:00
Alexandre SPANGARO
1cd2783bd2 NEW Add tags / category on supplier invoice (#33490)
* NEW Add tags / category on supplier invoice

* CI

* Fix condition if constant MAIN_USE_NEW_SUPPLIERMOD is used

* Fix link

* Fix typo

* Fix element type on export

* Fix element type on export
2025-03-25 16:28:51 +01:00
ldestailleur
0c09be61a2 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-25 14:01:28 +01:00
ldestailleur
705eb17310 Clean code 2025-03-25 12:42:51 +01:00
John BOTELLA
b16b462520 New js search filter in icons doc (#33580)
* New js search filter in icons doc

* Fix code wysiwyg editor in Doc and add search input doc

* Fix code wysiwyg editor in Doc and add search input doc

* Fix autofocus

* fix js count

* comment

* comment

* fix php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-25 10:57:15 +01:00
ldestailleur
a98c6b309f Ignore phan false positive 2025-03-24 15:42:07 +01:00
ldestailleur
1338ea41e4 Fix phpstan 8.2 2025-03-24 15:16:44 +01:00
ldestailleur
e1351bdd18 FIX Translation of column in list of invoice 2025-03-24 12:54:32 +01:00