Commit Graph

79 Commits

Author SHA1 Message Date
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
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 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 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
Carlos Ruiz 63823f3a40 IDEMPIERE-5988 Wrong DisplayLogic in Discount, Write-off, Over/Under Payment fields (#2180) 2024-01-23 15:43:47 +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
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 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 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 9ec4715fe1
IDEMPIERE-5346 SSO Support - dictionary fixes (#2154)
- fix UUID field displayed in grid
- fix UUID column without index
- fix CreatedBy/UpdatedBy must be Search instead of Table (for better performance)
2023-12-22 14:27:05 +01: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
Peter Takács 3b8a15ee84
IDEMPIERE-5905 - Unique Constraint should ensure unique Import Loader Format Field to avoid invalid SQL (#2087) 2023-12-19 10:48:46 +08:00
Carlos Ruiz 8bbdceae0a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2142)
- fix for scripts to avoid errors when the table doesn't have the ID column, for example updating AD_Ref_Table throws error because there is no AD_Ref_Table_ID
2023-12-15 06:27:44 +08:00
Carlos Ruiz b52fbbd3f2
IDEMPIERE-5697 Improve Process Log for more advanced logging options for Processes (#2141)
- revert making AD_PInstance_Log.AD_PInstance_Log_UU primary key, left just as unique constraint
IDEMPIERE-5957
2023-12-15 06:26:19 +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 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
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
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
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
Carlos Ruiz 860e35cb08
IDEMPIERE-5884 Query on RV_OpenItem too slow (#2061)
* IDEMPIERE-5884 Query on RV_OpenItem too slow

* IDEMPIERE-5884 Query on RV_OpenItem too slow
2023-10-18 22:34:06 +08:00
Zuhri Utama e5b40b553a
IDEMPIERE-4648 : new tab Tax Rate in the Tax Category window. (#2065) 2023-10-18 15:48:33 +08:00
Zuhri Utama 6d58f9c96f
IDEMPIERE-5207 : Missing tabs on System Translation Check window (#2035)
* IDEMPIERE-5207 : Add Info Window Translation and Info Column Translation tabs on System Translation Check window

* IDEMPIERE-5207 : Missing tabs on System Translation Check window #2
2023-10-15 13:06:07 +08:00
hengsin 3ffdd2be0c
IDEMPIERE-5346 SSO Support (#2038)
* IDEMPIERE-5346 SSO Support

- add OIDC support to core
2023-10-03 20:26:03 +02: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
Zuhri Utama 3992f46b04
IDEMPIERE-4526 : Selection list for UOM on Client window do not relate to the type of UOM expected (#2016)
* IDEMPIERE-4526 : Selection list for UOM on Client window do not relate to the type of UOM expected

* Update oracle/202309200811_IDEMPIERE-4526.sql

* Update postgresql/202309200811_IDEMPIERE-4526.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-21 13:28:32 +02: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
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
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 c941938869
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003) (#2004)
- Fix migration script error
2023-09-13 11:10:42 +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 9678c01664
IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record (#1988)
- Set Model Cascade for Record_ID column in AD_WF_Activity, AD_WF_EventAudit and AD_WF_Process
2023-09-12 17:59:02 +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
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
Jasper Siepkes f689b0f630
IDEMPIERE-5807 Add ability to specify attribute set when importing products (#1950) 2023-07-29 10:13:07 +08:00
shivaram493 348afe5539
IDEMPIERE-5767 Tooltip on Activities panel (#1898)
* IDEMPIERE-5767 Tooltip on Activities panel

* IDEMPIERE-5767 Tooltip with Trl support on Activities panel

* Update oracle/202307172216_IDEMPIERE-5767.sql
* Update postgresql/202307172216_IDEMPIERE-5767.sql
* Update WDocumentStatusIndicator.java

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-07-18 19:46:52 +02:00
Carlos Ruiz e60cd69058
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - enable change log in some UUID based tables (#1944) 2023-07-17 09:44:04 +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
Carlos Ruiz a526c7423e
IDEMPIERE-5796 Generate Model Template (#1938)
Move the script to release-11 to solve jenkins broken
2023-07-15 13:10:35 +02: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
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
Zuhri Utama 9f55c76573
IDEMPIERE-5062 validation when run process and input min max value on process parameter (#1908)
* - added validation for min and max value when run process
- added validation when insert min and max value format

* - remove unused class
- change reference id to displayType
- translate error massage

* refactoring code by carlosRuiz-globalqss
2023-07-03 17:14:16 +02:00
Peter Takács f79dd5f22f
IDEMPIERE-5786 - Refactor ESC/Alt+X Shortcut for Closing Tabs (#1917)
* IDEMPIERE-5786 - ESC Shortcut for Closing Tabs

- remove duplicate registering of on_cancel event on InfoPanel
- register on_cancel event on WindowContainer

* IDEMPIERE-5786 - partially revert ESC Shortcut for Closing Tabs

* IDEMPIERE-5786 - improve closing tabs with shortcut

- info windows
- forms
- workflows
- find window

* IDEMPIERE-5786 - SysConfig to Use Esc For Tab Closing

* IDEMPIERE-5786 - fix MSysConfig order

* IDEMPIERE-5786 - requested changes by Carlos

- implement shortcut on missing forms
- allow Alt+X shortcut also when ESC is allowed with the SysConfig

* IDEMPIERE-5786 - PR1917pr patch by Carlos

- removed unnecessary fix for an old firefox issue
2023-06-30 11:08:38 +02:00
Carlos Ruiz 7adbc91505
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive (#1895)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive

* - Support for master/detail reports on UUID based tables

* - Archive button

* - Add test print format for UU Based Table

* - backward compatibility on MArchive.getReportAndDocumentCountByRecordId

* - Backward compatibility with filesystem storage

* - Improve naming of temporary folder for 2Pack

* - Improve query to use correctly the index

* - Improve method to use ID when no UUID

* - Ensure the Record_UU is filled even when called from foreign sources

* - Implement the same provision for exceptional cases on MAttachment, MChat, MLabelAssignment, MPostIt to fill the UUID when not passed (f.e. when created by a plugin)
2023-06-23 11:17:51 +08:00
Carlos Ruiz 632352c1cb
IDEMPIERE-5765 Shipment generated service lines cannot be directly edited because the Locator is empty (#1891) 2023-06-08 11:38:11 +08:00
Peter Takács 66e0d4200e
IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes (#1808)
* IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes

* IDEMPIERE-5697 - fix javadoc

* IDEMPIERE-5697 - add PInstanceLogType to AD_PInstance_Log

* IDEMPIERE-5697 - implement Status Log Type

- implement Status Log Type
- fix javadoc

* IDEMPIERE-5697 - definition changes

- rename log type 'Tail' to 'Progress' as Chuck Boecking suggested
- make ad_pinstance_log_uu the primary key as Heng Sin suggested

* IDEMPIERE-5697 - updateLog method with UUID

* IDEMPIERE-5697 - requested changes

- split insert and update
- fix wrong javadoc
- small fixes

* IDEMPIERE-5697 - requested changes

- fix javadoc
- fix migration scripts

* IDEMPIERE-5697 - balance API

- rename methods in SvrProcess: saveLog -> saveProgress, saveStatus; updateLog -> updateStatus
- remove progress and status methods that take table and record id arguments, there is no need to save them in separate fields with there log types

* IDEMPIERE-5697 - balance API

- exchange logic between Progress and Status log types
- modify method names in ProcessInfo based on SvrProcess

* IDEMPIERE-5697 - pr 1808 patch by Heng Sin

- fix oracle migration script
2023-06-01 14:11:25 +08:00
Carlos Ruiz 013ba190fd
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar (#1865)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar

- add support for AD_Attachment, CM_Chat, AD_PostIt and AD_LabelAssignment for UUID based tables

* - Better deprecated message
- Better deprecated management for constructors

* - Fix non unique exception on ad_changelog
- Fix to save changelog just ID on insert and not the UUID for ID based tables
2023-05-31 10:39:10 +08:00
Carlos Ruiz 03b4d0bf2f
IDEMPIERE-5683 Exception: NO Data found for Record_ID (#1864)
Fixing - Because of the ordering of scripts - the latest changes on IDEMPIERE-5683 destroyed changes on IDEMPIERE-5567
2023-05-29 16:57:07 +02:00
hengsin cc831e41d8
IDEMPIERE-5743 Info Window: Add Optional Auto Collapsed Parameter Panel option (#1862) 2023-05-29 15:41:37 +02:00