2
0
forked from Wavyzz/dolibarr
Commit Graph

39551 Commits

Author SHA1 Message Date
Christophe Battarel
5864af4d4c fix permission def (#33712)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2025-04-03 17:13:54 +02:00
atm-irvine
87b254e0fd Fix pdf einstein automatic calculation (#33713)
* fix(pdf-einstein): let automatic calculation for pos

* removed ;
2025-04-03 17:12:28 +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
ab742e7bd8 NEW Support of monthly or weekly recurring events 2025-04-03 14:58:41 +02:00
ldestailleur
10c0fba6b0 WIP Recurring events 2025-04-03 13:59:46 +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
ldestailleur
f159d82b02 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-03 12:00:57 +02:00
ldestailleur
869bc1a3f5 Fix phan 2025-04-03 12:00:46 +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
4cd556730f Use semantic button instead of a href 2025-04-02 19:33:55 +02:00
Marc de Lima Lucio
392d33ce02 NEW: login page: button to toggle the visibility of the password (#33698)
* NEW: login page: add a password toggler

* FIX: codesniffer
2025-04-02 19:24:09 +02:00
ldestailleur
b466b7ab5a NEW The link "In accountancy" is now clicable to reach bookkeeping 2025-04-02 18:51:51 +02:00
ldestailleur
c23d5be678 Clean code 2025-04-02 13:23:05 +02:00
atm-irvine
822f5dfa88 feat(pdf): new conf to remove break before country in pdf (#33696) 2025-04-02 12:29:47 +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
Frédéric FRANCE
51624f8a50 deprecate statut (#33691)
* deprecate statut

* Update fichinter.class.php

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-02 11:27:17 +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
omogenot
73eb4e606a NEW : Rounding unit price - line discount before applying quantity - option MAIN_APPLY_DISCOUNT_ON_UNIT_PRICE_THEN_ROUND_BEFORE_MULTIPLICATION_BY_QTY (#33690)
* Rounding unit price - line discount before applying quantity

On some systems, the line total price is calculated based on the discount applied on the unit price first, giving a new rounded unit price, and then multiplied by the quantity. Whereas the current way Dolibarr acts is to apply the discount on the subtotal (unit price * quantity).
Using an extra OTHER SETUP constant 'MAIN_ROUND_UNIT_PRICE_BEFORE_QTY', we can choose between the two ways.

* Update price.lib.php

* Update price.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-01 21:36:52 +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
f7d034a71c NEW Option MAIN_SECURITY_MAXFILESIZE_DOWNLOADED become official 2025-04-01 19:56:50 +02:00
ldestailleur
0780695ba4 Try CI fix 2025-04-01 19:29:24 +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
ldestailleur
5d51d0679b Share not allowed extension into the method getExecutableContent() 2025-04-01 17:53:33 +02:00
ldestailleur
3edadbd8b8 Add option MAIN_DISALLOW_STRING_OBFUSCATION_IN_DOL_EVAL. Close #33612 2025-04-01 16:23:50 +02:00
ldestailleur
15f2f4f223 Clean code 2025-04-01 15:21:43 +02:00
ldestailleur
b3cbf93c5b Fix warning 2025-04-01 13:40:36 +02:00
ldestailleur
cc8c7b8329 Fix possible remote code execution using dol_concatdesc in dol_eval. To
allow concat char, you can use
MAIN_ALLOW_UNSECURED_SPECIAL_CHARS_IN_DOL_EVAL='.'
2025-04-01 13:25:10 +02:00
ldestailleur
bcf0ef0bc0 Test switch in dol_eval function() 2025-04-01 12:31:27 +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
MDW
0aea1709f7 Qual: Add comment on return to avoid 'redundant' notice (#33676) 2025-04-01 10:45:10 +02:00
ldestailleur
158e2f070e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-01 09:36:49 +02:00
ldestailleur
1325b249b0 Clean code to fix some phan warnings 2025-04-01 09:36:36 +02:00
Chosto
ccc25e5970 [MC] Fix illegal table.column PostgreSQL UPDATE syntax (#33673) 2025-04-01 01:08:31 +02:00
ldestailleur
e435f7652b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:33:31 +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
Lucas Marcouiller
5a28052daf Fix ai dropdown and ai content generation (#33666)
* Fix ai dropdown and ai content generation

* fix ci
2025-03-31 16:03:45 +02:00
ldestailleur
d880c82333 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 15:59:46 +02:00
ldestailleur
665814fdf0 Doc 2025-03-31 15:59:28 +02:00
Frédéric FRANCE
eb3032fdce fix missing translation (#33665) 2025-03-31 15:56:57 +02:00
ldestailleur
5d8fdc1d0b Remove global variable 2025-03-31 13:37:21 +02:00