Commit Graph

145227 Commits

Author SHA1 Message Date
John BOTELLA
2b85f401af Fix breaks on edge 2024-10-21 09:03:49 +02:00
John BOTELLA
a1a2d2f99e Fix breaks on edge 2024-10-21 08:59:27 +02:00
Frédéric FRANCE
bd2567528a Merge branch 'develop' into extrafields_object_filter 2024-10-20 10:32:28 +02:00
Frédéric FRANCE
a185fb4296 fix phpstan (#31479)
* fix phpstan

* fix phpstan
2024-10-20 10:13:40 +02:00
MDW
76d801dcb3 Qual: Fix phan by adding typing hints, fix arguments (#31466)
* Do not analyze custom

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class

* Qual: Add typing hints to tpl files + other 'fixes'

* Qual: fix typing issu gy typing intermediate variable
2024-10-20 01:57:12 +02:00
MDW
fb3972b702 Qual: Fix phan notices in some payment/strip related classes (#31453)
* fix concat

* fix overwrite

* Clean code

* Do not analyze custom

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class

* Qual: Fix companybankaccount.class

* Fix phan/phpstan notices

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic.france@free.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:32:01 +02:00
Laurent Destailleur
c44e0e1d0c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-20 00:31:15 +02:00
Laurent Destailleur
a30da69104 Fix phan 2024-10-20 00:30:59 +02:00
Frédéric FRANCE
bc06268df6 fix concat and CI 🔧 (#31469)
* fix concat

* fix overwrite

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:20:48 +02:00
Laurent Destailleur
28ee30dfd2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-20 00:20:32 +02:00
Laurent Destailleur
acac575512 Fix phan 2024-10-20 00:20:16 +02:00
omogenot
cd9e54b1a2 FIX: Replenishment lib class does not extract data from already received supplier orders (#31440)
* Update replenishment.lib.php

* Fix wrong table column name from fk_command to fk_element for table receptiondet_batch
* use error free  getDolGlobalString to access global variable to replace $conf->global access.

* Update replenishment.lib.php

Fix typo

* Update replenishment.lib.php

Use getDolGlobalInt instead of getDolGlobalString for numeric constant

* Update replenishment.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:19:01 +02:00
sonikf
710905470b fix translation for non latin languages (#31473) 2024-10-20 00:11:53 +02:00
Frédéric FRANCE
1d197e42bb fix shippable tooltip value overwritten (#31468) 2024-10-20 00:11:04 +02:00
Frédéric FRANCE
b0c7b8750a fix overwritten value (#31470) 2024-10-20 00:10:54 +02:00
Joachim Kueter
eb3bba03cd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-20 00:06:34 +02:00
Laurent Destailleur
df2211e9f2 Fix phan 2024-10-20 00:05:00 +02:00
Laurent Destailleur
4db9323706 Fix phan 2024-10-20 00:03:46 +02:00
Laurent Destailleur
37880a7964 Debug v21 2024-10-19 23:42:26 +02:00
Laurent Destailleur
1d7169d051 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 20:48:41 +02:00
Laurent Destailleur
4a00350859 Fix test on malware 2024-10-19 20:48:05 +02:00
Laurent Destailleur
560829cacf Fix test on malware 2024-10-19 20:46:10 +02:00
Laurent Destailleur
b30798a2eb Test 2024-10-19 20:26:15 +02:00
Laurent Destailleur
53bf3e819e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-19 20:17:29 +02:00
Laurent Destailleur
88d0636dcc Fix travis 2024-10-19 19:40:04 +02:00
Laurent Destailleur
992dc88491 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-19 15:33:12 +02:00
Laurent Destailleur
76ec55b81e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 15:31:00 +02:00
Laurent Destailleur
c160da91ed Change URL for module blacklist feature 2024-10-19 15:29:43 +02:00
Laurent Destailleur
786291506a WIP: Feature to report malware 2024-10-19 15:16:50 +02:00
Laurent Destailleur
22c4d8f814 Merge 2024-10-19 14:56:14 +02:00
Laurent Destailleur
11d01197e3 Split code to avoid false positive 2024-10-19 14:51:30 +02:00
Laurent Destailleur
c70973c0c8 Merge v20 2024-10-19 14:44:55 +02:00
Laurent Destailleur
a294cadcc1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 14:33:05 +02:00
Laurent Destailleur
17c50368c1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 14:32:08 +02:00
Laurent Destailleur
85f1338b19 Fix var_dump 2024-10-19 14:29:59 +02:00
Laurent Destailleur
402570e1c5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-19 14:00:10 +02:00
Laurent Destailleur
a0b791a4a6 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-19 13:59:35 +02:00
Laurent Destailleur
e97c1dc48e Better message 2024-10-19 13:51:05 +02:00
Laurent Destailleur
2aa67ba983 Trans 2024-10-19 13:31:56 +02:00
Laurent Destailleur
0844ed2f9b NEW Include a protection into check update to detect malware 2024-10-19 13:16:13 +02:00
Laurent Destailleur
9c9832124b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-19 11:40:25 +02:00
Laurent Destailleur
2e12ab4b65 Clean code 2024-10-19 11:39:56 +02:00
Noé Cendrier
a18103187c NEW: Management of extrafields on customer prices, level prices and default prices (#31313)
* ADD: Management of extrafields on customer prices, level prices and default prices

* ADD: sql table for managing extrafields on customer prices, level prices and default prices

* FIX: Add actions to update, add, delete extrafields and display extrafield

* FIX: colspan for customer price table

* ADD: Management of extrafields on customer prices

* FIX: Value and search for price label

* ADD: name in the files

* FIX: *

* FIX: PHP-cs fail

* FIX: comment in english, please

* FIX: variable naming and testing

* FIX: GETPOST array

* FIX: return is an array of strings, object array will be modified as well

* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too

* FIX: do not mess with extrafields code and value

* Update llx_product_customer_price_extrafields.sql

* Update llx_product_price_extrafields.sql

* FIX: whooopsie

* FIX: PHP warnings

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-19 09:50:18 +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
Alexandre Janniaux
0bdd209d06 QUAL: AccountancySystem: maintenance work to uniformize and clean up (#31391)
* accountancysystem: inherit CommonObject

This provides the common methods on the database objects like error
handling.

* accountancysystem: improve error reporting

Forward the database error to the caller when an error happens.

* accountancysystem: clean up class

The fields that were completely unused are removed. $ref is still kept
since it was filled by AccountancySystem::fetch(), but marqued as
deprecated to incite using the newer more descriptive pcg_version field.

* Update accountancysystem.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-19 03:37:44 +02:00
Alain Rihs
1ef98c3a6f Update functions.lib.php (#31455)
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
2024-10-19 01:58:27 +02:00
Florian Mortgat
abefce7ae2 FIX 17.0: supplier invoice template card: buyer and seller swapped in VAT-related function calls (probably a copy-paste from customer invoice templates) (#31446) 2024-10-19 01:55:58 +02:00
kkhelifa-opendsi
90a545637e NEW : Add hook after the line is processed in the sell journal page (#31439) 2024-10-19 01:38:36 +02:00
Michael Bussmann
286d2e7670 FIX #31305 Translation of INVOICE_ADD_EPC_QR_CodePay moved from admin to bills (#31441)
Signed-off-by: Michael Bussmann <bus+git@mb-net.net>
2024-10-19 01:34:48 +02:00
atm-irvine
352bdaf9c4 FIX : Extrafield following between rec invoice and classic invoice (#31445) 2024-10-19 01:33:31 +02:00