Commit Graph

15254 Commits

Author SHA1 Message Date
Marcos Gabriel de Oliveira Favaretto f919931eaf
IDEMPIERE-5802 - Includes access validation for ASI Dialog (#1945)
* IDEMPIERE-5802 - Includes access validation for ASI Dialog

* IDEMPIERE-5802 - Implements use of MRole.getWindowAccess instead of Query

* IDEMPIERE-5802 - Fix name and access for 'isAllowedToCreate' variable
2023-08-01 10:57:52 +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
Carlos Ruiz 0da6a2ab44
IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436) / fix broken jenkins (#1958) 2023-07-29 18:33:35 +02:00
Carlos Ruiz f4561e64d7
IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436) (#1957)
- fix NPE when no hazelcast.xml file is in path or in bundle
- remove the library hazelcast-aws.jar - not needed anymore
2023-07-29 22:40: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
Carlos Ruiz c85cc9fe7a
IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436) (#1955)
* IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436)

* - fix on discovery of service using UUID
2023-07-29 08:34:20 +08:00
Carlos Ruiz 1eef599bb2
IDEMPIERE-5811 - Fix NPE on event for BroadcastMessages / fix kill session feature (#1956) 2023-07-28 23:37:05 +02:00
Marcos Gabriel de Oliveira Favaretto 9af815acf6
Idempiere 5804 - Info Window mandatory parameters are not beeing display correctly. (#1951)
* IDEMPIERE-5804 - Fix display of mandatory parameters within display logic

* IDEMPIERE-5804 - Implements ZK constraints for mandatory Info Window parameters

* IDEMPIERE-5804 - Removes the use of ZK Constraints and implements use of ZK  WrongValueException

* IDEMPIERE-5804 - Removes unsed line and fix javadoc
2023-07-28 22:27:45 +08:00
Marcos Gabriel de Oliveira Favaretto 5af9e7de56
IDEMPIERE-5811 - Fix NPE on event for BroadcastMessages (#1954) 2023-07-28 12:28:08 +08:00
Peter Takács 3f1367a1f5
IDEMPIERE-5790 - Print Format is being Reset after Report Refresh (#1953) 2023-07-27 09:01:16 +08:00
Peter Takács 15e178c110
IDEMPIERE-5803 - ESC Shortcut Closes Tab and Pop-up Window at Once (#1946)
* IDEMPIERE-5803 - ESC Shortcut Closes Tab and Pop-up Window at Once

- delay the execution of ON_CTRL_KEY after ON_CANCEL by adding echo: ON_CLOSE_WINDOW_SHORTCUT_EVENT
- improve IDesktop by isCloseTabWithShortcut methods
- the ON_CANCEL event sets isCloseTabWithShortcut to false
- tab is closed after ON_CTRL_KEY if isCloseTabWithShortcut is true

* IDEMPIERE-5803 - fix breaking Alt+X in InfoPanel

- issue reported by Heng Sin

* IDEMPIERE-5803 - fix breaking Alt+X in InfoPanel
2023-07-26 21:35:05 +08:00
Peter Takács a86e23932a
IDEMPIERE-5790 - Improve Report Refresh functionality (#1923)
* IDEMPIERE-5790 - Improve Report Refresh functionality

* IDEMPIERE-5790 - fix not setting Language in combobox

* IDEMPIERE-5790 - bug fixes

- fix preview type changing to SysConfig default after refresh - now it stay on the selected type
- language is not set on process audit record when refreshing
2023-07-21 12:57:58 +08:00
Peter Takács a72caac1fc
IDEMPIERE-5805 - Dashboard Help Icon Produces Unwanted Network Requests (#1947) 2023-07-21 11:42:27 +08:00
Zuhri Utama 236cd6bddc
IDEMPIERE-4735 apply patch from Webservice CreateUpdate. PO passed to Call to WSValidator is not valid (#1948) 2023-07-21 11:22:43 +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
hengsin 407b756cb8
IDEMPIERE-5800 Info Window Context Variables are not Cleared after Closing (#1937) 2023-07-16 16:02:44 +02:00
hengsin b04da9dfce
IDEMPIERE-5801 Process Modal Dialog overlapped with Info Window (#1936) 2023-07-16 15:28:54 +02:00
hengsin 8034113ccc
IDEMPIERE-5529 StackOverflowError at Quick Entry using WDateEditor (#1940) 2023-07-16 15:24:43 +02:00
hengsin 65a69ee332
IDEMPIERE-5725 NPE in gridview on mobile (#1939) 2023-07-16 15:18:42 +02:00
hengsin 8786d8a51f
IDEMPIERE-5525 GetWarehouse method ordering storage records by M_Locator_ID (#1941) 2023-07-16 15:12:59 +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
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
hengsin b47544b55a
IDEMPIERE-5797 Zk: Upgrade Billboard chart to 3.9.0 (#1930)
* IDEMPIERE-5797 Zk: Upgrade Billboard chart to 3.9.0

* IDEMPIERE-5797 Zk: Upgrade Billboard chart to 3.9.0

- Add basic localization support

* IDEMPIERE-5797 Zk: Upgrade Billboard chart to 3.9.0

- update Readme

* IDEMPIERE-5797 Zk: Upgrade Billboard chart to 3.9.0

- Fix intermittent sizing and rendering issue
2023-07-13 20:34:06 +08:00
Jose Leite 47e5f01206
IDEMPIERE-5791 - Fix Error when changing print format to CSV (#1925)
* IDEMPIERE-5791 - Fix Error when changing print format to CSV

* IDEMPIERE-5791 - Fix Error when changing print format to CSV

* IDEMPIERE-5791 - Fix Error when changing print format to CSV
2023-07-11 09:45:42 +08:00
Peter Takács beffc74bc0
IDEMPIERE-5786 - Support Closing Performance Detail with Shortcut (#1933) 2023-07-10 17:36:42 +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
hengsin 8aacbb4c29
IDEMPIERE-5448 2023 June Platform Update (#1932)
- Remove maven resolution dependency to
org.eclipse.jetty.tests:jetty-http-tools:pom:10.0.15 which seems no
longer available on any maven repository.
2023-07-10 11:36:32 +02: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
Zuhri Utama e477dad1c0
IDEMPIERE-2706 bug fix when create record from quick entry with default value (#1924) 2023-07-06 12:14:23 +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
Carlos Ruiz b7b0b16476
IDEMPIERE-5750 Error when switching to tab when choosing a language other than English (#1920)
* IDEMPIERE-5750 Error when switching to tab when choosing a language other than English

* - avoid usage of AdempiereIdGenerator.escapeId when not ZkUnitTest
2023-07-01 20:24:58 +08:00
hieplq 7a66540bca
IDEMPIERE-4360 setup to use code quality to perform automatic reviews with static analysis (#1919)
* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

update actions/setup-java to v3

update actions/checkout to v3

update codeql-action to v2

update actions/cache to v3, use separate action for restore and save
include build branch to cache key

* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

update java to 17 to adapt with IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis

don't need complicate for master branch, in case switch from master-x to master-y, it's ok to re-build cache. not much happen this case
2023-07-01 10:37:24 +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
Peter Takács d42aec9b39
IDEMPIERE-5738 - Info Window ID columns are sorted by ID instead of display value (#1863)
* IDEMPIERE-5738 - Info Window ID columns are sorted by ID instead of display value

* IDEMPIERE-5738 - improved parsing logic

- improved parsing logic for parsing display column aliases
- added getByKeyColumns method to MTable

* IDEMPIERE-5738 - requested changes

- replace JOIN with LEFT JOIN
- add AD_Reference_Value_ID to ColumnInfo.java
- check AD_Reference_ID and AD_Reference_Value_ID
- improve parsing

* IDEMPIERE-5738 - simplify 'getTable' logic

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - bug fix in getTable

* IDEMPIERE-5738 - fix bug if where clause is defined

* IDEMPIERE-5738 - small fixes

- change reference check from idID to isLookup
- fix wron tab spacing of getSQLJoin() method

* IDEMPIERE-5738 - fix unnecessary joins

* IDEMPIERE-5738 - small fixes

- rename joinTable to joinTableForUserOrder
- clear joinTableForUserOrder value in getUserOrderClause method

* IDEMPIERE-5738 - fix error with query criteria

* IDEMPIERE-5738 - fix trl tables, select distinct

- fix problem with translation tables
- fix problem with distinct info windows (error: for SELECT DISTINCT, ORDER BY expressions must appear in select list)

* IDEMPIERE-5738 - change approach from LEFT JOIN to subquery

- approach suggested by Heng Sin

* IDEMPIERE-5738 - support UUID key and composite key tables

* IDEMPIERE-5738 - fix WHERE clause in ORDER BY subquery

- improved ColumnInfo.java by selectClause
- in ORDER BY we need to use InfoColumn.SelectClause

* IDEMPIERE-5738 - small fixes

Requested changes by Heng Sin
2023-06-29 15:11:45 +08:00
Carlos Ruiz 7bf225683c
IDEMPIERE-5781 Any user can destroy a configured SQL Query (#1913)
* IDEMPIERE-5781 Any user can destroy a configured SQL Query

* - fix problem not showing the advanced toolbar back

* - implement suggestion from Heng Sin
2023-06-29 10:58:55 +08:00
Peter Takács 7b42d4acb8
IDEMPIERE-5778 - Focus is not set to Process Modal Dialog in Info Windows (#1916) 2023-06-29 10:56:43 +08:00
Carlos Ruiz a0f1793719
IDEMPIERE-5787 Print Dunning Letters doesn't work with multi-language (#1918) 2023-06-28 23:30:37 +08:00
Carlos Ruiz 2db4184a5d
IDEMPIERE-5780 NPE on StatusBarPanel (#1912) 2023-06-28 10:28:21 +08:00
Carlos Ruiz 509e900a0a
IDEMPIERE-5782 Generated Shipments/MR and Invoices with Invalid Sales Rep (#1914) 2023-06-28 10:21:18 +08:00
Carlos Ruiz 2dbdeb6f77
IDEMPIERE-5783 Support date and number in jasper column lookup (#1915) 2023-06-28 10:20:06 +08:00