Commit Graph

3631 Commits

Author SHA1 Message Date
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 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 48a3e73798
IDEMPIERE-5967 Release 11 Synergy (#2155)
* IDEMPIERE-5967 Release 11 Synergy

* - Script to set version

* - generate model
2023-12-22 15:33:57 +01:00
Carlos Ruiz 4f52a4efcf
IDEMPIERE-5849 MRole.getDefault make phantom role on cache (#2149)
- Make SysConfigurable to return System role for backward compatibility
2023-12-21 14:26:20 +01:00
Carlos Ruiz 03ceb5f88f
IDEMPIERE-5965 Translation Import crashed with a wrong XML (#2152) 2023-12-21 20:39:20 +08:00
hengsin 7878721bf3
IDEMPIERE-5943 Implement table partitioning support (#2145)
* IDEMPIERE-5943 Implement table partitioning support

Co-authored-by: etantg <etan@trekglobal.com>
2023-12-20 14:10:04 +08:00
Alan Lescano 7aa48d1856
IDEMPIERE-5958: Jasper Report: ResourceBundle should use element's PrintName instead of Name (#2148) 2023-12-19 10:11:15 +08:00
Carlos Ruiz 062741070d
IDEMPIERE-5932 Update English top-level menu names and window names to better support new user adoption (#2133)
* IDEMPIERE-5932 Update English top-level menu names and window names to better support new user adoption

* - fix minor typo

* - implement suggestions from Heng Sin
- fix favourites showing the name as tooltip instead of the description

---------

Co-authored-by: Chuck Boecking <chuck@chuboe.com>
2023-12-14 16:26:11 +08:00
Carlos Ruiz ffdde952fb
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Fixes #TestDay2023 (#2134)
- CleanOrphanCascade is failing when there are orphan change log records for M_InOutLineMA or other non-ID tables
- MoveClient is failing when there are AD_PInstance orphan records (because of the recently added AD_Table_ID reference)
2023-12-12 15:39:19 +08:00
Carlos Ruiz 8dfb29c91d
IDEMPIERE-5076 Move/Copy client doesn't work in oracle (#2135) 2023-12-12 15:38:13 +08:00
Carlos Ruiz 620a528a98
IDEMPIERE-5955 Financial Report using jasper is throwing exception about closed connection (#2137) 2023-12-12 15:31:58 +08:00
hengsin 7329975eec
IDEMPIERE-5838 Base: Improve readability of code (#2129)
* IDEMPIERE-5838 Base: Improve readability of code

* IDEMPIERE-5838 Base: Improve readability of code
2023-12-08 13:02:49 +01:00
Vitor Villa 342a243c1a
IDEMPIERE-5944 - Default value of Yes/No columns (#2121)
* IDEMPIERE-5944 - Default value of Yes/No columns
2023-12-07 20:40:28 +08:00
Carlos Ruiz d6121597b0
IDEMPIERE-5782 Generated Shipments/MR and Invoices with Invalid SalesRep (#2127)
* IDEMPIERE-5782 Generated Shipments/MR and Invoices with Invalid Sales Rep

- Fix same issue with RMA

* - add the callout validations also on beforeSave
2023-12-05 22:01:12 +08:00
Carlos Ruiz 1749154acb
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2125)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix PO.get_Translation failing for UUID tables

* - fix verification of zero ID
2023-12-04 10:34:59 +08:00
Elaine Tan cacb456c2e
IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess (#2123)
* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess

* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess
2023-11-30 11:22:35 +08:00
Jose Leite b8f1d6d2fb
IDEMPIERE-4877 - Fix Footer is overlay on content (#2053)
* IDEMPIERE-4877 - Fix Footer is overlay on content

* IDEMPIERE-4877 - Fix Footer is overlay on content Part 2
2023-11-28 21:28:43 +08:00
Carlos Ruiz de1a0d9d3b
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2122)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- fix issue creating a new record by calling table.getPO(0, trxName)
  when the table is UUID then create the new record calling the corresponding UUID method

* - remove unnecessary condition
2023-11-28 17:57:59 +08:00
Carlos Ruiz 36d81c258e
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Translation (#2119)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Manage translation for UUID based tables
- Enable 2Pack Import UUID based tables with translation
- Create ad_package_imp_detail.Record_UU
- Create test table TestUU_Trl

* - Fix Synchronize Doc Translation
2023-11-27 16:02:51 +08:00
Carlos Ruiz e9e2239d0c
IDEMPIERE-5940 Move/Copy Client failing when there are tables without AD_Client_ID (#2117) 2023-11-27 16:01:43 +08:00
Carlos Ruiz d4f5aabe64
IDEMPIERE-5835 [Process Info] - Disallow Multiple Executions by different users (#2118)
- assign the default programatically to cover old 2Packs having this value as NULL
2023-11-27 16:00:58 +08:00
hengsin 52a92ba767
IDEMPIERE-5908 Report parameters are not displayed in full in PDF (#2111) 2023-11-17 12:41:57 +01:00
hengsin a8844694bc
IDEMPIERE-5920 Scrollbar in reports (#2109)
* IDEMPIERE-5920 Scrollbar in reports

* IDEMPIERE-5920 Scrollbar in reports

- implement alternative solution using details element
2023-11-17 12:31:22 +01:00
Carlos Ruiz 104070993d Revert "IDEMPIERE-5908 Report parameters are not displayed in full in PDF. (#2099)"
This reverts commit 7e53d829e2.
2023-11-15 15:23:16 +01:00
Carlos Ruiz 9794357e84
IDEMPIERE-5261 Workflow EMail notification enhancement (#2104)
- Add @_noDocInfo_@ also in body
2023-11-10 21:39:48 +01:00
Carlos Ruiz 301ee9348b
IDEMPIERE-5927 EMail Workflow fails when sending email using a System mail account (#2103) 2023-11-10 21:19:23 +01:00
Carlos Ruiz aecc0e3e0a
IDEMPIERE-5261 Workflow EMail notification enhancement (#2102)
- add @_noDocInfo_@ variable to allow sending the email without adding extra information
2023-11-10 20:17:01 +01:00
Zuhri Utama 75cabfbd39
IDEMPIERE-5913 : Delete Trace Logs Periodically (#2090)
* IDEMPIERE-5913 : Delete Trace Logs Periodically

* IDEMPIERE-5913 : Delete Trace Logs Periodically #2

* IDEMPIERE-5913 : Delete Trace Logs Periodically #3

- remove unused constant

* IDEMPIERE-5913 : Delete Trace Logs Periodically #4

* Update oracle/202311051436_IDEMPIERE-5913.sql

* Update postgresql/202311051436_IDEMPIERE-5913.sql

* Update oracle/202311051436_IDEMPIERE-5913.sql

- add menu

* Delete migration/iD11/oracle/202311071130_IDEMPIERE-5913.sql

* Update postgresql/202311051436_IDEMPIERE-5913.sql

- add menu

* Delete migration/iD11/postgresql/202311071130_IDEMPIERE-5913.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-11-10 15:39:09 +01:00
hengsin 7e53d829e2
IDEMPIERE-5908 Report parameters are not displayed in full in PDF. (#2099) 2023-11-09 20:35:15 +08:00
matheus-marcelinux 23b738df5b
IDEMPIERE-5835 - disallow multiple executions by any user (#1977)
* IDEMPIERE-5835 - disallow multiple executions by any user

* IDEMPIERE-5835 - renaming flags

* IDEMPIERE-5835 - applying terminology patch
2023-11-04 05:53:05 +08:00
hengsin f0f5823691
IDEMPIERE-5904 NPE for Search Fields within Reference Keys (#2086)
- Fix NPE
2023-11-04 05:49:35 +08:00
matheus-marcelinux e3cab6c238
IDEMPIERE-5874 - adding AD_Client_ID to MDistribution cache key (#2040)
* IDEMPIERE-5874 - adding AD_Client_ID to MDistribution cache key

* IDEMPIERE-5874 - applying deprecation patch
2023-11-03 20:40:56 +01:00
Jose Leite 286ec63012
IDEMPIERE-5900 [AutoProcuce] - Execute only when it is not a return (#2080) 2023-10-31 20:00:59 +08:00
Jose Leite e99c5cc4ca
IDEMPIERE-5899 Fix message error AutoProcude (#2081) 2023-10-31 19:59:24 +08:00
Carlos Ruiz 9ac87d3c9a
IDEMPIERE-5893 Completed invoices are being updated in MOrder.afterSave (#2075)
* IDEMPIERE-5893 Completed invoices are being updated in MOrder.afterSave

* - refactor
- test for date and ID

* - implement SysConfig ORDER_COLUMNS_TO_COPY_TO_NOT_COMPLETED_INVOICES as suggested by Heng Sin
2023-10-27 20:21:02 +08:00
Peter Takács 3bee3c94ac
IDEMPIERE-5886 - Add Foreign Key Constraint Error Message to AD_Column (#2069)
* IDEMPIERE-5886 - Add Foreign Key Constraint Error Message to AD_Column

* IDEMPIERE-5886 - small fixes

* IDEMPIERE-5886 - pr2069PR patch

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-10-25 10:11:40 +02:00
Elaine Tan a061eeedb4
IDEMPIERE-5878 Wrong GL posting in allocation for payment REVERSE/ACCRUAL, if payment WITH charge (#2074) 2023-10-25 16:01:29 +08:00
Carlos Ruiz e43b000894
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2068)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- The process Create Window from Table is broken because it doesn't find the tab UUID (out of trx)

* - simplify code

* - remove warning

* - change for a better approach using transaction

* - implement better approach suggested by Heng Sin
2023-10-22 21:24:00 +08:00
Carlos Ruiz ef9ecb3490
IDEMPIERE-4639 simplify calls using saveCrossTenantSafeEx when possible (#2073)
* IDEMPIERE-4639 simplify calls using saveCrossTenantSafeEx when possible

* - integrate patch from Heng Sin
2023-10-22 21:23:23 +08:00
hengsin b01dbc2f11
IDEMPIERE-5876 Implement support to disable core OSGi event handler (#2045)
* IDEMPIERE-5876 Implement support to disable core OSGi event handler

* IDEMPIERE-5876 Implement support to disable core OSGi event handler

- Fix parsing of className[*] (reported by nmicoud)
2023-10-11 23:02:50 +08:00
Jose Leite 23f464557b
IDEMPIERE-5872 - Improve on SQL Errors displayed for user (#2033)
* IDEMPIERE-5872 - Improve on SQL Errors displayed for user

* IDEMPIERE-5872 - Improve on SQL Errors displayed for user
2023-10-11 18:37:31 +08:00
Zuhri Utama e61eab3901
IDEMPIERE-2706 : auto validate invoice payment schedule when create new record (#2034) 2023-10-02 10:02:46 +08:00
hieplq e27b588754
IDEMPIERE-5867:autocomplete show different list for table and table dir (#2028)
* IDEMPIERE-5867:autocomplete show difference list for table and table dir

* IDEMPIERE-5867:fix for IDEMPIERE-5866

test case:
    go to "Reference" window and choose for record "M_Product BOM (stocked)"
    go to "Table Validation" tab and choose "Display Value" = true
2023-10-01 22:04:50 +08:00
Carlos Ruiz c994581aef
IDEMPIERE-5229 After migrate helper (FHCA-4070) (#2031)
- Improve validation of views
2023-09-30 11:44:25 +08:00
Zuhri Utama 34485f97f8
IDEMPIERE-5862 : Move Always Updatable Payment Rule to Dictionary (#2023)
* IDEMPIERE-5862 : Move Always Updatable Payment Rule to Dictionary

* Update oracle/202309261054_IDEMPIERE-5862.sql

* Update postgresql/202309261054_IDEMPIERE-5862.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-26 13:49:25 +02:00
hieplq d28c6eb9d8
IDEMPIERE-5849:MRole.getDefault make phantom role on cache (#2020)
patch from Heng Sin

Co-authored-by: hengsin <hengsin@gmail.com>
2023-09-22 14:17:34 +08:00
hengsin 6840b8aeb6
IDEMPIERE-5346 : Adding SSO support (#2018)
- peer review
2023-09-21 16:48:30 +08:00
Deepak Pansheriya 680f9f3757
IDEMPIERE-5346 : Adding SSO support (#1571)
* IDEMPIERE-5346 : Adding SSO support

* IDEMPIERE-5346 : Fix as per peer review feedback.
Valid user should have password not null
removing #SSO_IS_ALREADY_AUTHENTICATE context variable due to security risk
Cross site scripting issue on error.htm
Making show role panel as system configurable
Adding language selection on role panel
Adding SSO support on iDempiere monitor and osgi console

* IDEMPIERE-5346: Redirect to console using static URL to avoid security vulenarabilit

* Committing patch from Carlos pr1571PR

* IDEMPIERE-5565: fixing NPE issue on Role change

* IDEMPIERE-5346: Appling pr1571PR2 from Carlos

* 1. IDEMPIERE-5346: Fix idempiereMonitor goes in a loop of sign-in
- Fix NPE when changing role
- Fix NPE when a user with single role & sysconfig: SSO_SELECT_ROLE is 'N'

* IDEMPIERE-5346 : IDempiere Monitor, use out of box login when SSO is not configured.

* IDEMPIERE-5346: Adding Authorization type on User and Tenant window. Created /webui/admin page for login with application credential.

* IDEMPIERE-5346: Implementing Hengsi's Code review comments
Showing meaning full error when Identity Provider returns error
In SSO filter, ignoreing css, zkau, images and resource URL
Correcting typo in Principal name.
Updated Documentation

* IDEMPIERE-5346 : Fixed documentation, typo and pending review comments

* IDEMPIERE-5346: Use token & SSO principal service to validate in Login.GetClient

* IDEMPIERE-5346: Remove the Domain URL column and refactor the code.

* IDEMPIERE-5346: Adding flag ENABLE_SSO_IDEMPIERE_MONITOR and ENABLE_SSO_OSGI_CONSOLE, using cache for SSOService, defaulting Authentication type on client to “Application and SSO”

* IDEMPIERE-5346: Fixed issue of User SSO type not respected and support for Zoom URL
2023-09-21 16:43:49 +08:00
Carlos Ruiz 7c486df524
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2013)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix for MAttachment.get
- discovered while testing rest endpoing api/v1/models/testuu/{uuid}/attachments/zip

* - remove the deprecated message
- use UU just when there is no ID
2023-09-19 22:24:09 +08:00