Commit Graph

37795 Commits

Author SHA1 Message Date
John BOTELLA
498e1473aa Rebuild Cyan PDF MODEL 2024-10-08 22:44:36 +02:00
Laurent Destailleur
8ba82ecfa0 Enhancement for textbrowser 2024-10-08 20:58:09 +02:00
Laurent Destailleur
efe6571e16 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 20:49:01 +02:00
Laurent Destailleur
21eb8e585f Fix detection of text browser with w3m 2024-10-08 20:48:37 +02:00
Laurent Destailleur
e79292cb19 Enhance vat edition 2024-10-08 09:59:46 +02:00
Laurent Destailleur
a4b0947729 Fix phan 2024-10-07 15:46:49 +02:00
Laurent Destailleur
13af557597 Enable cache 2024-10-07 15:45:17 +02:00
MDW
bde0f0d794 Qual: Fix ci (phpstan notice) (#31301)
# Qual: Fix ci (phpstan notice)

While fixing the ci notice, also fixed the array definitions
which fixes both phan notices and phpstan notices seen on cti.
Removed the exception for phan on this file
2024-10-07 15:44:06 +02:00
John BOTELLA
7faa9bad67 Fix 20.0 Action buttion url autocomplete (button dropdown part04) (#31266)
* Fix dol get action buttion url autocomplette

* change mailto

* change mailto

* Remove anonymous function

* Remove anonymous function

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 15:42:17 +02:00
Laurent Destailleur
a7db9f8b75 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-07 15:23:41 +02:00
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Laurent Destailleur
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
Mikko Virtanen
0811ff5f07 FIX dolFICalculatePaymentReference for Finland in functions_fi.lib.php (#31281)
* Update functions_fi.lib.php

Fix calculation from some base numbers

* Update functions_fi.lib.php
2024-10-07 14:52:12 +02:00
sonikf
35e01459f8 NEW: PDF Add shipping address in sales orders (#31293)
* Add shipping address

* Add shipping address

* Show shipping address in sales orders

* Add shipping address option in sales orders

* fix pre-commit

* fix phan

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)
2024-10-07 14:50:01 +02:00
Laurent Destailleur
92c848d5bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-07 14:40:53 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
MDW
f4c91d5bb6 Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Laurent Destailleur
5ef619eae3 FIX look and feel v20 2024-10-07 12:02:37 +02:00
Laurent Destailleur
2737f713d9 Debug v21 2024-10-07 11:58:32 +02:00
Laurent Destailleur
79598795ca Fix trans 2024-10-07 11:38:34 +02:00
Laurent Destailleur
63d4b5e3d8 FIX Backport fix fatal error on price with some truncating setup 2024-10-06 22:17:26 +02:00
Laurent Destailleur
a7cbf6eeb1 Fix: closing of butAction dropdown was also closing the login dropdown
when we just lick inside a link into login dropdown.
2024-10-06 21:55:46 +02:00
Laurent Destailleur
93a872e8e1 PERF: Reduce size for VCF files and virtualcard qrcode 2024-10-06 21:08:40 +02:00
Joachim Kueter
63f6d0aa43 Fix: Number of decimals for stock values ignores configuration (#31285)
* Fix: Number of decimals for stock values ignores configuration

In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.

The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:

Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.

* Fixed patch according to suggestion.
2024-10-06 13:53:16 +02:00
MDW
34e3717dda Qual: Fix phan/phpstan notices (#31289)
* Qual: Fix phan/phpstan notices

# Qual: Fix phan/phpstan notices

Fix several phan/phpstan notices

* Fix spelling in Changelog
2024-10-06 13:03:43 +02:00
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
Frédéric FRANCE
7fe28032d1 phpstan (#31276)
* phpstan

* phpstan
2024-10-05 18:49:54 +02:00
Laurent Destailleur
9e9af80fe0 Fix regression 2024-10-05 18:33:36 +02:00
Laurent Destailleur
916a906d9b Enhance the csvclean to support the charset encoding 2024-10-05 14:51:45 +02:00
Mohamed DAOUD
4a7ad31f85 NEW Stars Field for Module Builder (#31216)
* stars field for modulebuilder

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 18:37:41 +02:00
Laurent Destailleur
04e89fd37e Fix trans in notifications 2024-10-04 18:13:36 +02:00
sonikf
a340018cec New: Hide Down payment invoice mask when condition is met (#31270) 2024-10-04 17:35:23 +02:00
John BOTELLA
6240246d1d Fix space lost at bottom of page when PDF use product images 2024-10-04 15:29:15 +02:00
Laurent Destailleur
bd4dbe7b1a Remove not used method 2024-10-04 12:35:23 +02:00
Laurent Destailleur
40f2830714 Start to move function for CLI mode into a dedicated file 2024-10-04 12:10:25 +02:00
Laurent Destailleur
3de47bc129 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-04 11:48:52 +02:00
sonikf
c5587519f0 NEW: PDF Add option to print rounded corner frames (#31172)
* NEW: Add option to enable PDF frame rounded corners

* NEW: function printRoundedRect

* NEW PDF frame rounded corners

* New add rounded corners in frames

* New add rounded corners in frames

* Update admin.lang

* fix incoterm frame height

* Update pdf_sponge.modules.php

* fix pre-commit

* fix pre-commit

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix phan php-stan (8.2) declare property

* New add rounded corners in frames

* New add rounded corners in frames

* add phpdoc for corner radius

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix php-stan (8.2)

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix whitespace

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* New add rounded corners in frames

* fix pre-commit empty line

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix Travis

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix title color

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan phpdoc

* fix pre-commit

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 09:13:44 +02:00
Lucas Marcouiller
b595b30a5b New create public page for recruitment candidature (#31220)
* New creation of public recruitement candidature

* Fix some problems

* fix lang file

* Fix CI

* Fix CI

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 09:00:17 +02:00
MDW
6e01a60f59 Qual: Fix phan/phpstan notices (#31259)
# Qual: Fix phan/phpstan notices

Fix notices by adjusting phpdoc
2024-10-04 08:25:17 +02:00
Laurent Destailleur
e09d9df3ee QUAL Move function csvClean into functions2.lib.php 2024-10-03 21:36:39 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
029513c8b7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:26:52 +02:00
Laurent Destailleur
78e17b5d49 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:26:32 +02:00
Laurent Destailleur
eebb16c693 Redice cyclomatic complexity 2024-10-03 20:08:09 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
MDW
2d0b1de36f Qual: Add codespell entries to catch some css typos (#31222)
# Qual: Add codespell entries to catch some css typos

Added some codespell entries based on the observed typos in css
tags
2024-10-03 19:36:59 +02:00
Laurent Destailleur
e412dbbe05 Merge manually fix of #31217 + other fix for use by external modules 2024-10-03 19:30:06 +02:00
Laurent Destailleur
6f6a87cd78 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-03 17:25:10 +02:00
Laurent Destailleur
88b488cfbb Fix for better compatibility 2024-10-03 17:23:29 +02:00