2
0
forked from Wavyzz/dolibarr
Commit Graph

1300 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
4e4e3d41b7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-06 18:14:00 +01:00
Laurent Destailleur (aka Eldy)
40f86ca101 FIX extrafields lost during creation from rec invoice 2025-02-06 18:13:25 +01:00
Laurent Destailleur (aka Eldy)
13ac8170c2 Debug v21 2025-02-06 16:12:04 +01:00
Laurent Destailleur (aka Eldy)
12da2ba814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-30 13:12:44 +01:00
Florian HENRY
9bb9ecd304 fix: phpwarning version 8.0 for TVA calulation 2025-01-27 17:20:55 +01:00
Laurent Destailleur (aka Eldy)
fa9fe2efa7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 15:02:37 +01:00
Laurent Destailleur (aka Eldy)
c9ab22782e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-20 14:57:45 +01:00
Regis Houssin
a9ff78528a FIX missing default values if $objsrc or $soc fields are empty 2025-01-17 11:36:41 +01:00
Maxime Kohlhaas
1dc3a9796f Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
802562a575 Fix regression after a fix 2025-01-09 19:35:01 +01:00
Florian HENRY
c130c292ed fix: undefined variable and bad error messages 2025-01-07 19:07:40 +01:00
Frédéric France
e30fa79d0d fix phpstan 2025-01-02 20:43:55 +01:00
Laurent Destailleur (aka Eldy)
3e806084c7 Try to fix false positive 2025-01-02 18:45:37 +01:00
Laurent Destailleur (aka Eldy)
a4b27a927f Try to fix a phpstan warning 2025-01-02 17:39:46 +01:00
Laurent Destailleur (aka Eldy)
7b69b6c17b FIX we should not allow to validate negative invoice if invoice is not a
credit note.
2024-12-30 21:05:21 +01:00
Laurent Destailleur (aka Eldy)
81e64ed9a4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-17 16:59:13 +01:00
Laurent Destailleur
aee2510048 Merge pull request #32249 from FHenry/20_fix_warn8_invoice_situation
fix:  FATAL ERROR (php 8, invoice situation=2) Invoice line Save after edit (even if invoice is STANDARD)
2024-12-09 15:11:46 +01:00
Laurent Destailleur
15d953643b Update card.php 2024-12-09 15:00:49 +01:00
Maximilien Valenzano
25d0d4e851 fix(invoice): mutlicurrency_tx correct value by float on compta & fourn 2024-12-09 09:47:37 +01:00
Florian HENRY
c7329a723e fix: fatal error php 8, invoice situation 2024-12-08 12:23:06 +01:00
Maximilien Valenzano
4ebb0a121a fix(invoice): mutlicurrency_tx correct value 2024-12-06 19:16:00 +01:00
Florian HENRY
cae32863ae fix: fatal error php 8, invoice situation 2024-12-05 10:35:34 +01:00
Zephyriony
38da445ff7 FIX loading object (#32114)
Useless and unoptimized code:

- Object already loaded at top of page, reloads a second time
- Prevents object from being loaded with doActions hook, since it overwrites it
2024-11-28 11:08:50 +01:00
Quentin-Seekness
1a752c16cf Fix setincoterms Location (#32037)
* Fix setincoterms Location

* Fix location_incoterms on invoice card

* Fix location_incoterms on supplier order

* Fix location_incoterms on supplier invoice
2024-11-21 17:11:19 +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
MDW
43b5bb049a Qual: Fix phan notifications for compta/facture/card (#30667)
* Qual: Fixes for htdocs/compta/facture/card.php (phan)

* Improve initialisations compta/facture/card

* Add initialisations and tests to fix phan notices

* Add initialisations for phan

* Test argument to property_exists is not null for typing

* Ignore PhanUndeclaredProperty notice on specific line

* Fix uninitialized $price_base_type

* Changes after rebase

* Remove duplicate becasue of rebase

* Update card.php

* Add dolsyslog of observed type

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 05:10:31 +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
Frédéric FRANCE
0f563edb5f replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
2024-10-26 22:43:44 +02:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
Frédéric FRANCE
331c5e9f4b fix phpstan (#31547)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-25 13:24:10 +02:00
Laurent Destailleur
916014707d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-14 21:18:24 +02:00
Laurent Destailleur
b099e103b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-14 21:00:26 +02:00
UltraViolet33
33c6d95b1c Backport Fix wrong invoice status when invoice has discount (#31323)
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-13 21:04:17 +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
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Laurent Destailleur
9d275a3c8c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-28 13:06:18 +02:00
Laurent Destailleur
90f49fbd83 Try more complete fix for #31117 2024-09-28 13:05:24 +02:00
MDW
0da4d51003 Qual: Fix multiple phan notifications (#31151)
* Qual: Fix notifications multiple files

# Qual: Fix notifications multiple files

Fixes to files with UnknownObject notices, fixing other
notices in these files as well

* Improve boxes typing

* Qual: Extend accepted types to reduce notices

* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Frédéric FRANCE
affdfd304f rename get_allprev_progress to getAllPrevProgress (#30077)
* fix phpstan

* fix phpstan

* add token

* fix

* add replace

* Update facture.class.php

* Update factureligne.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-28 11:10:57 +02:00
MDW
c62e015410 Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl (#31087)
# Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl

Fix phan notices in these files

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 23:01:02 +02:00
Laurent Destailleur
3979798bbd Fix phan 2024-09-26 21:12:52 +02:00
Laurent Destailleur
df06b3b1c3 Complete data for #31117 2024-09-26 17:29:48 +02:00
Laurent Destailleur
c0a63855f3 QUAL: Edition of currency is shared in a common tpl file 2024-09-26 12:22:03 +02:00
Laurent Destailleur
ae6e35cc84 Look and feel v21 enhancement on smartphone 2024-09-25 02:35:56 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* 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

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
Laurent Destailleur
26a199a877 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-11 14:03:35 +02:00
Laurent Destailleur
303e9ed891 Debug v20 2024-09-11 14:01:31 +02:00