Commit Graph

15308 Commits

Author SHA1 Message Date
Carlos Ruiz 64e35fd5f9 IDEMPIERE-6060 NPE when creating a Print Format Item using AutomaticPackIn on startup (#2257) 2024-03-04 21:21:38 +01:00
Carlos Ruiz 69121c5794 IDEMPIERE-6061 Performance - MPrintFormatItem loading MPrintFormat on constructor (#2258) 2024-03-04 21:21:38 +01:00
Carlos Ruiz 7ff0f2f2b9 IDEMPIERE-6052 Print Format: Format Pattern is not Applied on Grouping/Summary SCRIPT rows (#2252) 2024-03-04 21:21:38 +01:00
hieplq 4f3c18730d IDEMPIERE-4677: get client id from MRole instead of from context (#2250)
Calling Env.getAD_Client_ID(getCtx()) within the loadOrgAccessUser function can cause issues if the context is not yet logged in. To avoid this, it's recommended to use getAD_Client_ID() directly instead.
2024-03-04 21:21:38 +01:00
Carlos Ruiz b46291d33a IDEMPIERE-6053 Problem with Convert_PostgreSQLTest running tests in parallel (#2253) 2024-03-04 21:21:38 +01:00
Diego Ruiz 291aadd26e IDEMPIERE-6047 - Fix report dialog showing the parameter cut in verti… (#2249)
* IDEMPIERE-6047 - Fix report dialog showing the parameter cut in vertically on Chrome

* IDEMPIERE-6047 - css change only for Chrome based browsers
2024-03-04 21:21:31 +01:00
Vitor Henrique Dos Santos f21bd50674 IDEMPIERE-6026 - Set Model Cascade (#2220) 2024-03-04 21:19:09 +01:00
Carlos Ruiz 0a779db755 IDEMPIERE-5790 Improve Report Refresh functionality (#2246) 2024-03-04 21:19:09 +01:00
Carlos Ruiz b9736de0eb IDEMPIERE-4819 Private Lock - Allow Unlock other users Private Records (#2202)
* IDEMPIERE-4819 Private Lock - Allow Unlock other users Private Records

* - move scripts to r11
2024-03-04 21:19:09 +01:00
Carlos Ruiz fa09eb5187 IDEMPIERE-6013 Implement a way to filter dinamically records on MRole.addAccessSQL (#2209)
* IDEMPIERE-6013 Implement a way to filter dinamically records on MRole.addAccessSQL

* - do not create sequence

* - move scripts to r11
2024-03-04 21:19:09 +01:00
Jose Leite 34492d1cbf IDEMPIERE-5990 Create translation for BPartnerOrgLink process errors (#2181) 2024-03-04 21:17:31 +01:00
Vitor Villa 803081f3ef IDEMPIERE-6041 - Workflow activities on smartphones (#2241) 2024-03-04 21:17:31 +01:00
Nicolas Micoud 7f951ccd70 IDEMPIERE-5795: DeveloperMode context variable - System Property (#2243)
* IDEMPIERE-5795: DeveloperMode context variable - System Property

https://idempiere.atlassian.net/browse/IDEMPIERE-5795

* IDEMPIERE-5795: DeveloperMode context variable - System Property - simplify

Suggested by @hengsin

Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2024-03-04 21:17:31 +01:00
Carlos Ruiz 6da2abfd77 IDEMPIERE-6042 Improvements to Payment window (#2242)
- set IsReceipt field based on DocType
- avoid throwing error to the user on callout if the currency rate or converted amt are defined with default null
2024-03-04 21:17:31 +01:00
Carlos Ruiz 16074d80ee IDEMPIERE-6039 MBPartnerLocation returning Location wrongly from cache when asked to requery (#2240) 2024-03-04 21:17:31 +01:00
Carlos Ruiz c23a3d8e5e IDEMPIERE-6038 BP/Product Icon not used in Order Info Window (#2239) 2024-03-04 21:17:31 +01:00
hengsin 53d8c5b460 IDEMPIERE-6037 Upgrade pdf.js viewer to version 4.0.379 (#2238) 2024-03-04 21:17:31 +01:00
Carlos Ruiz 26bdfc276f IDEMPIERE-6036 Apply same approach to MLotCtl (#2237) 2024-03-04 21:17:30 +01:00
hengsin 6302f6f5fd IDEMPIERE-6029 Extract @SQL= and @SQLFIND= to constant (#2230) 2024-03-04 21:17:30 +01:00
hengsin 7224009efc IDEMPIERE-6032 MPInstanceLog ResultSet constructor not getting all value from result set (#2233) 2024-03-04 21:17:30 +01:00
hengsin c2111b9ccd IDEMPIERE-6036 Serial number control has potential to generate duplicate serial number under heavy load (#2236) 2024-03-04 21:17:30 +01:00
hengsin 9eb83bfe31 IDEMPIERE-6034 MTaxCategory.getDefaultTax unnecessary create new MTax instance (#2234) 2024-03-04 21:17:30 +01:00
hengsin 91d757cf81 IDEMPIERE-6030 Potential infinite loop in MLocation.equals (Object) method (#2231) 2024-03-04 21:17:30 +01:00
hengsin 284b6f97f6 IDEMPIERE-6031 Redundant code in MSetup.createClient method (#2232) 2024-03-04 21:17:30 +01:00
hengsin 61e3e48c9a IDEMPIERE-6035 Use saveCrossTenantSafe instead of PO.setCrossTenantSafe (#2235) 2024-03-04 21:17:03 +01:00
Carlos Ruiz 3ac70045f1 IDEMPIERE-5888 Login Preferences are created on System tenant - fix NPE (#2229) 2024-03-04 21:13:19 +01:00
Carlos Ruiz 2727437688 IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix oracle migration script (#2228)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix oracle migration script

* - same fix for t_selection_infowindow
2024-03-04 21:13:19 +01:00
hieplq 815e363882 IDEMPIERE-6016:test case to simulate transaction timeouts and ensure no open connections remain afterwards (#2219)
* IDEMPIERE-6016:allow transaction monitor's scan timeout to a short duration

* IDEMPIERE-6016:test case to simulate transaction timeouts and ensure no open connections remain afterwards

* IDEMPIERE-6016:trx timeout make leak connection by call Connection.about but not call Connection.close(Hengsin review)

replace abort with rollback
use shorter duration for timeout test 2
add Isolatead and same thread execution class annotation

* IDEMPIERE-6016:trx timeout make leak connection by call Connection.about but not call Connection.close(Hengsin review)

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2024-03-04 21:13:19 +01:00
hieplq b9fbd91571 IDEMPIERE-6016:trx timeout make leak connection by call Connection.about but not call Connection.close (#2210) 2024-03-04 21:13:19 +01:00
Carlos Ruiz 4ce00dfaa4 IDEMPIERE-4579 IDEMPIERE-5943 IDEMPIERE-6027 - unify scripts to have just the last one (#2227) 2024-02-06 10:11:10 +01:00
hengsin 7ae6d0c016 IDEMPIERE-5943 Implement table partitioning support (#2226)
* IDEMPIERE-5943 Implement table partitioning support
- Fix altercolumn not working with partitioned table.
2024-02-06 10:11:10 +01:00
hengsin cdcf5d47f3 IDEMPIERE-6005 Unit Test: Display the test method to be executed in t… (#2217)
* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console

* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console

- Fix wrong configuration that run unit test twice
- added assembleRepository flag

* IDEMPIERE-6005 Unit Test: Display the test method to be executed in the console

- print classname.methodname() instead of just methodname()
2024-02-06 10:11:10 +01:00
Carlos Ruiz 087b936e2b IDEMPIERE-3117 Wrong period validation on Bank Statement (#2225)
* IDEMPIERE-3117 Wrong period validation on Bank Statement - change statementDate to dateAcct on testPeriod

* - peer review

---------

Co-authored-by: zuhriutama <zuhriutama@gmail.com>
2024-02-06 10:11:10 +01:00
hengsin 8879c3fc10 IDEMPIERE-4579 Function altercolumn fails when a role name has a dash (#2224)
* IDEMPIERE-4579 Function altercolumn fails when a role name has a dash

* Update altercolumn.sql

* Update 202402031000_IDEMPIERE-4579.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2024-02-06 10:11:10 +01:00
Carlos Ruiz 89579f44e5 IDEMPIERE-6027 - move script to release-10 (#2223) 2024-02-06 10:11:10 +01:00
hengsin 6c744c88da IDEMPIERE-6027 Alter column fail with PostgreSQL 16.1 (#2222) 2024-02-06 10:11:10 +01:00
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