Laurent Destailleur
f35fd7c1f0
Clean code
2024-11-12 03:17:55 +01:00
Frédéric FRANCE
661059ca9a
fix phpstan ( #31763 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-11 14:33:53 +01:00
Frédéric FRANCE
15490b292f
fix phpstan and fix CI ( #31739 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
254c15fae1
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-11-09 15:55:41 +01:00
Laurent Destailleur
31f147622a
The deprecated GET parameter "&sall=" has been removed, use now the
...
"&search_all=".
2024-11-07 12:26:42 +01:00
Laurent Destailleur
434697e78e
FIX Search on batch code
2024-11-06 23:52:53 +01:00
MDW
178d748cad
Qual: Fix phan/phpstan notices in class files (part 5) ( #31617 )
...
* Qual: fix commonstickergen..don.class
* Fix notifications for pdf_paiement...cronjob.class
* Qual: Fix notifications for emailcollector..price_parser.class
* Ensure that NULL is used in the database when fk's are 0/empty
* Fix notifications for pdf_paiement...cronjob.class
* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
0d7bc505d3
add phpdoc and clean phpstan baseline ( #31702 )
...
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Laurent Destailleur
37f15cfb42
NEW Add option to round weight and volumen on shipment pdf
2024-11-06 12:50:24 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan ( #31632 )
...
* add baseline exclude for phpstan
* update
* update
* update
* update
* update
* merge
* restore one filter
* delete old errors
* fix
* fix
* fix
* $moreforfilter can t be empty
* fix
* enable check
* refresh baseline
* add phpdoc
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 23:53:20 +01:00
MDW
e7539f2e19
Qual: Fix notices in .lib.php files ( #31672 )
...
* Qual: Fix notices in .lib.php files
* Update wrapper.php
* Update availabilities_card.php
* Update index.php
* Update document.controller.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 12:32:13 +01:00
Je2fb
408215b873
Fix issue product multicurrency price in form list and incoterm location ( #31651 )
...
* Update html.form.class.php for multicurrency issue
Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice
* Fix Incoterm location
Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number
* Update card.php
* Update card.php
* Update card.php
* Update card.php
* Update shipment.php
* Update card.php
* Update card.php
* Update stocktransfer_card.php
* Update card.php
* Update card.php
2024-10-31 18:45:24 +01:00
ptibogxiv
4cc5eb4dce
FIX card.php for services in shipment card ( #31622 )
2024-10-29 17:30:25 +01:00
Laurent Destailleur
e6f1d4835f
Clean sql code
2024-10-29 02:58:20 +01:00
Laurent Destailleur
f5e4ab0220
Rewrite code to prepare refactoring
2024-10-26 15:24:54 +02:00
Frédéric FRANCE
17e69f8a21
fix phpstan ( #31565 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-10-26 13:03:52 +02:00
MDW
fcd680d300
Qual: Fix phan & phpstan notices ( #31496 )
...
# Qual: Fix phan & phpstan notices
Fix multiple phan & phpstan notices
2024-10-25 14:20:55 +02:00
Frédéric FRANCE
331c5e9f4b
fix phpstan ( #31547 )
...
* fix phpstan
* fix phpstan
* fix phpstan
2024-10-25 13:24:10 +02:00
MDW
cb9ad5c259
Qual: Fix spelling ( #31515 )
...
# Qual: Fix spelling
Fix some typos in the comments (codespell).
2024-10-23 20:23:07 +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
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
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Laurent Destailleur
6b72c665af
Fix phan warning
2024-09-26 16:38:23 +02:00
MDW
5e02bec9df
Qual: Fix getTooltipContentArray typing hints ( #31081 )
...
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Frédéric FRANCE
13d4d96dfc
fix phpstan ( #31061 )
...
* fix phpstan
* fix phpstan
2024-09-20 17:25:39 +02:00
Frédéric FRANCE
d5fe4f998a
fix phpstan ( #30989 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-18 02:45:54 +02:00
MDW
115627a054
Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice ( #30957 )
...
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice
Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice
* Update phan baseline
* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
William Mead
72aec91064
NEW shipment signed status update ( #30928 )
...
* Added event message
* Added CommonSignedObject trait. Updated LibStatut method. Removed unnecessary properties.
* Added SHIPPING_MODIFY notification
* Refactored to use setSignedStatus method
* Updated PHPDoc. Removed unnecessary properties. Added contributor details.
* Added signed status to shipping list
* Added signed status to fetch method
* Fixed type
* Added signed status to notification message
* Updated EN localization
* Fixed static property
* Added event message localization
* Updated EN localization
* Updated PHPDoc
* Added signed status for use in tooltip
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-13 03:09:53 +02:00
William Mead
7600157b5a
Qual isolate ExpeditionLigne class to separate file ( #30877 )
...
* Moved expedition line class to separate file. Removed unnecessary requires.
* Updated PHPDoc
* Fixed PHPDoc
* Fixed PHPDoc
* Fixed undeclared variable
* Fixed type
* Fixed PHPDoc
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-12 22:04:35 +02:00
Laurent Destailleur
bf697f83eb
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-09-12 21:50:31 +02:00
ptibogxiv
7169c9258b
Fix for SHIPMENT_SUPPORTS_SERVICES option ( #30934 )
...
add correct quantity of service and not. 0 only for a service with the hidden option SHIPMENT_SUPPORTS_SERVICES activated
2024-09-12 21:13:03 +02:00
Laurent Destailleur
e003c6a516
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-07 02:20:15 +02:00
Laurent Destailleur
bd04568799
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-07 02:18:33 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +02:00
Zephyriony
313fb9dd6d
FIX shipment closing date not saved ( #30853 )
...
* Bug: shipment closing date not saved
* Update expedition.class.php
* Update expedition.class.php
2024-09-05 15:24:33 +02:00
Laurent Destailleur
1b16ae87e4
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-05 12:40:15 +02:00
Laurent Destailleur
538ab5a9f3
FIX #30836
2024-09-04 23:00:05 +02:00
hansemschnokeloch
9ea29c01a6
Fix countable error ( #30839 )
2024-09-04 21:19:07 +02:00
hansemschnokeloch
bab6c9bc68
Fix countable error ( #30839 )
2024-09-04 21:18:11 +02:00
HENRY Florian
575917a3c9
fix: create invoice from shipping list (20.0) ( #30851 )
...
* fix: When create invoice from shipping list translation of mass action is wrong and invoice line desc is wrong
* fix: translation
* fix: translation
* fix: translation
2024-09-04 20:20:52 +02:00
Laurent Destailleur
c79f72f785
Fix missing tests on permissions
2024-09-03 16:19:18 +02:00
Laurent Destailleur
84ce31b8f8
Fix missing test on permissions
2024-09-01 14:04:10 +02:00
MDW
a8367a6cd8
Qual: Fix getNextValue related phan notices (part2) ( #30752 )
...
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix getNextValue related phan notices (part2)
* Update baseline
* Qual: Fix phan notice
2024-08-29 13:34:24 +02:00
Laurent Destailleur
e7cfa4ddcc
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-08-27 07:26:26 +02:00
Laurent Destailleur
c03617d5b7
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-08-27 04:46:30 +02:00
hansemschnokeloch
db727ee62d
Fix duplicate header ( #30729 )
2024-08-23 15:06:06 +02:00
Thibault Fiacre
48670dbd2f
Fix prevent batch shipment for same product ( #30740 )
...
* FIX prevent batch shipment for same product
* Add variable declaration
2024-08-23 15:00:33 +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
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