Commit Graph

32859 Commits

Author SHA1 Message Date
lvessiller-opendsi
2ff8ddb4fa NEW lazy load to substitute project variables (#26451)
* NEW lazy load to substitute project variables

* FIX load class file

* Keep key to substitute if no link with project
2023-11-08 17:30:51 +01:00
Mohamed DAOUD
00cbaa094c fix-warnings (#26500) 2023-11-08 17:26:00 +01:00
V-Py
7f0da987a3 Fix #26504 Default value extrafield line object (#26506) 2023-11-08 17:25:07 +01:00
Laurent Destailleur
1029932e6a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-07 20:42:33 +01:00
Laurent Destailleur
e06ad780aa Clean lang files 2023-11-07 20:42:13 +01:00
Frédéric FRANCE
22a37bf36a QUAL group all flag images into 1 sprite file. (#26459)
* add flag sprite

* add missing

* wip

* wip

* add script used to generate flags sprite

* add script used to generate flags sprite

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-07 18:52:08 +01:00
Mohamed DAOUD
1e053e4d7f fix-warnings-1 (#26490) 2023-11-07 17:58:35 +01:00
jyhere
f5cf5b6399 CHANGE: Allow local media in wysiwyg if dolibarr on private network (#26494) 2023-11-07 17:50:28 +01:00
Laurent Destailleur
de3fec95f5 Debug v19 2023-11-07 02:27:47 +01:00
Laurent Destailleur
75ac561595 Fix warnings 2023-11-06 20:08:27 +01:00
Laurent Destailleur
6fc0a868f5 Debug v19 2023-11-06 16:51:37 +01:00
Laurent Destailleur
27d2a1a220 Debug v19 2023-11-06 16:34:35 +01:00
lamrani abdelwadoud
23ce23021f NEW functionality for request_transfer (#26078)
* NEW functionality for request_transfer

* fix problem

* fix problem in transferBank

* fix request sql

* ajust functions for salary invoices

* add badges for each onglet invoice and salary

* Fix update in table bon_prelevement for amount

* Fix in section virement_request list of bonPrelevements

* for prelevemts lignes

* for prelevemts lignes

* update sql for get lignes prelevement with correct info

* update sql for get lignes prelevement with correct info

* add function for check if invoice salaries

* adjust bonprelevement for get salaries

* fix incoherences in create function for class BonPrelevement

* fix request sql for insert in prelevement ligne table

* fix problems and incoherences

* remove parametre  from function

* add parenthensises for cast  in sql request

* disable button when make demande virement

* fix condition for type

* fix conflit "

* fix whitespace

* fix condition for sourcetype

* fix page demandes.php for list salaries invoices

* add prefix db

* fix incoherences for conditions

* Update virement_request.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 16:09:05 +01:00
Mohamed DAOUD
a1597e6eb1 Fix some warnings -technical debt- (#26466)
* fix warnings 1

* fix previous commit 1

* Update facture-rec.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 16:00:24 +01:00
Laurent Destailleur
b962cce609 Code comment 2023-11-06 15:26:57 +01:00
Laurent Destailleur
6d97542bbf FIX label of menu entry 2023-11-06 01:43:45 +01:00
Laurent Destailleur
b65d5c8740 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-05 19:52:54 +01:00
Laurent Destailleur
e47d732145 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-05 18:29:57 +01:00
Laurent Destailleur
f9d520b29d Fix warning 2023-11-05 18:27:53 +01:00
Laurent Destailleur
78f443e87b Debug v19 2023-11-04 17:05:59 +01:00
Laurent Destailleur
2a2dec2f88 Debug v19 2023-11-04 16:02:24 +01:00
Florian Mortgat
73524c2f81 [modulebuilder] FIX handling of the $filter parameter in fetchAll() method (#25931)
* FIX handling of the $filter parameter for fetchAll: the previous version can result in invalid SQL

* Remove #[AllowDynamicProperties] attribute from Conf class (cf. PR #25931)

* Ensure sql-building strings are detectably sanitized to avoid PR rejection
2023-11-03 23:01:57 +01:00
daraelmin
8605e6b17b FIX wrong color for pending status (#26443) 2023-11-03 17:05:51 +01:00
HENRY Florian
a3437c7207 fix: display details quantity in Kit in PDF #26359 (#26454)
* add detail qty in kit displayed in PDF line

* fix: #26359
2023-11-03 16:27:02 +01:00
Laurent Destailleur
127de7e7d8 FIX On object validation, ecm index are not updated for uploaded files 2023-11-01 16:17:54 +01:00
Christophe Battarel
23c944a104 NEW : customize position in complete_head_from_modules (#26406)
* NEW : customize position in complete_head_from_modules

* fix parenthesis search

* fix position search

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2023-11-01 15:00:29 +01:00
Laurent Destailleur
74e1ec4099 FIX On object validation, ecm index are not updated for uploaded files 2023-10-31 19:28:11 +01:00
Laurent Destailleur
edaab57f2e Endpoint for API /partnershipapi and /recruitment has been renamed into
/partnerships and /recruitments to follow name conventions.
2023-10-31 13:37:15 +01:00
Laurent Destailleur
ca145ef912 QUAL: Endpoint for API /partnershipapi has been renamed into
/partnerships to follow conventions
2023-10-31 13:31:02 +01:00
Laurent Destailleur
0b9795f34c FIX upload of files src_object_type 2023-10-31 11:52:31 +01:00
Laurent Destailleur
85d36ddc58 FIX src_object_id and ttype not filed when uploading a file with API. 2023-10-31 11:52:17 +01:00
Laurent Destailleur
59b9d12ed5 FIX upload of files src_object_type 2023-10-31 10:44:58 +01:00
Laurent Destailleur
28ec65f602 Fix php compatibility 2023-10-31 00:50:44 +01:00
Laurent Destailleur
8f91e6bce8 FIX src_object_id and ttype not filed when uploading a file with API. 2023-10-31 00:47:55 +01:00
Laurent Destailleur
4dce3a2a71 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-31 00:15:49 +01:00
Laurent Destailleur
564c5cd5e8 Debug v19 2023-10-31 00:15:31 +01:00
Mohamed DAOUD
322b4d8be9 Adding __NEXT_MONTH_TEXT__ in mail template (#26391) 2023-10-30 18:04:42 +01:00
Laurent Destailleur
1558772d83 Debug v19 2023-10-30 17:14:46 +01:00
Laurent Destailleur
858e0dbf11 Fix php7.1 2023-10-30 14:26:21 +01:00
Laurent Destailleur
2649093815 Fix php 7.1 compatibility 2023-10-30 14:06:25 +01:00
Laurent Destailleur
b53d845085 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-30 13:39:28 +01:00
Laurent Destailleur
24e043934a Debug delete evaluation 2023-10-30 13:23:46 +01:00
William Mead
3c87423364 Qual cleaner code for InterfaceLogevents (#26347)
* Renamed text variable to label

* Added label variable

* Fixed typos

* Fixed PHPDoc

* Added runTrigger method return type

* Refactored to use super class constructor

* Added contributor details. Cleaned indentation.

* Added user login failed string

* Added label & description localized strings

* Converted event label, description & date variables to class properties. Added class method to initialize event data. Refactored & cleaned code.

* Added user string parameter

* Cleaned code

* Moved langs loading

* Added code comment

* Cleaned code

* Added code comment

* Fixed PHPDoc comments

* Refactored event label & description assignment

* Deleted unneeded empty lines

* Added event action text dictionary. Refactored event data initialization. Added static class method for dynamic localization to check if event text has an event action key n.

* Updated string parameter placement

* Added condition to check if event description has an event action key in order to do dynamic frontend translation

* Updated code comments. Renamed event action array.

* Added user status key

* Cleaned code

* Update interface_20_all_Logevents.class.php

---------

Co-authored-by: William Mead <william.mead@manchenumerique.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-30 04:12:43 +01:00
Mohamed DAOUD
08ef416958 New: Adding the PDF option displaying the product's barcode number (#26345)
* Add a PDF option to show barcode number of product

* Add space before and after IF keyword

* fix error phpcs

* add barcode label before barcode number

* Use outputlangs and not langs

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-30 03:13:12 +01:00
Laurent Destailleur
16ea13ecb8 NEW Allow sync of currency rates with currency layer by default. 2023-10-30 01:38:20 +01:00
Laurent Destailleur
582a6f7f45 Debug v19 2023-10-29 16:44:41 +01:00
Laurent Destailleur
00e706120d Fix warning 2023-10-28 02:17:48 +02:00
Laurent Destailleur
8333410ca1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-28 00:07:17 +02:00
Alexandre Janniaux
a7619ecc92 Workflow: code quality with early return (#26365)
* workflow: use setErrorsFromObject when suitable

* workflow: shipping: use early return in for loop

* workflow: shipping: combine to previous early return

* workflow: shipping: reindent after last changes

No functional changes.

* workflow: reception: use early return when suitable

* workflow: reception: use early return

* workflow: reception: reindent after last changes

No functional changes.

* workflow: ticket: use early return

* workflow: ticket: combine condition through an early return

* workflow: ticket: reindent after last changes

No functional changes.

* workflow: propal: remove else condition after terminal if

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

* Update interface_20_modWorkflow_WorkflowManager.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-27 19:17:27 +02:00
Laurent Destailleur
e5da68b3bd Debug v19 2023-10-26 21:16:04 +02:00