2
0
forked from Wavyzz/dolibarr
Commit Graph

6843 Commits

Author SHA1 Message Date
Laurent Destailleur
d4b7332c76 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-22 14:24:14 +02:00
Frédéric FRANCE
5d421b1437 fix phpstan supplier invoice rec (#29398) 2024-04-20 22:45:14 +01:00
sonikf
5f98189729 fix #29381 backport #28039 in v. 19 (#29400) 2024-04-20 22:33:57 +01:00
spooky360
8949354053 FIX: an error occured when doing a mass vat change de 0% on supplier invoice (#29417)
On a supplier invoice, when you want to set all lines VAT to 0, the check performed in card.php fails and an error occurs. The 0 value was interpreted as false so we never enter in the "if" condition. We now check that the value is not an empty string
2024-04-20 22:19:36 +01:00
Laurent Destailleur
27dcafc05e Debug v20 2024-04-20 19:09:34 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
79e844bdcb Fix default value 2024-04-17 10:42:12 +02:00
sonikf
95aa03e3b0 FIX #28347 FIX #28962 FIX #29224 FIX #29035 (#29303)
* FIX #28347 FIX #28962 FIX #29224

* fix empty line

* Update card.php

* FIX #29035

* add multicompany support in creation of supplier order from client order

* Update card.php

Assign a subprice value of 0 to user selected lines without a vendor product price when creating a supplier order from a client order
2024-04-12 12:53:03 +02:00
Vincent Maury
6212868aca regl_mode on new command not set (#29293)
When creating a new supplier order, even if the default reglement_mode is set for this supplier, the reglement_mode for the new order is not set.
As It is for the cond_reglement
I don't understand why my update is ok, but IT IS !
2024-04-09 20:09:45 +02:00
Laurent Destailleur
ac63bd9b56 Debug v20 2024-04-09 19:36:39 +02:00
sonikf
672ba6f47d QUAL: feature parity between vendor and customer template invoice (#26588)
* NEW: Add invoice subtype

* Add subtype, propagate extrafields and clean up

* fix empty line

* fix phan error
2024-04-08 20:36:12 +02:00
Laurent Destailleur
ab53b275eb Fix default value 2024-04-08 12:09:05 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
thibdrev
2fca326f12 qual: phpstan for fournisseur.facture.class.php
htdocs/fourn/class/fournisseur.facture.class.php	204	PHPDoc type float|int of property FactureFournisseur::$total_ht is not covariant with PHPDoc type float of overridden property CommonObject::$total_ht.
htdocs/fourn/class/fournisseur.facture.class.php	206	PHPDoc type float|int of property FactureFournisseur::$total_tva is not covariant with PHPDoc type float of overridden property CommonObject::$total_tva.
htdocs/fourn/class/fournisseur.facture.class.php	208	PHPDoc type float|int of property FactureFournisseur::$total_localtax1 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax1.
htdocs/fourn/class/fournisseur.facture.class.php	210	PHPDoc type float|int of property FactureFournisseur::$total_localtax2 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax2.
htdocs/fourn/class/fournisseur.facture.class.php	212	PHPDoc type float|int of property FactureFournisseur::$total_ttc is not covariant with PHPDoc type float of overridden property CommonObject::$total_ttc.
htdocs/fourn/class/fournisseur.facture.class.php	1204	Property FactureFournisseur::$author (int) does not accept string.
2024-04-04 21:15:09 +02:00
Laurent Destailleur
74ea1ecd56 Merge pull request #29205 from DoliGreece/sonikf-patch-fix-vendor-template-list
fix vendor template list default search parameters
2024-04-04 20:21:11 +02:00
Laurent Destailleur
2032999376 Merge pull request #29172 from JonBendtsen/supplier_order_update_single_array_option_element
allow updating supplier orders single Complementary Attribute
2024-04-04 19:51:02 +02:00
Frédéric FRANCE
08dc3592ad Merge branch 'develop' into patch-9 2024-04-04 18:08:57 +02:00
Jon Bendtsen
a433856917 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-03 19:39:49 +02:00
Laurent Destailleur
14afdf6b0e Fix regression on GETPOSTINT 2024-04-03 17:50:24 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Laurent Destailleur
5acdcac75d Debug v20 2024-04-03 12:25:06 +02:00
Frédéric FRANCE
7534e7bbd9 fix Property SupplierInvoiceLine::$localtax1_type (float) does not accept string 2024-04-03 08:57:41 +02:00
sonikf
b15a0685e7 fix list default search parameters 2024-04-03 03:17:19 +03:00
Laurent Destailleur
cefaa1e8f5 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-03 02:12:56 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
Jon Bendtsen
f98477de09 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-02 16:02:57 +02:00
Laurent Destailleur
c6c441ffee Merge pull request #29078 from developmentOYR/patch-2
Update fournisseur.facture.class.php
2024-04-02 15:11:07 +02:00
Laurent Destailleur
9f993fb8e6 Update fournisseur.facture.class.php 2024-04-02 15:10:36 +02:00
Laurent Destailleur
425f1cc522 Fix missing checkValForAPI 2024-04-02 14:53:01 +02:00
Laurent Destailleur
2316d26de4 Update api_supplier_orders.class.php 2024-04-02 14:52:03 +02:00
Laurent Destailleur
579e770ab0 Merge pull request #29174 from JonBendtsen/supplier_invoice_update_single_array_option_element
allow updating supplier invoice single Complementary Attribute
2024-04-02 14:49:52 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
5be6b32559 Merge branch 'develop' into supplier_invoice_update_single_array_option_element 2024-04-02 13:53:10 +02:00
Laurent Destailleur
0797566c01 Merge branch 'develop' into supplier_order_update_single_array_option_element 2024-04-02 13:53:02 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Jon Bendtsen
2dbf16999c will allow updating 1 supplier invoice single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for supplier invoice 2024-04-01 11:19:22 +02:00
Jon Bendtsen
cbc530c566 will allow updating 1 supplier order single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for supplier orders 2024-04-01 11:13:10 +02:00
Yamil Esteban Garcia
de40477f20 Merge branch 'develop' into patch-2 2024-04-01 10:18:59 +02:00
Yamil Esteban Garcia
a9821e2bf1 Update fournisseur.facture.class.php
Hello Eldy, I just made the changes you asked me for. I have carried out the appropriate checks to verify that everything is working correctly.

All the best
2024-04-01 09:47:42 +02:00
Laurent Destailleur
5c72441cc2 Merge pull request #29133 from mdeweerd/fix/related/fournisseur.facture
Fix phan notices related to fournisseur.facture.class.php
2024-03-30 23:46:01 +01:00
MDW
9afe7dba59 Fix phan notices related to fournisseur.facture.class.php
# Fix phan notices related to fournisseur.facture.class.php

This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
MDW
52ef6f937b Fix use $societe not undefined $soc
# Fix use $societe not undefined $soc

Code is referencing undefined $soc, so using $societe instead
2024-03-29 21:19:39 +01:00
Laurent Destailleur
233629ed3a Merge branch 'develop' into phpstan_user 2024-03-29 12:20:23 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Frédéric France
7a7b1953ed fix phpstan 2024-03-28 20:34:33 +01:00
Frédéric France
a3df8248a7 Merge remote-tracking branch 'upstream/develop' into phpstan_user 2024-03-28 20:26:57 +01:00