Commit graph

145227 commits

Author SHA1 Message Date
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
lamrani abdelwadoud
4db05d65a5
New display for list event of contactAddress (#30702)
* New display for list event of contactAddress

* remove var_dump
2024-08-20 23:32:09 +02:00
HENRY Florian
0dc5f67d64
NEW: add warehouseId parameters in select_produit to limit result to existing product in select (#30477)
* ongoing

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* new: add warehouseId parameters inselect_produit to limit result to existing product in select

* try reveiw

* fix from review

* fix from reiview

* review php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-20 23:29:35 +02:00
HENRY Florian
07c9dea71e
Qual: add fields array property into categorie class (#30450)
* new: add fields array into categorie class

* reveiw php stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-20 23:23:30 +02:00
Laurent Destailleur
2f8c0f119a Fix test on securiy page 2024-08-20 15:05:06 +02:00
Laurent Destailleur
69bc79b9a9 Fix test on securiy page 2024-08-20 15:02:33 +02:00
Laurent Destailleur
10d0aafef6 Fix br 2024-08-20 14:32:25 +02:00
Nicolas Domenech
ce199c4206
Fix : SQL order on extrafields type chkbxlst (multiselectarray) (#30689) 2024-08-20 12:41:23 +02:00
Laurent Destailleur
91ef884859 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-20 12:36:53 +02:00
MDW
16e72b4602
Qual: Fix phan notices for fournisseur.facture.class.php (#30680)
# Qual: Fix phan notices for fournisseur.facture.class.php

Fix phan notices in one of the popular classes to improve future detection.
2024-08-20 12:29:16 +02:00
Laurent Destailleur
eee66bff8b Doc 2024-08-20 12:28:41 +02:00
kkhelifa-opendsi
5b8a3a10a4
NEW: Add auto generate document when reception is created (#30688)
* NEW: Add auto generate document when reception is created

* Corrections

* Corrections

* Corrections
2024-08-20 12:08:58 +02:00
Laurent Destailleur
871643857d Fix label-picto of extrafields 2024-08-20 11:47:55 +02:00
Laurent Destailleur
0830af9f11 Fix label-picto of extrafields 2024-08-20 11:45:15 +02:00
Laurent Destailleur
99924d4432 Trans 2024-08-20 11:05:32 +02:00
Laurent Destailleur
02084292c6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-20 11:03:11 +02:00
Laurent Destailleur
23c91578f0 NEW Add pîcto on list of notification email templates 2024-08-20 11:02:47 +02:00