Commit Graph

1310 Commits

Author SHA1 Message Date
ldestailleur
177b5de737 Clean code - no duplicate amount if not foreign currency 2025-02-19 18:10:45 +01:00
MDW
928402c847
Qual: Fix phan (project-1) 2025-02-11 00:22:39 +01:00
Laurent Destailleur (aka Eldy)
6efcada2c9 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-06 18:14:33 +01:00
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)
d23ca9083c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-06 16:15:13 +01:00
Laurent Destailleur (aka Eldy)
13ac8170c2 Debug v21 2025-02-06 16:12:04 +01:00
Laurent Destailleur (aka Eldy)
58134e840d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-01-30 13:14:15 +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)
30dc853bb7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-20 15:09:16 +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
8623166d59 FIX remove from CRUD 2025-01-20 06:53:03 +01:00
Regis Houssin
d39ef7b752 NEW add creditnotelist var in fetch 2025-01-19 13:18:36 +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
Maxime Kohlhaas
751e21be44 Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0 2025-01-09 18:23:38 +01:00
Laurent Destailleur (aka Eldy)
58e42656c0 Fix regression after a fix 2025-01-09 13:54:25 +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