Commit graph

137009 commits

Author SHA1 Message Date
hansemschnokeloch
db727ee62d
Fix duplicate header (#30729) 2024-08-23 15:06:06 +02:00
jyhere
f551a1e34e
FIX: Possible warnings in WorkflowManager (#30737)
Possible warnings if $object->fetchObjectLinked() is called earlier (e.g by an external module)
2024-08-23 15:05:34 +02:00
Mohamed DAOUD
a0f7977821
New add website purge function (#30730)
* Add website purge function

* Update website.class.php

* Update website.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-23 15:04:29 +02:00
William Mead
40c090d550
FIX late project search option (#30739)
* Fixed search late project. Added search late project checkbox.

* Added contributor details
2024-08-23 14:58:50 +02:00
hansemschnokeloch
4843029f24
Fix #30731 (#30738) 2024-08-23 14:26:43 +02:00
Laurent Destailleur
a59e933d59 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-22 14:47:00 +02:00
Laurent Destailleur
e631ce7475 Fix sanitizing dol_openinpopup 2024-08-22 14:46:10 +02:00
Laurent Destailleur
140033cd80 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-22 14:28:56 +02:00
Laurent Destailleur
fad8cd1159 Fix #yogosha23531 Can modify invoice line margin without permission on
invoice
2024-08-22 14:28:28 +02:00
Laurent Destailleur
35d8627550 Fix #yogosha23530 Can record action without permission on donation 2024-08-22 14:24:07 +02:00
Laurent Destailleur
84fb6aabfe Fix missing permission test 2024-08-22 14:19:44 +02:00
Laurent Destailleur
53aca7f581 Fix missing permission test 2024-08-22 14:19:19 +02:00
Laurent Destailleur
984f11afaf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-22 14:11:13 +02:00
Laurent Destailleur
ba25c49333 Fix permiss 2024-08-22 14:10:59 +02:00
Laurent Destailleur
d7d1e73ac9 Fix test on permissions 2024-08-22 14:06:29 +02:00
Laurent Destailleur
b8acc8cbb4 Fix missing test on permission 2024-08-22 13:38:51 +02:00
Laurent Destailleur
65d995f82c Fix missing permission 2024-08-22 13:32:28 +02:00
Laurent Destailleur
30d2003dfc Fix use permission to validate action. 2024-08-22 13:24:05 +02:00
noec764
18bf0c940e
FIX: Dolibarrize DolibarrModules::insert_cronjobs() method (#24747)
* FIX: Dolibarrize DolibarrModules::insert_cronjobs() method

* Fixing style errors.

* Update DolibarrModules.class.php

---------

Co-authored-by: stickler-ci <support@stickler-ci.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-22 13:23:42 +02:00
Laurent Destailleur
38b9ae3038 Fix missing permission when PRODUCT_ADD_FORM_ADD_TO is on 2024-08-22 13:18:33 +02:00
Laurent Destailleur
706e3a8379 Fix #yogosha23523 Can modify the incoterm on sale order without
permission
2024-08-22 13:06:44 +02:00
Laurent Destailleur
f12d501f16 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-22 12:34:00 +02:00
Laurent Destailleur
ecc5f90574 Fix init cron when priority is not set. 2024-08-22 04:05:25 +02:00
Laurent Destailleur
9df371891c Fix more complete for #30707 2024-08-22 03:41:38 +02:00
Laurent Destailleur
f5a9152af8 Fix more complete for #30707 2024-08-22 03:40:39 +02:00
Laurent Destailleur
97d03a477b Fix must use same position of button between screens 2024-08-22 03:38:23 +02:00
atm-corentin
660554bd38
Fix change object element condtition to display the select products when there is a stock correction (#30707)
* Fix change object element condition on sotck movement to print the select product

* FIX object element
2024-08-22 03:36:09 +02:00
thibdrev
3dbd79dad8
qual: Method getKanbanView() has parameter $arraydata with no value type specified in iterable type array. (#30712)
* Update adherent.class.php

* Update adherent_type.class.php

* Update availabilities.class.php

* Update propal.class.php

* Update account.class.php

* Update paymentvarious.class.php

* Update cashcontrol.class.php

* Update localtax.class.php

* Update remisecheque.class.php

* Update bonprelevement.class.php

* Update chargesociales.class.php

* Update contact.class.php

* Update contrat.class.php

* Update commonorder.class.php

* Update timespent.class.php

* Update don.class.php

* Update conferenceorbooth.class.php

* Update expedition.class.php

* Update expensereport.class.php

* Update paymentexpensereport.class.php

* Update fichinter.class.php

* Update fournisseur.commande.class.php

* Update holiday.class.php

* Update evaluation.class.php

* Update job.class.php

* Update position.class.php

* Update skill.class.php

* Update intracommreport.class.php

* Update knowledgerecord.class.php

* Update loan.class.php

* Update mo.class.php

* Update partnership.class.php

* Update inventory.class.php

* Update entrepot.class.php

* Update project.class.php

* Update holiday.class.php - fix phan error

* Update task.class.php

* Update reception.class.php

* Update recruitmentcandidature.class.php

* Update recruitmentjobposition.class.php

* Update paymentsalary.class.php

* Update salary.class.php

* Update supplier_proposal.class.php

* Update ticket.class.php

* Update user.class.php

* Update usergroup.class.php

* Update webportalinvoice.class.php

* Update webportalorder.class.php

* Update webportalpropal.class.php

* Update workstation.class.php

* Update facture.class.php
2024-08-22 03:31:04 +02:00
lamrani abdelwadoud
cc8e1cd81e
New display for listing events (#30713)
* New display for listing invoice events

* Fix phpstan errors
2024-08-22 03:30:27 +02:00
Laurent Destailleur
5797a0db3f Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-22 02:54:55 +02:00
Laurent Destailleur
fee2185170 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-08-22 02:52:27 +02:00
Lucas Marcouiller
52c40c9031
New massaction reset for mailing target (#30710)
* New massaction reset for mailing target

* Update mails.lang

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-21 15:28:23 +02:00
thibdrev
4e5ea524f4
qual: PHPStan for tva.class.php (#30711)
* qual: PPHStan for tva.class.php

htdocs/compta/tva/class/tva.class.php	57	Property Tva::$total has no type specified.

htdocs/compta/tva/class/tva.class.php	59	Property Tva::$datep has no type specified.

htdocs/compta/tva/class/tva.class.php	60	Property Tva::$datev has no type specified.

htdocs/compta/tva/class/tva.class.php	61	Property Tva::$amount has no type specified.

htdocs/compta/tva/class/tva.class.php	62	Property Tva::$type_payment has no type specified.

htdocs/compta/tva/class/tva.class.php	924	Method Tva::getKanbanView() has parameter $arraydata with no value type specified in iterable type array.

* tva.class.php - correction of phan warnings

* tva.class.php - correction of phan warnings

* $amout can be float|string

* Update card.php - fix phan warning
2024-08-21 15:11:28 +02:00
Laurent Destailleur
3604729731 Translate 2024-08-21 14:45:02 +02:00
MDW
c137f3bc4e
Qual: Fix caching for windows workflow (#30705)
* Qual: Adjust cache configuration for windows-ci

# Qual: Adjust cache configuration for windows-ci

actions/cache@v4 is flawed on windows, try suggestions from issue
discussion to fix it.
https://github.com/actions/cache/issues/1361
.

* Make cache key depend on install path directory
2024-08-21 14:10:43 +02:00
Mohamed DAOUD
f4417e502e
allow links and scripts on website htmlheader (#30708) 2024-08-21 14:10:09 +02:00
Frédéric FRANCE
f0cf4ddba0
fix cast (#30696)
* fix cast

* Update extrafields_list_print_fields.tpl.php
2024-08-21 13:24:49 +02:00
MDW
ca414de526
Qual: Fix $fields related notices with Phan (#30704)
* Qual: Typing hints/ignore directives for phan notices

* Update field typing
2024-08-21 13:23:35 +02:00
atm-corentin
0e345837a7
FIX sql error on stock list (#30706) 2024-08-21 13:15:42 +02:00
Mohamed DAOUD
563fbb67ca
add restricthtmlallowlinkscript to phan config (#30709) 2024-08-21 13:13:35 +02:00
HENRY Florian
cb636e217a
fix: catch error extrafields delete (#30522)
* fix: return error when extrafield DDLDropField failed

* fix: return error when delete extrafield failed

* fix: VAT is already calculted if not post (#30683)
2024-08-21 13:06:22 +02:00
Mohamed DAOUD
a5f7dd5d42
fix htmlheader (#30701) 2024-08-21 02:58:45 +02:00
Laurent Destailleur
955876b785 Rename param 2024-08-21 02:51:33 +02:00
Laurent Destailleur
e08fd29d0f Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-08-21 02:45:37 +02:00
Laurent Destailleur
3c78580471 Add restricthtmlallowlinkjstag in GETPOST 2024-08-21 02:42:13 +02:00
thibdrev
16681ce7b0
qual: Parameter #6 $year of function dol_mktime expects int, string given. (#30693)
* Update balance.php

* Update export.php

* Update list.php

* Update listbyaccount.php

* Update productMargins.php

* Update thirdpartyMargins.php

* Update productMargins.php
2024-08-21 00:25:00 +02:00
Mohamed DAOUD
de420b30ef
fix contacts default roles (#30700) 2024-08-21 00:24:07 +02:00
HENRY Florian
0885cd183e
fix: expedition set Draft do not reset display (#30699) 2024-08-20 23:58:06 +02:00
Frédéric FRANCE
b16e70438b
fix phpdoc (#30698) 2024-08-20 23:56:24 +02:00
HENRY Florian
d551f200f2
new: when initHook() and restrictedArea() exists always execute first initHook() (#30703) 2024-08-20 23:32:43 +02:00