Commit Graph

3689 Commits

Author SHA1 Message Date
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
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 b0fb3c2b44 IDEMPIERE-5567 fix PO.get_Translation for Zero ID tables (#2170) 2023-12-30 12:43:37 +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 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
Carlos Ruiz 7e5a1d89ee
Revert "IDEMPIERE-5826 iDempiere REST can insert/update an invalid foreign key (#1969)" (#2014)
This reverts commit db833e3665.
2023-09-19 22:21:08 +08:00
Nicolas Micoud 4c4981533e
IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule (#2012)
* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

serial update

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

 if getPaymentRulePO() is null, we fall back to getPaymentRule()
2023-09-19 21:04:18 +08:00
Zuhri Utama 1efe7a4ac5
IDEMPIERE-4697 : temporary filename "adempiere_" (#2000)
* IDEMPIERE-4697 : get temp filename based on config "TEMP_FILENAME" if exists

* IDEMPIERE-4697 : temporary filename "adempiere_"

* IDEMPIERE-4697 : set default value and change from adempiere to idempiere
2023-09-18 14:44:21 +02:00
Carlos Ruiz d665c2b051
IDEMPIERE-5854 Error when trying to call ServerReportCtl.runJasperProcess with a process info without a transaction name (#2009) 2023-09-15 14:21:34 +02:00
Carlos Ruiz 209663d32a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2008)
- MappedModelFactory check and register UUID constructor
2023-09-14 20:18:46 +08:00
Vitor Henrique Dos Santos d7d4504271
IDEMPIERE-5852 Change broadcastmessage column size (#2002)
* IDEMPIERE-5852 Change broadcastmessage column size

* IDEMPIERE-5852 Patch applied
2023-09-14 14:13:24 +02:00
hengsin 39d159d44a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2005)
- Fix unit test errors
2023-09-13 12:48:54 +08:00
Carlos Ruiz 7c8fe24435
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003)
- Implement support to run processes on UUID based tables
- Added SvrProcess.getRecord_UU and getRecord_UUs support
- Added TestUUChangeActive process as toolbar button on "Test UU Based Table" window - supports single and multi
- Added AD_PInstance.AD_Table_ID and AD_PInstance.Record_UU
- NOTE: the migration script tries the best to fill AD_PInstance.AD_Table_ID from different sources, but at the end is very possible that some records will be left with empty table
- The MPInstance constructors that don't manage AD_Table_ID were marked as deprecated to ease discovering the missing parts in plugins
2023-09-13 10:59:21 +08:00
Carlos Ruiz c0a1756043
IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1994)
* IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)

IDEMPIERE-5174 / Revert changes from IDEMPIERE-4386

* - remove the same now unnecessary method on MMFARegistration
2023-09-06 09:44:09 +08:00
Nicolas Micoud 51c3bf5e0c
IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms (#1970)
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms

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

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : scripts on iD11

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms - remove changes related to Info Window

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : remove changes related to Info Window

* Update oracle/202308101331_IDEMPIERE-5827.sql

* Update postgresql/202308101331_IDEMPIERE-5827.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-05 15:43:01 +02:00
Nicolas Micoud f0bdcbb913
IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWin… (#1993)
* IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWindow_ID

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

* Update oracle/202309041344_IDEMPIERE-5844.sql

* Update postgresql/202309041344_IDEMPIERE-5844.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-05 13:15:01 +02:00
hengsin db4f715537
IDEMPIERE-5841 AD_Note created by Request causing Cross Tenant (#1991) 2023-09-05 16:02:28 +08:00
Nicolas Micoud 562283fe48
IDEMPIERE-5760: Manage mail.smtp.timeout using SysConfig (#1982)
https://idempiere.atlassian.net/browse/IDEMPIERE-5760

https://github.com/idempiere/idempiere/pull/1883 + changes requested by Carlos (migration script)
2023-09-02 16:38:13 +02:00
Carlos Ruiz eee6f449c3
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1985)
- Fix issue caused by last changes - the *SelectionGrid fields are not working because they don't have a formal Reference
2023-09-01 10:41:41 +08:00
Carlos Ruiz fd986b4130
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - MigraID (#1986)
Fixes for the MigraID process:
- Add management for AD_Tree_Favorite_Node
- Add management for multi-IDs fields (comma separated IDs or UUIDs)
- Add management for AD_Package_UUID_Map
- Fix issues with UUID based tables
2023-09-01 10:40:25 +08:00
Carlos Ruiz 954b3b2fec
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1976)
- Fix 2Pack to work with UUID based tables
- Implement ability for PackOut/PackIn multi ID columns
2023-08-26 09:49:39 +08:00
Carlos Ruiz c1d8a50b12
IDEMPIERE-5837 Collect all System Properties of iDempiere in one class (#1980) 2023-08-26 09:39:53 +08:00
Deepak Pansheriya e902ce13bc
IDEMPIERE-5768 : committing osgi service definition XML file for default credit manager factory. (#1975) 2023-08-23 19:37:48 +08:00
Deepak Pansheriya 18f925fd2f
IDEMPIERE-5768 : Adding Credit manager factory to override or extend … (#1949)
* IDEMPIERE-5768 : Adding Credit manager factory to override or extend credit management

* IDEMPIERE-5768 : Fixing as as per code review comments from Hengsin

* IDEMPIERE-5768: Use component annotation instead of xml service definition

* IDEMPIERE-5768: Adding Unit tests and Making return type of CheckCreditStatus to be object instead of String.

* IDEMPIERE-5768: Fixing as per code review comment.

* IDEMPIERE-5768: Removed explicit rollback from test cases
2023-08-23 09:39:24 +08:00
Carlos Ruiz 5aba739d37
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1963)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- fix issues with archive reporting on UU based tables

* - implement change log in time line mode for UUID based tables

* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

* Fixes and improvements for MoveClient
  * Fix for oracle not being able to insert AD_WF_Node (CLOB column)
  * Add management for UUID based tables
  * Add management for weak foreign key Fact_Acct.Line_ID
  * Add management for weak foreign key AD_Tree_Favorite_Node.Parent_ID
  * Add management for Record_UU columns
  * Add management for ChosenMultipleSelectionTable and ChosenMultipleSelectionSearch
  * Improve javadoc

* - Test and add support for SelectionGrid

* - fix error inserting a wrong UUID when it was set before by a Record_UU

* - Fix problem validating orphans in UUID based tables
2023-08-22 20:08:33 +08:00
Carlos Ruiz db833e3665
IDEMPIERE-5826 iDempiere REST can insert/update an invalid foreign key (#1969) 2023-08-15 16:51:44 +08:00
hengsin 66b7b20619
IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window (#1962)
* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- Fix process info log & error not shown
- Fix re-run missing context variable from menu

* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- turn off auto close after zoom
2023-08-09 16:00:00 +02:00
Diego Ruiz f1a0f7aac1
IDEMPIERE-5823 - Improve MUserMail constructors to behave equally in every case (#1967) 2023-08-09 12:56:10 +08:00
hengsin e46d57e1ea
IDEMPIERE-5812 Reversal of Material Receipt for a Closed PO leave quantity ordered of product in a bad state (#1964) 2023-08-08 14:02:28 +02:00
hengsin 03c6187fde
IDEMPIERE-5813 Change Role must close session like Logout does (#1959)
* IDEMPIERE-5813 Change Role must close session like Logout does

* IDEMPIERE-5813 Change Role must close session like Logout does
2023-08-01 19:14:26 +02:00
Carlos Ruiz 159fbbd04c
IDEMPIERE-5732 Cache reset should happens after commit of transaction (#1850)
* IDEMPIERE-5732 Cache reset should happens after commit of transaction

* IDEMPIERE-5732 Cache reset should happens after commit of transaction

* - minor defensive programming

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-08-01 19:53:11 +08:00
Carlos Ruiz 6e0645f90c
IDEMPIERE-5818 AD_Session cache is not working (#1960) 2023-08-01 10:46:28 +08:00
hengsin 890862de47
IDEMPIERE-4416 invalidating a purchase order doesn't remove connectio… (#1942)
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, make MiniTableImpl usable outside of test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, move business and sql logic from Match to model class.
- add more unit test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- set M_InOut.C_Order_ID to null

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- update unit test for setting of M_InOut.C_Order_ID to null.
2023-07-31 15:20:26 +02:00
Jasper Siepkes f689b0f630
IDEMPIERE-5807 Add ability to specify attribute set when importing products (#1950) 2023-07-29 10:13:07 +08:00
Carlos Ruiz 9206dda962
IDEMPIERE-5785 Review of tables/columns that should/should not be logged (#1943)
* IDEMPIERE-5785 Review of tables/columns that should/should not be logged

* - suggest to delete also logs from AD_Wlistbox_Customization
2023-07-17 09:43:16 +08:00
Peter Takács ca98a81671
IDEMPIERE-5772 - Quick Info Widget Support for Info Window (#1899)
* IDEMPIERE-5772 - Quick Info Widget Support for Info Window - initial commit

* IDEMPIERE-5772 - manage context variables in info window

Put the following values into the context:
- query criteria
- values of the selected row

* IDEMPIERE-5772 - fixes

- info window should not change context if isLookup() = true (popup window mode)
- parameter values should be put into context only on re-query
- values of KeyNamePair type should use the "key" in context (practically tat means the ID) instead of name (display value)

* IDEMPIERE-5772 - add prefix to row variables and Selected_ID to ctx

* IDEMPIERE-5772 - rename variable name Selected_ID -> ID_Selection

* IDEMPIERE-5772 - patch by Carlos

* IDEMPIERE-5772 - fixed reported issues

- support ctx variables in info windows without process (no multiselection)
- change ctx variable syntax/prefix
- fix issue with type IDColumn
2023-07-16 17:33:58 +02:00
hengsin 407b756cb8
IDEMPIERE-5800 Info Window Context Variables are not Cleared after Closing (#1937) 2023-07-16 16:02:44 +02:00
hengsin 8786d8a51f
IDEMPIERE-5525 GetWarehouse method ordering storage records by M_Locator_ID (#1941) 2023-07-16 15:12:59 +02:00
Peter Takács 750e38d3b2
IDEMPIERE-5799 - Storage Reservation Log does not set Organization Correctly (#1935)
* IDEMPIERE-5799 - Storage Reservation Los des not set Warehouse Correctly

* IDEMPIERE-5799 - requested changes by Heng Sin
2023-07-15 10:48:31 +08:00
Nicolas Micoud 3b055d30e0
IDEMPIERE-5796: Generate Model Template (#1931)
* IDEMPIERE-5796: Generate Model Template

Initial commit (migration scripts / model classes / process)

* IDEMPIERE-5796: Generate Model Template

update parameters value from template

* IDEMPIERE-5796: scripts in v10

Scripts must be set in v10

* IDEMPIERE-5796: Generate Model Template - fix scripts

* IDEMPIERE-5796: Generate Model Template - various fixes

Improve help, fix warning and change TableName parameter name

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

* IDEMPIERE-5796: Generate Model Template - remove System.out

* IDEMPIERE-5796: Generate Model Template : EntityType parameters as multitable

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

* IDEMPIERE-5796: Generate Model Template : parameters to generate interfaces and/or classes

and enhancement of help

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

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-07-13 15:59:41 +02:00
Elaine Tan eed078308c
IDEMPIERE-5757 immediate post: Payment REVERSE/CORRECT allocation document NOT posted (#1922)
* IDEMPIERE-5757 immediate post: Payment REVERSE/CORRECT allocation document NOT posted
2023-07-10 21:38:31 +08:00
Nicolas Micoud b28735509d
IDEMPIERE-5794: New param for getBusinessDaysBetween to include/exlud… (#1928)
* IDEMPIERE-5794: New param for getBusinessDaysBetween to include/exlude end date

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

* IDEMPIERE-5794: New param for getBusinessDaysBetween to include/exlude end date - Unit tests

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

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2023-07-10 14:41:39 +08:00
Carlos Ruiz b7c089fc1d
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Implement support for Requests on UUID Based Tables (#1910)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Implement support for Requests on UUID Based Tables

* - minor typo

* - improve javadoc
2023-07-08 12:09:56 +08:00
Elaine Tan fce4d5cf9c
IDEMPIERE-5591 Payment allocation AP/AR GL postings not zero in alternative schema for invoice REVERSE/CORRECT (#1921) 2023-07-08 11:37:17 +08:00
Carlos Ruiz 34a33ba06f
IDEMPIERE-1437 Do not allow changing Table in Tab when there are Fields (#1927) 2023-07-08 11:17:37 +08:00
Nicolas Micoud 71a49baf00
IDEMPIERE-5795: DeveloperMode context variable (#1929)
https: //idempiere.atlassian.net/browse/IDEMPIERE-5795

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-07-08 10:42:57 +08:00
Zuhri Utama 00c4fec2f4
JIRA TICKET : https://idempiere.atlassian.net/browse/IDEMPIERE-1502 (#1926) 2023-07-06 12:15:39 +08:00