Commit graph

138490 commits

Author SHA1 Message Date
omogenot
f869034c8c
FIX: Make html form warehouse select filter between closed and opened work if const ENTREPOT_EXTRA_STATUS not set (#31508)
* Update html.formproduct.class.php

Fix filter status variable that is reset if global constant ENTREPOT_EXTRA_STATUS is not set. This prevents the warehouse list to display only opened or closed warehouse is the global const is not set.

* Update html.formproduct.class.php

Fix typo
2024-10-23 21:00:56 +02:00
Alexandre SPANGARO
5e13ea5556
FIX Salary - Card - Hide button "Make Transfert Request" if status is paid (#31510) 2024-10-23 20:54:03 +02:00
Alexandre SPANGARO
7f0d75c638
FIX Salary - Payment card - Missing date (#31512)
* FIX Salary - Payment card - Missing date

* Coryright
2024-10-23 20:49:49 +02:00
MaximilienR-easya
dcf708d7f4
NEW #31103 (#31516)
* New ticket admin configuration of the auto assign option

* Change to correspond the PR ##31140
2024-10-23 20:47:44 +02:00
Frédéric FRANCE
2b72b69870
add tpl search dir (#31522) 2024-10-23 20:26:14 +02:00
Anthony Berton
5ff9207199
NEW - order list det is stable (#31521)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2024-10-23 20:25:17 +02:00
MDW
cb9ad5c259
Qual: Fix spelling (#31515)
# Qual: Fix spelling

Fix some typos in the comments (codespell).
2024-10-23 20:23:07 +02:00
Frédéric FRANCE
80171b5fe5
Update modCaptchaStandard.class.php (#31528)
* Update modCaptchaStandard.class.php

* Update modCaptchaStandard.class.php
2024-10-23 18:51:20 +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
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
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
UltraViolet33
c023c3b8c3
FIX attached files not sent in empty email (#31444)
When we send an email with empty text content but with attached file, the file was not sent.

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-19 01:26:02 +02:00
MDW
11c43e8c63
Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices

* Do not analyze custom

* Fix: Correct reference to cache (+phpdoc)

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class
2024-10-19 01:21:41 +02:00