Commit Graph

15349 Commits

Author SHA1 Message Date
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
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