Commit Graph

138384 Commits

Author SHA1 Message Date
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
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
MDW
cad13e85e3
Qual: Fix smtps.class (#31403)
# Qual: Fix smtps.class

Fix most phan notices in smtps.class
2024-10-15 15:49:41 +02:00
MDW
0524358377
Qual: Fix phan notices in dolgraph class (#31399)
# Qual: Fix phan notices in dolgraph class

This fixes most notices in the dolgraph class.
2024-10-15 15:46:19 +02:00
Laurent Destailleur
4dce616248 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 15:44:33 +02:00
Laurent Destailleur
4c930d8f21 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 15:42:04 +02:00
Laurent Destailleur
53a1d06678 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-15 15:41:31 +02:00
Laurent Destailleur
ccc27739d7 Fix bad escapement 2024-10-15 15:40:50 +02:00
Frédéric FRANCE
f3f7b67ce2
add missing dol_escape_all (#31406) 2024-10-15 15:39:47 +02:00
Frédéric FRANCE
0b1d243a7a
add translations count (#31398) 2024-10-15 15:39:29 +02:00
MDW
6f6826e387
Fix: ci phan notice (#31400)
# Fix: ci phan notice

 is ok to be used for .
2024-10-15 15:38:43 +02:00
Laurent Destailleur
448616d4c5 Translate 2024-10-15 15:19:12 +02:00
Laurent Destailleur
231a561712 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-15 14:22:46 +02:00
Laurent Destailleur
e731910ede Miscellaneous fix on PDf template (trans, position column, warning) 2024-10-15 14:14:07 +02:00
Laurent Destailleur
3c74d67ca5 FIX Show twice the technical ID 2024-10-15 11:28:17 +02:00