2
0
forked from Wavyzz/dolibarr
Commit Graph

2108 Commits

Author SHA1 Message Date
Laurent Destailleur
386c91790a Fix warning 2023-12-03 20:32:08 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
e1f3765f16 Debug v19 2023-12-01 11:41:48 +01:00
Laurent Destailleur
240869f2f2 Fix warnings 2023-11-30 21:45:58 +01:00
Frédéric FRANCE
e5da78eabe fix hidden phpstan error (#26893) 2023-11-30 17:44:34 +01:00
HENRY Florian
f74d652e10 fix: phpstan (#26748)
* fix: remove phpstan warning

* 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
2023-11-28 15:42:13 +01:00
Laurent Destailleur
56e8872ddc Clean code+warnings: The delete() method of AdherentType, Contact,
Delivery, MultiCurrency, CurrencyRate now need $user as first parameter.
2023-11-28 15:33:42 +01:00
Laurent Destailleur
7785ae93a1 Fix php8.2 warnings 2023-11-27 11:41:05 +01:00
Laurent Destailleur
574502c6fd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-24 10:23:38 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00
Frédéric FRANCE
2cacb02cca remove deprecated from initAsSpecimen (#26834) 2023-11-24 09:27:06 +01:00
Laurent Destailleur
cb3a86a737 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-11-23 18:56:10 +01:00
Laurent Destailleur
a257dcfa48 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-23 18:48:52 +01:00
Laurent Destailleur
3294b721ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-23 18:46:57 +01:00
boudet jean pascal
b3345e1796 FIX : special_code update line keep old value. (#26819)
* FIX : special code update line keep old value.

* Update fournisseur.commande.class.php

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-23 15:10:56 +01:00
Frédéric FRANCE
628786df6a Update fournisseur.facture.class.php (#26822) 2023-11-23 14:59:21 +01:00
Laurent Destailleur
f70cac6cb8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-22 00:25:35 +01:00
moreauftheobald
d756151956 Fix PHP STAN ERROR ON fournisseur commande class (#26717)
* Fix PHP STAN ERROR ON fournisseur commande class

* Fix phpstan fournisseur commande class

* Fix phpstan fournisseur commande class

* Remove Rang property

* Remove Rang property

* Update fournisseur.commande.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-22 00:17:15 +01:00
Laurent Destailleur
b57b002494 Fix warning 2023-11-22 00:16:00 +01:00
Frédéric FRANCE
9ff62f157c fix phpstan (#26775)
* fix phpstan

* Update fournisseur.facture.class.php

* Update fournisseur.facture.class.php
2023-11-22 00:00:37 +01:00
Frédéric FRANCE
7ac05c7549 fix phpstan (#26799)
* fix phpstan

* Update commoninvoice.class.php

* Update facture.class.php

* Update commoninvoice.class.php

* fix properties
2023-11-21 21:36:34 +01:00
MDW
3c966469ef QUAL No return values in __construct(), correct PHPDoc for typing (#26768) 2023-11-20 23:47:06 +01:00
Laurent Destailleur
d1a80920ff Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-20 19:53:50 +01:00
Laurent Destailleur
219bb50cac Fix warning 2023-11-19 13:34:36 +01:00
IC-Nicolas
ae608c3bb7 Unused method in Dolibarr (#26737) 2023-11-19 00:47:23 +01:00
Laurent Destailleur
5c1a7e7541 Debug v19 2023-11-18 23:50:35 +01:00
HENRY Florian
adeded25f4 Dev phpstan (#26723)
* fix: remove phpstan warning

* fix phpstan

* fix phpstan

* fix phpstan
2023-11-18 16:49:39 +01:00
Eric
ca2a267537 undefined fk_parent_line (#26695) 2023-11-18 01:42:19 +01:00
Laurent Destailleur
a0bba05b02 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/class/api_orders.class.php
	htdocs/compta/facture/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/fourn/class/api_supplier_orders.class.php
	htdocs/fourn/class/fournisseur.facture-rec.class.php
	htdocs/langs/en_US/stocks.lang
2023-11-17 18:24:53 +01:00
Laurent Destailleur
042d583070 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-17 12:03:38 +01:00
Laurent Destailleur
6ea48ac22a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-17 12:02:21 +01:00
MDW
c4542895d7 Fix recurrent supplier invoice generation (title) (#26601) 2023-11-16 15:43:48 +01:00
Christian Humpel
d567bdaa53 Integrate 'sqlfilterlines' in API for supplierorders. (#26613)
Co-authored-by: christian.humpel <christian.humpel@gmail.com>
2023-11-16 15:00:13 +01:00
thibdrev
1ba7d135e0 delete method isReconciled() because it is now inherited (#26591) 2023-11-14 14:29:25 +01:00
Laurent Destailleur
c6c7b6692d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-13 15:33:32 +01:00
Laurent Destailleur
7659bba97a Fix bad delete of lines into llx_ecm_files 2023-11-13 12:24:47 +01:00
thibdrev
86bad02b9d FIX #26553 Supplier invoice - Do not display the delete button for reconciled payment (#26554)
* do not display delete button if payment is reconciled

* add isReconciled() function

* phpcs fix: replace spaces by tab

* phpcs fix: Whitespace found at end of line

* phpcs
2023-11-12 23:41:59 +01:00
Laurent Destailleur
ccfaaeb03b Debug v19 2023-11-08 16:25:49 +01:00
Laurent Destailleur
56bb63c388 Debug v19 2023-11-06 16:29:00 +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
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
a0c5dffacb Fix must update facture_fourn_rec when merging thirdparties 2023-10-31 18:18:15 +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
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Pascal Hubrecht
0628dd057d FIX #26291 (#26292) 2023-10-20 12:53:03 +02:00
Laurent Destailleur
2a21a166d9 Fix warning 2023-10-20 03:05:40 +02:00
Laurent Destailleur
371dd4551a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-20 03:03:24 +02:00
MDW
e7c49922a6 Fix some items detected by phan (see #26262) (#26264)
* Fix some items detected by phan (see #26262)

* Update fournisseur.facture-rec.class.php

* Update fournisseur.facture-rec.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-20 02:28:51 +02:00
sonikf
732fb2fa04 NEW: Invoice subtypes for customers and vendors (#26233)
* NEW: Invoice subtypes for customers and vendors

* fix PHPCS

* fix PHPCS

* fix PHPCS

* fix PHPCS

* fix possible SQL Injection

* remove hardcoded tests

* remove hardcoded tests

* fix travis ci error
2023-10-18 02:33:14 +02:00
Ferran Marcet
6791a99527 Fix: Not loading thirdparty on supplier payment (#26235) 2023-10-17 15:44:57 +02:00