Frédéric FRANCE
ec91ed2af9
test action ( #31815 )
...
* NEW : Add category feature on Fichinter
category update
* Update viewcat.php
* Update categories.lang
* Update categorie.class.php
* Update categories.lang
* Update viewcat.php
* Update viewcat.php
* test action
* test action
* test action
* test action
* test action
* test action
* test action
* test action
* test action
* test action
* test action
* clean baseline
Debug v21
NEW: use Expedition::$date_shipping property in card and list (#31701 )
* NEW: use Expedition::$date_shipping property in card and list
* FIX: translation
* FIX: PHPStan rebutal
* FIX: not a great idea to copy and not edit comment
* FIX: on create, expected delivery date should precede sending date
* Update card.php
* Update list.php
* Update list.php
* Update list.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
clean baseline
clean baseline
clean baseline
* clean baseline
* clean baseline
* merge
* fix
* fix
* fix
* fix
* fix
* fix
* fix translations
* fix translations
* fix translations
* fix translations
* fix
* fix filters
* fix filters
* fix filters
* fix filters
* fix
---------
Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com >
2024-11-15 14:09:04 +01:00
Laurent Destailleur
aacecf4569
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-11-13 16:41:41 +01:00
Laurent Destailleur
a64f4327c7
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-11-13 16:40:21 +01:00
Laurent Destailleur
b9c628413e
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-11-13 16:37:31 +01:00
Laurent Destailleur
a039a00277
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-11-13 16:35:07 +01:00
Laurent Destailleur
d30a0ea066
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-11-13 16:32:54 +01:00
Laurent Destailleur
ab6c74ae88
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-11-13 16:29:18 +01:00
Laurent Destailleur
fbca98ec2a
Merge
2024-11-13 16:25:00 +01:00
Laurent Destailleur
b1e3830c3b
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-11-13 00:38:58 +01:00
Laurent Destailleur
a186903844
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-11-13 00:38:00 +01:00
Laurent Destailleur
4cd2e572ae
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-11-13 00:30:26 +01:00
lvessiller-opendsi
8a55e2f6a4
FIX old copy not needed in supplier order create method ( #31733 )
2024-11-08 17:51:44 +01:00
Juanjo Menent
5eb5033aba
FIX #25853 Thirdparty Massaction ( #25868 )
...
* FIX #25853 Thirdparty Massaction
* FIX #25704 Taxes Deleted from Vendor Invoices
* FIX #25704 Taxes Deleted from Vendor Invoices
* FIX #25704 Taxes Deleted from Vendor Invoices
* Update fournisseur.facture.class.php
---------
Co-authored-by: Juanjo Menent <jmenent@2byte.es >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-07 04:41:48 +01:00
Laurent Destailleur
d0c14c6414
Prepare code for #24386
2024-11-07 03:45:28 +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
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
lvessiller-opendsi
e0a3756c6e
FIX update status on create supplier order for trigger ( #31642 )
2024-10-30 23:35:39 +01:00
Laurent Destailleur
e6f1d4835f
Clean sql code
2024-10-29 02:58:20 +01:00
MDW
67e9eaff46
Qual: Fix phan/phpstan notices in class files (part 2) ( #31523 )
...
* Qual: Fix phan notices in class files (part 2)
* Qual: Fix phan notices doleditor...events.class
* Qual: Fix phan notices defaultvalues...formprojet.class
* Qual: Fix notices formsetup...formwebsite.class
* Qual: Fix phan notices in class files (part 2)
* Qual: Fix phan notices doleditor...events.class
* Qual: Fix phan notices defaultvalues...formprojet.class
* Qual: Fix notices formsetup...formwebsite.class
2024-10-26 18:24:40 +02:00
Frédéric FRANCE
1ec7b1d571
fix phpstan ( #31566 )
...
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-26 13:22:48 +02:00
MDW
acda13eddf
Qual: Fix phan/stan notices for facture-rec.class ( #31489 )
...
* Qual: Fix phan/stan notices for facture-rec.class
* Update fournisseur.facture-rec.class.php
* Update fournisseur.facture.class.php
* Update fournisseur.facture-rec.class.php
* Update fournisseur.facture-rec.class.php
* Update fournisseur.facture-rec.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-25 17:11:39 +02:00
Laurent Destailleur
983bc98fe3
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-25 14:31:13 +02:00
Laurent Destailleur
405a741726
Fix doxygen
2024-10-25 14:30:51 +02:00
Laurent Destailleur
866d293c86
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-10-25 14:26:49 +02:00
Frédéric FRANCE
13acd4be7a
fix phpstan ( #31542 )
...
* fix phpstan
* fix phpstan
2024-10-25 14:16:10 +02:00
William Mead
0be87db4db
Qual isolate supplier invoice line classes to separate files ( #31121 )
...
* Moved supplier invoice line class to separate file. Added contributor details.
* Moved supplier invoice rec line class to separate file. Cleaned requires.
* Updated ChangeLog
* Fixed typo
* Updated PHPDoc
* Fixed Phantom warnings
* Fixed pre-commit
* Fixed PHPDoc
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-19 03:40:46 +02:00
Frédéric FRANCE
0b1d243a7a
add translations count ( #31398 )
2024-10-15 15:39:29 +02:00
MDW
d7b2f95baf
Qual: Fix phan notices ( #31372 )
...
* fix llx_webhook_target-webhook.sql
* Fix commande/list & facture-rec.class
* Fix bonprelevement
* Qual: Fix prelevement/create notices
* Qual: fix quadridetail notices & update baseline
* Qual: Fix CommonDocGenerator notices
* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
2024-10-13 16:45:42 +02:00
MDW
f4c91d5bb6
Qual: Fix phan/phpstan notices ( #31297 )
...
# Qual: Fix phan/phpstan notices
Fix several phan and phpstan notices.
2024-10-07 14:07:24 +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
a69022a3bb
FIX Debug calculation of the delay of purchase order
2024-09-29 05:34:04 +02:00
Laurent Destailleur
c5607dd212
FIX Debug calculation of the delay of purchase order
2024-09-29 05:32:27 +02:00
Laurent Destailleur
fbc5dd4822
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-26 19:36:09 +02:00
Laurent Destailleur
f3c4686805
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-26 19:22:30 +02:00
Laurent Destailleur
3d88bca12e
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-09-26 19:18:56 +02:00
UltraViolet33
79edf0fb15
Fix delete commande fournisseur line linked to commandedet ( #31136 )
...
When a commande fournisseur line is deleted, the wrong commandedet.fk_commandefourndet was set to NULL
and the commande fournisseur line deletion was impossible if it was link to a commandet.
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions >
2024-09-26 17:18:27 +02:00
Laurent Destailleur
2aea634669
Fix phpstan
2024-09-26 00:22:19 +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
John BOTELLA
0eca5dea23
New unbilled btn for supplier order ( #31016 )
...
* New unbilled btn for supplier order
* change comment
* Factor code
2024-09-20 02:14:04 +02:00
MDW
9a9e851494
Qual: Fix new UndeclaredGlobalVariable notices & enable ( #30963 )
...
* Qual: 🛟 Fix typing
Qual: Fix typing
Fix some typing currently failing ci in develop.
* Fix typing for grabimages
* Qual: Fix new UndeclaredGlobalVariable notices & enable
# Qual: Fix new UndeclaredGlobalVariable notices & enable
This fixes several new notices regarding 'undeclared globals' which
mostly correspond to missing initialisations in views and some real
bugs where the variable name was incorrect.
Some less obvious cases are unsolved and ignored (adherents/list,
and fourn/commande/card).
This is in preparation of fixing the notices in the other files
where the baseline was already set to ignore them where most just
need a phan-var-force declaration which will help with verifying
type compatibity and object member verifications
2024-09-16 01:50:58 +02:00
Florent Poinsaut
b4bcb243c0
FIX #30950 Bad ref in supplier invoice created by Rest API from an invoice template ( #30951 )
2024-09-13 17:42:09 +02:00
Frédéric FRANCE
2a6bbf88df
fix phpstan ( #30944 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-13 17:40:03 +02:00
MDW
76eaf8bd8d
Qual: Fix phan notices in classes related to class using getNextValue. ( #30925 )
...
* FIX 🛟 phan
* getToolTip() can take null for $coc
* Fix uninitialized vars & arg types
* PHPDoc typing, argument fixes
* PHPDoc typing, argument fixes for AdherentType
* PHPDoc typing, argument fixes for AdherentStats
* Update baseline to enable adherent notices
* Fix PHPDoc typing in api_members
* Minor bug fixes, typing
* PHPDoc api_subscriptions
* PHPDoc Societe
* Ignore empty foreach notice
* Add initialiser
* Categorie is string, old int mode is deprecated
* Fix missing initialisations
* Fix missing initialisations adherents/note
* Fix typing (cast), initialisation of var
* Fix initialisations
* Fix argument types
* Improve array PHPDoc type
* PHPDoc array type
* PHPDoc: Improve typing
* Correct argument type to getNomUrl
* Improve typing for timespent
* Fix typing for getNextValue args
* Improve typing
* Fix typing hints contrat/card
* Update baseline
* Fix typing
* Fix extraparams property typing
* Fix argument typing
* Qual: Correct covariant type
* Impove typing for timespent
* Remove exclusion no longer matched (level 6)
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
2024-09-12 21:16:42 +02:00
William Mead
f9a0d409a6
Qual isolate commande fournisseur line class to separate file ( #30898 )
...
* Moved supplier order line class to separate file. Removed unnecessary requires.
* Updated PHPDoc
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-10 03:30:57 +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
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
William Mead
cd0518f0e8
FIX late supplier order search option ( #30743 )
...
* Fixed search late supplier order. Added search late supplier order checkbox.
* Added contributor details
2024-08-24 13:34:33 +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
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