Commit Graph

144145 Commits

Author SHA1 Message Date
ldestailleur
6ea3da0b61 Fix typo 2025-03-25 19:27:27 +01:00
ldestailleur
d33866426c Clean code 2025-03-25 19:04:52 +01:00
ldestailleur
64690564fd Fix bad directory for sql files 2025-03-25 19:04:33 +01:00
ldestailleur
89b3115f04 Remove non official tables 2025-03-25 18:44:38 +01:00
ldestailleur
994b5fe90f Remove not used table 2025-03-25 18:41:45 +01:00
ldestailleur
9f70a961b0 Comment 2025-03-25 18:36:51 +01:00
ldestailleur
7522ee7693 Try fix travis 2025-03-25 18:17:25 +01:00
ldestailleur
4ab6fe34fa Introduce getWarningDelay() 2025-03-25 17:42:54 +01:00
ldestailleur
8d15000050 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-25 17:12:04 +01:00
ldestailleur
6ff05d188a Fix warning 2025-03-25 17:11:55 +01:00
Josep Lluís
f8550ed45d NEW: Add DateMaxPayment option on selectDate (#33601)
* Add DateMaxPayment option on selectDate

Add DateMaxPayment option on selectDate, in customers invoices, as in suppliers invoices

* Update paiement.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-25 16:34:28 +01:00
Yannis Hoareau
1f15c35b15 Removed unnecessary tests (#33603) 2025-03-25 16:29:44 +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
59ad7b7e59 Button synchrnize enabled only if setup ok 2025-03-25 16:07:52 +01:00
ldestailleur
c73eec72d5 Disable spellcheck on textarea to define path of dirs 2025-03-25 14:10:53 +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
facf32c5a9 Clean code 2025-03-25 13:40:42 +01:00
ldestailleur
705eb17310 Clean code 2025-03-25 12:42:51 +01:00
Benjamin Falière
c6d50cf46b NEW(mailing): Allow user to define the number of email sent by batch directly from mailing config page (#32750)
* NEW(mailing): Allow user to define the number of email sent by batch

* FIX: incompatibility with conf.php fie

* DEL: MAILING_LIMIT_SENDBYWEB constant from const.php page

* Define the const for all entities instead of specific entity

* Remove note

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2025-03-25 12:01:14 +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
atm-irvine
1e9b58dc9d feat(commandeFournisseur): new set reopen function (#33597)
* feat(commandeFournisseur): new set reopen function

* error : db begin instead of db prefix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 23:51:24 +01:00
Jyhere
ad5102e5da FIX: products with a single price by qty may have empty price when adding it in a commercial piece (#33509)
* FIX: products with a single price by qty may have empty price when adding it in a commercial piece

* FIX: products with a single price by qty may have empty price when adding it in a commercial piece
2025-03-24 23:34:02 +01:00
Anthony Damhet
a522442d57 UIUX: Documentation for table update (#33593)
* Documentation for table update

Examples and documentation on using tables

* Remove space

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 22:22:55 +01:00
Frédéric FRANCE
c753078b36 fix missings translations (#33585)
* fix missings translations

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 22:01:55 +01:00
ldestailleur
03c4ce1cc3 Fix travis 2025-03-24 21:44:57 +01:00
ldestailleur
bb7ef236c5 Fix travis 2025-03-24 21:43:38 +01:00
ldestailleur
2cb5ec448b Fix travis 2025-03-24 21:42:16 +01:00
ldestailleur
8a89cc3f04 FIX phpunit 2025-03-24 20:52:13 +01:00
ldestailleur
c15f729cc4 Use environment variable instead of hard coded values 2025-03-24 19:24:04 +01:00
ldestailleur
2dc191afe2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-24 18:23:46 +01:00
ldestailleur
1726312fc3 Fix travis 2025-03-24 18:23:31 +01:00
Charlène Benke
936d0eeae1 Add sold amount on api call (V2) (#33589)
* Add sold amount on api call (V2)

other way to implement it

* Update api_bankaccounts.class.php

Use the non deprecated property name.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 16:43:32 +01:00
Mathieu Schiffmann
b9946cef4a NEW #33506 Add a constant to apply a ratio to resize images in ODT templates (#33543)
* CLOSE #33506 add a constant holding the ratio to resize images in ODT templates

A new Dolibarr constant 					MAIN_DOC_ODT_IMAGE_RATIO
is taken in consideration for ODT templates.
This constant holds a number that is multiplied when computing the size of images in ODT templates.
All doc_generic_*_odt_modules.php files have been updated to call the setImage Method with a new parameter $ratio
The method setImage in the file odt.php has been modified to have a new parameter $ratio and use it to compute the image size

* FIX #33506 wrong branch

some other files needed to be changed in the develop branch

* FIX #33506 PR errors fixed

* FIX #33506 codesniffer errors fixed

* QUAL #33506 completed method comment
2025-03-24 16:41:00 +01:00
kkhelifa-opendsi
73e54ae77e FIX: rename and add class for column total_ttc in line template (view and title) (#33590) 2025-03-24 16:39:13 +01:00
lvessiller-opendsi
125b61dfd7 FIX #33595 - Click on add component for virtual product (#33596) 2025-03-24 16:38:28 +01:00
Frédéric FRANCE
eaf2194bd2 fix directory url (#33592)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-24 16:37:26 +01:00
ldestailleur
65536f6f70 Fix phpstan warnings 2025-03-24 16:22:14 +01:00
ldestailleur
af7cb49413 Avoid false positive of phpstan 2025-03-24 15:52:59 +01:00
ldestailleur
764ec36e38 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-24 15:42:24 +01:00
ldestailleur
a98c6b309f Ignore phan false positive 2025-03-24 15:42:07 +01:00
kkhelifa-opendsi
963fb2a41c FIX : If the global INVOICE_CAN_NEVER_BE_EDITED disabled the action 'modify' of a invoice, we test in the point of entry of the action and not after we make many useless tests (#33594)
* FIX : If the global INVOICE_CAN_NEVER_BE_EDITED disabled the action 'modify' of a invoice, we test in the point of entry of the action and not after we make many useless tests

* Correction
2025-03-24 15:34:58 +01:00
ldestailleur
8cc029dddf Make code simpler 2025-03-24 15:30:34 +01:00
ldestailleur
216bb4da63 Fix warnings 2025-03-24 15:25:29 +01:00
ldestailleur
966aff2095 Reduce nb of result combinations type fot getURLContent 2025-03-24 15:23:13 +01:00
ldestailleur
92c3ca9eda Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-24 15:16:56 +01:00
ldestailleur
1338ea41e4 Fix phpstan 8.2 2025-03-24 15:16:44 +01:00
Frédéric FRANCE
58c7194569 fix CI (#33591)
* Update phpstan.yml

* Update phpstan.yml
2025-03-24 15:12:16 +01:00
ldestailleur
c6dc48d12d Debug v22 2025-03-24 14:41:22 +01:00
ldestailleur
3c7895171b Enhance script to allow use of DESTIASSOLOGIN and DESTISFLOGIN 2025-03-24 14:37:45 +01:00
ldestailleur
7201222753 Test of a security fix backport. 2025-03-24 13:58:17 +01:00