Commit Graph

138285 Commits

Author SHA1 Message Date
Laurent Destailleur
73265e45ab Standardize trigger codes 2024-10-14 14:05:20 +02:00
Laurent Destailleur
be4b8efebd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-14 13:37:05 +02:00
Laurent Destailleur
f26b3fd3b3 Update lib to 1.8.0-beta7 2024-10-14 13:36:36 +02:00
Laurent Destailleur
902c1f8fb1 Better detection of variable __xxx__ 2024-10-14 13:33:41 +02:00
Alexandre SPANGARO
4a91c2c734 NEW Accountancy - Add general account on thirdparty - Code supplier part (#31318)
* NEW Accountancy - Add general account on thirdparty - SQL Part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* Fix Phan

* Use isModEnabled

* NEW Accountancy - Add general account on thirdparty - Code supplier part

* Fix phan

* Fix phan

* Fix phan

* Use list of account instead of  simple input

* Use list of account instead of simple input

* Tabs

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 12:05:07 +02:00
JonathanBtq
900be7e11a NEW hook on expensereport added (#31380)
* Update hook on expensereport

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 12:00:33 +02:00
Alexandre SPANGARO
29303d0390 NEW Prelevement - Use structured payment data for Belgium (#31383) 2024-10-14 12:00:09 +02:00
lamrani abdelwadoud
39e021feba NEW Share msg "not found" for widgets and add a button to add new record when none exists (#31309)
* New msg displayed on widghet

* update msg

* comment code on box_fediverse

* comment code on box_fediverse and delete code langs

* fix errors

* remove underscore before comparing files

* update boxes for get messages and buttons

* continue adding button for widgets

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 11:56:59 +02:00
Alexandre SPANGARO
28cbda6a0b NEW Accountancy - Add the possibility to have multiple personalized reports - SQL Part (#31311)
* NEW Accountancy - Add the possibility to have multiple personalized reports - SQL Part

* NEW Accountancy - Add the possibility to have multiple personalized reports - SQL Part

* Use -modulename in naming of table
2024-10-14 02:15:34 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Sylvain Legrand
995f131ad2 Add getDolGlobalFloat function (#31357)
When we need to store float constant !
2024-10-14 01:58:08 +02:00
Alexandre SPANGARO
5dfe870c4c NEW Invoice - Generate payment information - Structured communication (#31376)
* NEW Invoice - Generate payment information - Structured communication

* fix tabs/space

* Add $substitutionarray['__PAYMENT_STRUCTURED_COMMUNICATION__']

* Fix travis

* Move to specific file functions_be.lib.php

* Fix function use

* Fix code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 01:39:03 +02:00
Laurent Destailleur
9dce6c7689 Merge 2024-10-14 01:33:15 +02:00
Laurent Destailleur
4a2043e7a0 Merge 2024-10-14 01:21:40 +02:00
Laurent Destailleur
47500d56f3 Doc 2024-10-14 01:15:54 +02:00
MDW
8609df383a Qual: fix phan notices (#31368)
* Qual: fix phan notices

# Qual: fix phan notices

Fix phan/phpstan notices, mostly in html,formmail

* Ignore phpstan exception
2024-10-14 00:36:42 +02:00
IC-Victorien
cf22007541 NEW HOOK FORMCONFIRM IN TICKET (#31321) 2024-10-13 21:11:16 +02:00
IC-Mathieu
9c0704ee56 NEW : care grandchild (#31314)
* NEW_CARE_GRANDCHILD

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-13 21:10:42 +02:00
Frédéric FRANCE
820333b02f fix variants sql init (#31319)
* fix variants sql init

* add setup

* add setup

* add setup

* update class

* update list

* update list

* update list

* update class

* fix typos

* fix translations

* fix html

* fix update

* fix sql

* fix extrafields

* fix extrafields
2024-10-13 21:08:55 +02:00
Frédéric FRANCE
bf77bab7c7 Update makepack-dolibarr.pl (#31320)
* Update makepack-dolibarr.pl

* Update makepack-dolibarr.pl
2024-10-13 21:04:57 +02:00
Zephyriony
f3f41ec546 NEW Hide completed items in Link to (#31329)
* NEW Hide completed items in Link to

Hide completed items in Link to to avoid endless lists of elements

* Update html.form.class.php

* Update html.form.class.php
2024-10-13 21:01:57 +02:00
nateogroup-antoine
66ba46c04c Propal informations not updated after adding a line with MAIN_DISABLE_PDF_AUTOUPDATE set to 1 (#31332)
* Update card.php

When a line is added to a Propal with the MAIN_DISABLE_PDF_AUTOUPDATE variable set to 0, the object is not reloaded, so the weight and amount are not updated when the new line is displayed.

* Update card.php
2024-10-13 21:00:19 +02:00
Laurent Destailleur
a255e9b5c8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-13 20:58:40 +02:00
Laurent Destailleur
ffcc1ee11c CSS 2024-10-13 20:52:55 +02:00
vladimirdulov
52a60dc760 Undefined stdClass property warnings fixed (#31325)
* Undefined stdClass property warnings fixed

* execute permissions restored

---------

Co-authored-by: Vladimir D <vladimir@brandlight.org>
2024-10-13 20:33:15 +02:00
Laurent Destailleur
069edfcf2a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-13 20:32:52 +02:00
vladimirdulov
922601e03a Undefined stdClass property warnings fixed (#31325)
* Undefined stdClass property warnings fixed

* execute permissions restored

---------

Co-authored-by: Vladimir D <vladimir@brandlight.org>
2024-10-13 20:32:12 +02:00
Ferran Marcet
b2c59aa934 Fix: Does not filter correctly by project contacts (#31340)
* Fix: Grand total correction

* Fix: Does not filter correctly by project contacts
2024-10-13 20:31:23 +02:00
Carmine Di Gruttola
d71b48d22f fix on restpitest clas to use the generic abstract rest api (#31330)
Co-authored-by: Carmine Di Gruttola <carmine.di.gruttola@pwc.com>
2024-10-13 20:30:11 +02:00
sonikf
822e3cacd8 fix translation for non latin languages (#31343) 2024-10-13 19:39:14 +02:00
hansemschnokeloch
6ba48c5db2 refactor redundant code (#31331) 2024-10-13 19:38:38 +02:00
Laurent Destailleur
6ef95acc43 Doc 2024-10-13 19:23:51 +02:00
Laurent Destailleur
e63fcc9fed Debug v20 2024-10-13 19:20:47 +02:00
Laurent Destailleur
e46553079a FIX CSS 2024-10-13 18:37:21 +02:00
Laurent Destailleur
959392ff26 FIX Clear of option THEME_ELDY_USEBORDERONTABLE 2024-10-13 18:37:10 +02:00
Laurent Destailleur
8b8c6bba3d FIX CSS 2024-10-13 18:36:32 +02:00
Laurent Destailleur
e3c08083b7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-13 18:31:13 +02:00
Laurent Destailleur
258bd502b0 Look and feel v21 2024-10-13 18:30:57 +02:00
Laurent Destailleur
b050b7bfa9 Look and feel v21 2024-10-13 17:59:50 +02:00
Laurent Destailleur
a6b19d20c4 FIX Clear of option THEME_ELDY_USEBORDERONTABLE 2024-10-13 17:54:51 +02:00
UltraViolet33
a38af69395 use target='blank' for mailto links (#31342)
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-13 17:41:22 +02:00
Frédéric FRANCE
8aea1a88dd fix translation (#31377) 2024-10-13 17:30:24 +02:00
MDW
523d472962 ci: Automatically determine version for upgrade sequence (#31344)
* ci: Automatically determine version for upgrade sequence

This automatically determines the version for the upgrade process
to help avoid editing the scripot on version upgrades.

* Include filefunc.inc.php to md5sum, remove old som computation
2024-10-13 17:29:56 +02:00
Mohamed DAOUD
b4732da616 NEW: Star Field Type for Extra Fields (#31348)
* stars type for extrafields

* min value

* fix phan
2024-10-13 17:24:15 +02:00
MDW
611019ec4d Qual: Fix WARNING messages in syslog - add getCallerInfoString() (#31351)
* Qual: Fix dolIsTms() call with empty string

# Qual: Fix dolIsTms() call with empty string

The dolibarr log indicated that dolIsTms() was called with the
empty string:

- Add code to log the caller in the log;
- Fix the dolIsTms() calls by updating project/element.php

* Fix comparison of ''<0

# Fix comparison of ''<0

As ''<0 is true, non-existing errors were added resulting in
Try to add a message in stack, but value to add is empty message
in the log.
2024-10-13 17:17:37 +02:00
sonikf
a6ff3c6135 fix typos (#31345)
* fix typo

* fix typo
2024-10-13 17:15:28 +02:00
Frédéric FRANCE
43c59b8da9 🚨 fix llx_webhook_target-webhook.sql 🚨 (#31364)
* fix llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* Update llx_webhook_target-webhook.sql

* fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-13 17:15:05 +02:00
Laurent Destailleur
21c1c02ef8 FIX #31360 delete contact when using pgsql. 2024-10-13 17:13:24 +02:00
MDW
67263522eb Fix: code_compta aliased as code_compta_client (#31349)
* Fix: code_compta aliased as code_compta_client

# Fix: code_compta aliased as code_compta_client

Fix warning regarding non-existing field on sql result

* Handle code_compta with deprecationhandler
2024-10-13 16:52:48 +02:00
Alexandre SPANGARO
c4409e44f9 QUAL Use table_element in sql querries (#31355)
* Use table element in sql querries

* Use table element in sql querries

* Use also $this->db->prefix()

* Use table_element in sql querries
2024-10-13 16:47:47 +02:00