2
0
forked from Wavyzz/dolibarr
Commit Graph

138397 Commits

Author SHA1 Message Date
Laurent Destailleur
d97ff764ab Do not show qty 0 is zero. 2024-10-17 13:37:23 +02:00
Laurent Destailleur
03fa3aebd9 Fix missing css fieldrequired 2024-10-17 04:57:01 +02:00
Laurent Destailleur
4432aaffcb Creation auto of bank account use correct bank journal 2024-10-17 04:51:28 +02:00
Laurent Destailleur
3ef895d8c4 Debug v21 2024-10-17 03:57:13 +02:00
UltraViolet33
e8f1c47424 NEW: default configuration for event reminder (#31407)
* NEW: default configuration for event reminder

Set default reminder period + default email template for specific event types in agenda configuration.
Auto fill the notification event form on event creation when event type is in the event types set to use default reminder

* fix for ci

* fix offset value

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:13:44 +02:00
MDW
cee4535975 Qual: Fix phan notices in admin.lib and tax.lib + related (#31414)
* Qual: Fix admin.lib phpstan/phan notices

* Qual: Fix some argument types in Societe methods

* Fixup phpdoc

* Qual: Improve typing for static analysis

* Qual: Improve typing for static analysis

* Fix tax typing

* Qual: further phan/phpstan notice fixes in dol_generic_project_odt

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:08:38 +02:00
IC-Victorien
c789c4fc42 NEW Projet - Add hook formconfirm (#31408)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 02:21:38 +02:00
Laurent Destailleur
e8299da73f Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-17 02:16:13 +02:00
Laurent Destailleur
8562dd887b Merge 2024-10-17 02:15:53 +02:00
Laurent Destailleur
dacbfecb02 Move trans into correct lang file 2024-10-17 02:12:49 +02:00
Michael Bussmann
6fca870750 EPC-QR,Sponge, Translation of INVOICE_ADD_EPC_QR_CodePay, Alignment (#31327)
* EPC_QR fixes
Display translation of INVOICE_ADD_EPC_QR_CodePay
Fixed alignment of INVOICE_ADD_EPC_QR_CodePay when QR-Code at bottom

* Reverted local font size

Signed-off-by: Michael Bussmann <bus@mb-net.net>

---------

Signed-off-by: Michael Bussmann <bus@mb-net.net>
2024-10-17 02:08:38 +02:00
MDW
8a9f86e109 Qual: Suppress PhanTypeSuspiciousNonTraversableForeach (#31382)
# Qual: Ignore PhanTypeSuspiciousNonTraversableForeach

PhanTypeSuspiciousNonTraversableForeach reports on the use of
`foreach ($object as $key => value)` which is valid accross
tested php versions (at least since PHP7.0).

So suppressing this notice.
2024-10-17 01:54:19 +02:00
MDW
33b9479692 Qual: Ignore phan notice for pagebreak property (#31427)
# Qual: Ignore phan notice for pagebreak property

The access to the undeclared pagebreak property is protected with isset().
So these notices are now suppressed.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:49:43 +02:00
MDW
9677a370e9 Qual: Nullable mysoc hint (#31393)
* Qual: Nullable mysoc hint

# Qual: Nullable mysoc hint

$mysoc can be nullable resulting in issues (#31387) so
it is best to detect these cases with static analysis

* Prevent null assignment
2024-10-17 01:44:54 +02:00
Frédéric FRANCE
4b4fe7b128 fix opening bank date close #31366 (#31433) 2024-10-17 01:35:47 +02:00
Laurent Destailleur
5aeea74957 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-17 01:34:59 +02:00
Laurent Destailleur
7dcd9f7ccf Fix warning 2024-10-17 01:34:40 +02:00
Frédéric FRANCE
0c678878b7 fix typo of hidden parameter in commonobject.class.php (#31417)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:24:15 +02:00
Laurent Destailleur
ce414d29d7 Fix phan 2024-10-17 01:23:23 +02:00
Frédéric FRANCE
64164dead6 missing translation close #31415 (#31432)
* missing translation

* missing translation

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:17:34 +02:00
MDW
069755481e Fix: PHPDoc + empty variable correction for ci issues 💊 (#31431)
* Qual: Fix empty argument for morecssontable

* Qual: Add typing hints for some variables from style.css.php
2024-10-17 01:03:09 +02:00
Laurent Destailleur
e38b1e7531 Merge 2024-10-17 01:01:55 +02:00
Laurent Destailleur
8087268fc2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-17 01:00:26 +02:00
Laurent Destailleur
ae09fc75f0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-17 00:59:53 +02:00
Laurent Destailleur
35f3a4f441 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-17 00:59:17 +02:00
Laurent Destailleur
111e3fcd32 Revert "NEW - Add a new hook on order list (#31315)"
This reverts commit 1e64870a9e.
2024-10-17 00:52:42 +02:00
Laurent Destailleur
7166d2570b Fix Zip generation of ODT with PHPZip 2024-10-17 00:32:14 +02:00
Laurent Destailleur
82f65a6410 NEW Can choose the zip handler to build ODT 2024-10-17 00:31:53 +02:00
Laurent Destailleur
82fdbc406a Fix Zip generation of ODT with PHPZip 2024-10-17 00:27:18 +02:00
Laurent Destailleur
956a039082 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-10-16 20:47:12 +02:00
Laurent Destailleur
9ad71b980a NEW Can choose the zip handler to build ODT 2024-10-16 20:46:52 +02:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
d28ed5339b Look and feel v21 2024-10-16 14:37:25 +02:00
Laurent Destailleur
6bcaabad8e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-16 12:54:14 +02:00
Laurent Destailleur
495a31c8fe FIX CSS and access to media files 2024-10-16 12:51:42 +02:00
Laurent Destailleur
47581442b1 FIX dol_openinpopup for virtual card 2024-10-16 11:45:07 +02:00
Laurent Destailleur
c36ddb0f43 FIX dol_openinpopup for virtual card 2024-10-16 11:44:03 +02:00
Laurent Destailleur
d527f05041 Look and feel v21 2024-10-16 00:36:07 +02:00
Laurent Destailleur
29c6be06eb Fix acesskey 2024-10-15 21:01:52 +02:00
Laurent Destailleur
87735a9ab2 Accept image in direct upload form 2024-10-15 21:00:11 +02:00
Laurent Destailleur
7f9759aa81 Maxi debug of the email notification feature an dlook and feel v21 2024-10-15 20:28:05 +02:00
Laurent Destailleur
fb2f57be71 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 17:32:06 +02:00
Laurent Destailleur
e57ba5aa16 Fix phan 2024-10-15 17:30:07 +02:00
Alexandre Janniaux
be50b49103 societe: fix warning during tests (#31387)
1) /home/alexandre/workspace/dolibarr/htdocs/societe/class/societe.class.php:1299
    Attempt to read property "country_id" on null

    Triggered by:

    * BookKeepingTest::testBookKeepingCreate (6 times)
      /home/alexandre/workspace/dolibarr/test/phpunit/BookKeepingTest.php:53

    * SocieteTest::testSocieteCreate (6 times)
      /home/alexandre/workspace/dolibarr/test/phpunit/SocieteTest.php:87

    * SocieteTest::testSocieteFetch (6 times)
      /home/alexandre/workspace/dolibarr/test/phpunit/SocieteTest.php:114

    * SocieteTest::testSocieteMerge (12 times)
      /home/alexandre/workspace/dolibarr/test/phpunit/SocieteTest.php:450

    * SocieteTest::testSocieteUpdate (6 times)
      /home/alexandre/workspace/dolibarr/test/phpunit/SocieteTest.php:143
2024-10-15 16:41:58 +02:00
Frédéric FRANCE
a6d17f7397 add extrafields count in variants setup (#31388) 2024-10-15 16:40:20 +02:00
Laurent Destailleur
0bee83c121 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 16:39:41 +02:00
Laurent Destailleur
cde698802b Update migration 2024-10-15 16:39:14 +02:00
Alexandre Janniaux
c354a01de0 FIX: add missing fields during install llx_accounting_system (#31389)
* llx_accounting_system: add missing fields during install

The current code expects to be able to assign an author for the object
and store the creation date.

* Remove constraint

The constraint is useless for the integrity of data of the table and for the business rules using this table, so we must avoid it if we can. This will avoid error when loading dump, errors on import and more...

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-15 16:37:30 +02:00
Laurent Destailleur
04ea424979 Removed not used $langs 2024-10-15 16:35:21 +02:00
Noé Cendrier
d6dba0af24 NEW: tables for product customer prices extrafields management (#31395)
* NEW: tables for product customer prices extrafields management

* ADD: new tables in 21.0 migration
2024-10-15 16:29:48 +02:00