Commit Graph

15272 Commits

Author SHA1 Message Date
hengsin 4d616ac947 IDEMPIERE-6004 Upgrade to Tycho 4.0.4 (#2201)
* IDEMPIERE-6004 Upgrade to Tycho 4.0.4

* Upgrade to Tycho 4.0.4
2024-02-06 10:11:10 +01:00
hengsin 54018821f1 IDEMPIERE-5943 Implement table partitioning support (#2203)
* IDEMPIERE-5943 Implement table partitioning support

- Fix issues with view and functional index

* IDEMPIERE-5943 Implement table partitioning support

- fix compatibility issue with PostgreSQL 16.1
2024-02-06 10:11:10 +01:00
Peter Takács e5eebba4a6 IDEMPIERE-5992 - Move the getIdentifier methods from WRecordEditor to MLookup class (#2183)
* IDEMPIERE-5992 - Move the getIdentifier methods from WRecordEditor to MLookup class

* IDEMPIERE-5992 - refactor logic

* IDEMPIERE-5992 - replace keyColumn parameter with useUUIDKey
2024-02-06 10:11:10 +01:00
Carlos Ruiz 8422123487 IDEMPIERE-6017 Fix NPE in MoveClient when a column does not exist (#2218) 2024-02-06 10:11:10 +01:00
Carlos Ruiz 6b05bde8a9 IDEMPIERE-6019 Add query to help finding customizations to official dictionary (#2216) 2024-02-06 10:11:10 +01:00
Carlos Ruiz 22e22fa976 IDEMPIERE-6017 Move/Copy Client failing when there are Record_ID references for AD_ClientInfo or AD_OrgInfo (#2214)
- improve discovery of key column
- improve avoiding block when the target column is bigger and can hold the source column
2024-02-06 10:11:10 +01:00
Carlos Ruiz 5705474223 IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true (#2215)
* IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true

* - change message to make it clear that it doesn't export official dictionary entries
2024-02-06 10:11:10 +01:00
Carlos Ruiz f56452e6d7 IDEMPIERE-6009 AllocationReset Not Working Correctly (#2204)
- fix wrong usage of TRIM in postgresql, must use TRUNC
- refactor to use safer methods throwing error on DB exceptions
2024-02-06 10:11:10 +01:00
Carlos Ruiz 1ec37be854 IDEMPIERE-6015 Allow usage of _ID or _UU columns in print format item scripts (#2208) 2024-02-06 10:11:10 +01:00
Carlos Ruiz 2b785e3900 IDEMPIERE-5567 Insert Log not being created - fix wrong parenthesis (#2212) 2024-02-06 10:11:10 +01:00
Carlos Ruiz b5efecc282 IDEMPIERE-5567 Trl Export for table TestUU_Trl (#2207)
- fix throwing TestUU_Trl org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying <= integer Hint: No operator matches the given name and argument types. You might need to add explicit type casts. Position: 268
- change the process to explicitly break when a DB exception happens
2024-02-06 10:11:10 +01:00
Carlos Ruiz fceb0614a5 IDEMPIERE-5996 Record Access is not being updated when a new record is added (#2194)
* IDEMPIERE-5996 Record Access is not being updated when a new record is added

* - correct CacheMgt.getElementCount

* - revert correction of CacheMgt.getElementCount

* - reset changes on MRole

* - implemnt suggestion from Heng Sin about validation of cache size

* - simpler approach, make the default role a cache instead of context

* - remove unnecessary code

* - implement suggestion from Heng Sin - keep instance of validation

* - revert changes on MRole to try a different approach

* - Implement approach suggested by Heng Sin - reset default role when is not in cache
2024-01-23 15:43:48 +01:00
hengsin 2dadd8fa97 IDEMPIERE-6003 Remove dependency on Jasper Studio's source forge p2 repository (#2199) 2024-01-23 15:43:48 +01:00
hieplq 076558cc0d IDEMPIERE-5998:In case there is a document link, the status bar does not show a popup when clicked (#2193)
* IDEMPIERE-5998:In case there is a document link, the status bar does not show a popup when clicked (refactoring code)
2024-01-23 15:43:48 +01:00
Vitor Henrique Dos Santos 7865952db2 IDEMPIERE-5952 - Adjust to return IDColumn recordID (#2130)
* IDEMPIERE-5952 - Adjust to return IDColumn recordID

* IDEMPIERE-5952 - Adjusts
2024-01-23 15:43:48 +01:00
Carlos Ruiz e33cadc2f9 IDEMPIERE-6002 Recent Items not working when UUID field is inactive (#2198)
* IDEMPIERE-6002 Recent Items not working when UUID field is inactive

* - add missing fields in core windows:
Product > BOM
Product > Components
Remuneration > Remuneration
Remuneration > Position Remuneration
Remuneration > Employee Remuneration
Revenue Recognition > Revenue Recognition
Revenue Recognition > Service
Revenue Recognition > Revenue Recognition Plan
Revenue Recognition > Revenue Recognition Run
Validation Rules > Used in Column (Lookup)

* - sync postgresql and oracle scripts
2024-01-23 15:43:48 +01:00
hengsin 33edb65bc6 IDEMPIERE-6001 Minor alignment fix for tree and view dashboard gadget (#2197) 2024-01-23 15:43:48 +01:00
Carlos Ruiz bf89e009ab IDEMPIERE-6000 Reset AD_SysConfig cache automatically when configured (#2196)
* IDEMPIERE-6000 Reset AD_SysConfig cache automatically when configured

* - better comment
2024-01-23 15:43:48 +01:00
luzpaz a87de727af IDEMPIERE-5838 Fix various typos (#2188)
* Fix various typos
Fixes user-facing and non-user-facing typos. Found via `codespell -q 3 -S "*.map,./migration,./migration-historic"`
* Added requested revisions
* Added requested revision
* Added requested revisions
2024-01-23 15:43:48 +01:00
Zuhri Utama ffd5e75d82 IDEMPIERE-5986 : Tree items w/o parent must be aligned like with parents (#2182) 2024-01-23 15:43:48 +01:00
Carlos Ruiz 17b012c376 IDEMPIERE-5567 - Parallel unit tests fail frequently with deadlock (#2190)
* IDEMPIERE-5567 - Parallel unit tests fail frequently with deadlock

when executing unit tests in parallel, MTestUUTest fails frequently with error detected deadlock
this can be caused by testReadingUpdatingTestUU trying to update translations and at the same time
the testDeletingTestUU is deleting the same record and deleting the same translations

* - implement suggestion from Heng Sin

* - remove unnecessary code
2024-01-23 15:43:48 +01:00
Carlos Ruiz 508bcf20d1 IDEMPIERE-5888 - solve login issue for users with single client not saving preferences (#2191) 2024-01-23 15:43:48 +01:00
Carlos Ruiz c9235a02b4 IDEMPIERE-5994 Connection leak when using DB.prepareStatement(badSql, null) (#2184)
* IDEMPIERE-5994 Connection leak when using DB.prepareStatement(badSql, null)

* - implement approach suggested by Heng Sin
2024-01-23 15:43:48 +01:00
Carlos Ruiz 0b5c7e2256 IDEMPIERE-5989 Attachments are not accessible after upgrade from Idempiere 10 to Idempiere 11 (#2185)
* IDEMPIERE-5989 Attachments are not accessible after upgrade from Idempiere 10 to Idempiere 11

IDEMPIERE-5567
Fix issue when the window doesn't have the UUID field

* - change for a more robust method (similar approach to other points)
2024-01-23 15:43:48 +01:00
Diego Ruiz 735a735fbb IDEMPIERE-5996 - Added the functionality of resetting cache after cre… (#2186)
* IDEMPIERE-5996 - Added the functionality of resetting cache after creating a record access restriction

* Update MRecordAccess.java

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2024-01-23 15:43:48 +01:00
Carlos Ruiz 63823f3a40 IDEMPIERE-5988 Wrong DisplayLogic in Discount, Write-off, Over/Under Payment fields (#2180) 2024-01-23 15:43:47 +01:00
hengsin b912996243 IDEMPIERE-5838 Base: Improve readability of code (#2179)
* IDEMPIERE-5838 Base: Improve readability of code

* IDEMPIERE-5838 Base: Improve readability of code
2024-01-23 15:43:47 +01:00
Carlos Ruiz 578e942f20 Revert "IDEMPIERE-4877 - Fix Footer is overlay on content (#2053)"
This reverts commit b8f1d6d2fb.
2024-01-23 15:33:22 +01:00
Carlos Ruiz da16af2a46 IDEMPIERE-5981 Misleading error when completing an auto-produce shipment (#2177)
* IDEMPIERE-5981 Misleading error when completing an auto-produce shipment

* - more robust fix
2024-01-23 15:33:22 +01:00
hieplq 0ea6a0352b IDEMPIERE-5980:spring-jcl make conflict between an export and import (slow down start idempiere on some condition) (#2175)
* IDEMPIERE-5980:spring-jcl make conflict between an export and import (slow down start idempiere on some condition)
2024-01-06 12:06:44 +01:00
hieplq 3d6ac16d00 IDEMPIERE-5062:Min/Max Validation for Process Parameters is not implemented (#2176)
* IDEMPIERE-5062:Min/Max Validation for Process Parameters is not implemented

https://idempiere.atlassian.net/browse/IDEMPIERE-5062?focusedCommentId=50418

* IDEMPIERE-5062:Min/Max Validation for Process Parameters is not implemented (report all error at one)

https://idempiere.atlassian.net/browse/IDEMPIERE-5062?focusedCommentId=50331

* Update ProcessParameterPanel.java - tests

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2024-01-06 12:06:44 +01:00
Carlos Ruiz bd18f2bd5d IDEMPIERE-5402 Replace Jfree Chart with Billboard (#2165)
* IDEMPIERE-5402 Replace Jfree Chart with Billboard

- Add client SysConfig definition

* - add deprecation warnings for deprecated keys
2024-01-06 12:06:44 +01:00
Deepak Pansheriya f39dfd1dc3 IDEMPIERE-5602: removing priceEntered and added LineNetAmt on Expense report line. (#2138)
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2024-01-06 12:06:44 +01:00
hengsin 6f110b2d2f IDEMPIERE-5963 Implement Sub-Partitioning and Detach Partition (#2150)
* IDEMPIERE-5963 Implement Sub-Partitioning and Detach Partition
Implement sub-partitioning for PostgreSQL
Implement sub-partitioning for Oracle
Implement detach/re-attach
2024-01-06 12:06:44 +01:00
Carlos Ruiz 18146a57a6 IDEMPIERE-5567 Fix NPE when AD_RecentItem.Record_UU is null (#2172)
- this can happen for example when a recent item record doesn't have or doesn't manage UUID
2023-12-30 20:13:21 +01:00
Carlos Ruiz ab576027f7 IDEMPIERE-5943 Implement table partitioning support - fix menu (#2171)
- minor fix to menu - make it centrally maintained and correct the process name
2023-12-30 20:13:21 +01:00
Carlos Ruiz b0fb3c2b44 IDEMPIERE-5567 fix PO.get_Translation for Zero ID tables (#2170) 2023-12-30 12:43:37 +01:00
hieplq 8fdd24457e IDEMPIERE-5903: correct IDEMPIERE-3943 Fix broken Automated javadoc generation (#2167) (#2169)
ref:https://idempiere.atlassian.net/browse/IDEMPIERE-5903?focusedCommentId=50427
2023-12-30 12:43:37 +01:00
Carlos Ruiz 4240211d71 IDEMPIERE-5969 Upgrade DB libraries - fix cherry pick to 11 2023-12-29 18:20:32 +01:00
Carlos Ruiz b5805c06a0 IDEMPIERE-3943 Fix broken Automated javadoc generation (#2167)
IDEMPIERE-5903
2023-12-29 16:52:45 +01:00
Carlos Ruiz b813807712 IDEMPIERE-5970 Reference field must be filled in Report Customization for multiple fields (#2166)
IDEMPIERE-5271
2023-12-29 16:52:20 +01:00
Carlos Ruiz 2fad0afc73 IDEMPIERE-5354 - Correct name of SysConfig keys (max 50 chars) (#2164)
- rename SysConfig
OAUTH2_USE_ID_TOKEN_PREFERRED_USERNAME_ON_MICROSOFT_PROVIDER
to
OAUTH2_USE_ID_TOKEN_PREF_USERNAME_ON_MS_PROVIDER
2023-12-29 16:52:20 +01:00
Carlos Ruiz 7ad6cfc68d IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#2168) 2023-12-29 16:52:20 +01:00
Carlos Ruiz ce5edc84fd IDEMPIERE-5969 Upgrade DB libraries (#2163)
* IDEMPIERE-5969 Upgrade DB libraries

- postgresql 42.6.0 -> 42.7.1 (Dec 06, 2023)
- hikaricp 5.0.1 -> 5.1.0 (Nov 04, 2023)

* - update utils_dev/oomph/idempiere.setup
2023-12-29 16:52:20 +01:00
Carlos Ruiz 756c62bb17 IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2162)
- fix for import/export of TestUU_Trl
- fix for server stuck in loop when recent item doesn't have Record_UU
06:16:19.829===========> UiEngineImpl.handleError:  [131]
java.lang.IllegalArgumentException: Invalid null or blank UU - Must pass valid UU
        at org.compiere.model.PO.loadByUU(PO.java:1486)
        at org.compiere.model.MTable.getPOByUU(MTable.java:684)
        at org.compiere.model.MRecentItem.getLabel(MRecentItem.java:360)
        at org.adempiere.webui.dashboard.DPRecentItems.refresh(DPRecentItems.java:275)
        at org.adempiere.webui.dashboard.DPRecentItems.updateUI(DPRecentItems.java:333)
2023-12-27 13:59:41 +01:00
Carlos Ruiz 0948ad0642
IDEMPIERE-5967 Release 11 Synergy - home image - thanks to Vanessa Castro (#2160) 2023-12-24 13:52:42 +01:00
Carlos Ruiz 9f406744df
IDEMPIERE-5967 Release 11 Synergy - home image - thanks to Vanessa Castro (#2159) 2023-12-24 10:51:28 +01:00
Diego Ruiz 45e42da7bb
IDEMPIERE-5967 Updated contributors list with 2023 info (#2157) 2023-12-23 12:51:31 +01:00
Tony Snook 4708b214cb
Remove Byte Order Mark characters from pom.xml (#2158)
* Remove Byte Order Mark characters from pom.xml

* Update pom.xml - remove initial BOM

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-12-23 12:49:03 +01:00
Carlos Ruiz 12d389a03a
IDEMPIERE-5967 Release 11 Synergy (#2156) 2023-12-22 16:03:04 +01:00