Commit Graph

3259 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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
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
Peter Takács b4dcfa11d9
IDEMPIERE-5770 - Sql clauses are not applied on Related Info Window (#1897)
* IDEMPIERE-5770 - Sql clauses are not applied on Related Info Window

* IDEMPIERE-5770 - surround where clause with parenthesis
2023-06-26 22:06:27 +08:00
hengsin 206c8eaaf6
IDEMPIERE-5364 Event name is truncated at bottom (#1905) 2023-06-23 12:21:04 +02:00
hengsin 112eadc8fc
IDEMPIERE-5764 [ZOOM] - Window configured in reference does not work (#1906) 2023-06-23 12:20:25 +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 827a0ba659
IDEMPIERE-5777 Improve extensibility of WPaySelect (#1903) 2023-06-22 14:58:18 +08:00
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02:00
Nicolas Micoud e89db4b287
IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public (#1894)
* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public

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

* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public

change serialVersionUID
2023-06-14 11:05:25 +08:00
Carlos Ruiz 903e3859b2
IDEMPIERE-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete (#1882)
* IDEMPIERE-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete

* - Backward compatibility - assign mandatory default doc type
2023-06-09 14:04:45 +02:00
Marcos Gabriel de Oliveira Favaretto 43800e2540
IDEMPIERE-5643 - Error during document's workflows are not displayed on Workflow Activities form. (#1756)
* IDEMPIERE-5643 - Allows Workflow Activities form to throw Exceptions if an error occurs after user's approval

* IDEMPIERE-5643 - show message in wf activity

---------

Co-authored-by: matheus.marcelino <matheus.marcelino@devcoffee.com.br>
2023-06-07 21:48:59 +02:00
Peter Takács 4b445e3107
IDEMPIERE-5753 - Date Picker doesn't set time on first date in Quick Mode (#1873) 2023-06-07 06:39:07 +08:00
hengsin 97abbc7ed0
IDEMPIERE-5742 Info Product Window: Footer cut off after execution of query (#1872)
- Fix issue with process info dialog.
2023-06-05 13:45:33 +02: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 d45c0fa248
IDEMPIERE-5735 Useless code in GridTable.dataSave (#1853)
* IDEMPIERE-5735 Useless code in GridTable.dataSave

* - Solve issue with saving zero ID records on UI

* - remove unnecessary row - don't need to read again PO because gridTable.getPO returns now correctly POs with zero ID
2023-05-29 22:27:40 +08:00
hengsin cc831e41d8
IDEMPIERE-5743 Info Window: Add Optional Auto Collapsed Parameter Panel option (#1862) 2023-05-29 15:41:37 +02:00
hengsin 6db8752c93
IDEMPIERE-5740 Dashboard Views Gadget doesn't translate *24.png image name to z-icon name (#1859) 2023-05-29 14:44:20 +02:00
hengsin 295454b6e9
IDEMPIERE-5741 Text editor dialog not using ThemeManager.isUseCSSForWindowSize() correctly (#1860) 2023-05-29 14:42:50 +02:00
hengsin 568421360b
IDEMPIERE-5742 Info Product Window: Footer cut off after execution of query (#1861) 2023-05-29 14:40:54 +02:00
Carlos Ruiz 430823153f
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items (#1856)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items

- Implement support for recent items for UUID based tables
- Refactor MRecentItem for better performance

* - fixes
2023-05-29 16:16:18 +08:00
Carlos Ruiz 281333e8b9
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules (#1852)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules

* - change warning by IllegalArgumentException
- change package visibility to protected

* - remove unnecessary code - the Model Cascade is calling the deleteModelCascade for children too

* - Implement SysConfig AD_CHANGELOG_SAVE_UUID
- reorganize MSysConfig (there were entries out of order)

* - Add index for performance on AD_ChangeLog.Record_UU

* - Enable change log for tables with multi-key (like _Trl or _Access)

* - Enable saving change log for AD_ClientInfo

* - when updating a record that doesn't have UUID - assign one
2023-05-28 23:47:30 +08:00
Carlos Ruiz 4a1dcb265b
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1837)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix Record UUID editor

* - Separate WRecordEditor and WRecordUUIDEditor for ID and UUID

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

- integrate patch from Heng Sin

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-05-21 19:39:08 +08:00
Carlos Ruiz 7c41f997b2
IDEMPIERE-5733 Obsolete libraries in org.adempiere.ui.zk/lib #resolve (#1849)
- Upgrade org.outerj.daisy from 1.1.15 to 1.2.2
- Upgrade com.googlecode.owasp-java-html-sanitizer from 20200713.1 to 20220608.1
- Upgrade diff_match_patch.java with latest github location
2023-05-21 16:32:07 +08:00
Carlos Ruiz 2e38742ec9
IDEMPIERE-5720 Multi select product on orders is broken (#1835) 2023-05-20 22:41:20 +08:00
Carlos Ruiz e945e7e3c8
IDEMPIERE-5724 Cannot add Related Info Window to Info Product (#1838) 2023-05-20 22:11:18 +08:00
Carlos Ruiz 8edf4c730f
IDEMPIERE-5667 Recent Items not Refreshing when Deleting Records in Grid View (#1847)
IDEMPIERE-5667 #resolve
2023-05-20 09:54:24 +08:00
Carlos Ruiz 531aa73ea1
IDEMPIERE-4639 Cross tenant issues with context help (#1848) 2023-05-20 09:53:49 +08:00
Carlos Ruiz 089f491363
IDEMPIERE-5491 Info Window - implement Select/DeSelect All buttons (FHCA-4016) - Fix NPE (#1834) 2023-05-16 16:29:28 +08:00
Carlos Ruiz 4fdbbd5cce
IDEMPIERE-5614 Advanced Find Window error when searching for Yes/No (#1824) 2023-05-06 00:59:30 +02:00
Diego Ruiz a8882677a0
IDEMPIERE-5709 - Fixed SQLFind columns not working (#1822) 2023-05-05 18:13:19 +02:00
Nicolas Micoud 0553878431
IDEMPIERE-5701: Improve logs when role cannot report or export (#1811)
* IDEMPIERE-5701: Improve logs when role cannot report or export

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

* IDEMPIERE-5701: Reduce log level when role cannot report or export and hide Report button when role cannot report

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
2023-05-04 00:06:53 +02:00
hengsin 66b8271c2b
IDEMPIERE-5570 Zk: Improve readability of code (#1819)
- for org.adempiere.webui.editor package
2023-05-03 13:54:00 +02:00
Peter Takács f82777c527
IDEMPIERE-5702 - IndexOutOfBoundsException on Info Window (#1812)
* IDEMPIERE-5702 - IndexOutOfBoundsException on Info Window

* IDEMPIERE-5702 - pr1812 patch by Heng Sin
2023-05-03 14:31:40 +08:00
Carlos Ruiz 1fb4248ab9
IDEMPIERE-5706 Improvements to Tab Editor in Window Customization (#1817) 2023-05-01 16:44:51 +02:00
Carlos Ruiz 92424ec5d9
IDEMPIERE-5704 Archive Viewer silent when archive cannot be deleted (#1814) 2023-05-01 19:26:53 +08:00
Carlos Ruiz 07ecea1494
IDEMPIERE-5509 Implement readonly query without using Trx - fix issue with native sequences in PostgreSQL (#1815) 2023-05-01 19:26:16 +08:00
hengsin 60c0bf681f
IDEMPIERE-5688 Enhancement to WindowValidator API (#1799) 2023-04-28 13:16:56 +02:00
hengsin 7bd5e579ce
IDEMPIERE-5689 Make MLocatorLookup and WLocatorEditor more extensible (#1800)
* IDEMPIERE-5689 Add setValidationCode to MLocatorLookup

* IDEMPIERE-5689 Make MLocatorLookup and WLocatorEditor more extensible
2023-04-28 12:26:47 +02:00
hengsin 6f7e0001a4
IDEMPIERE-5690 Make WPAttributeEditor and WPAttributeDialog more extensible (#1801) 2023-04-28 12:25:13 +02:00
hengsin 72a546bcad
IDEMPIERE-5692 Add custom column editor support to WListbox (#1803) 2023-04-28 11:44:44 +02:00
hengsin fdbbf093fb
IDEMPIERE-5694 Listbox item and group rendering API enhancements (#1804)
* IDEMPIERE-5694 Listbox item and group rendering API enhancements

* IDEMPIERE-5694 Listbox item and group rendering API enhancements

- Fix css and rendering bugs
2023-04-28 11:14:28 +02:00
Peter Takács 6a94b815cd
IDEMPIERE-5681 - Improve Date Picker by "Ago" option (#1792)
* IDEMPIERE-5681 - Improve Date Picker by "Ago" option

* IDEMPIERE-5681 - improve code readability

- added javadoc, modified method names

* IDEMPIERE-5681 - fix wrong comment
2023-04-25 16:25:21 +08:00
Peter Takács 23713f6461
IDEMPIERE-5669 - Report Row Count shows incorrect data (#1791)
* IDEMPIERE-5669 - Report Row Count shows incorrect data

2 issues fixed:
- row count in tab did not refresh on clicking the refresh button (only on re-run)
- row count included function rows too

* IDEMPIERE-5669 - fixes

- added private attribute to rowCount Label
- added null-check to updateRowCount() method
2023-04-25 16:24:18 +08:00
Peter Takács 4a35720457
IDEMPIERE-5686 - Closing Browser Tab while Process Modal Dialog is Opened causes NPE (#1797)
* IDEMPIERE-5686 - Closing Browser Tab while Process Modal Dialog is Opened causes NPE

* IDEMPIERE-5686 - fixes

* IDEMPIERE-5650 - WProcessCtl fix

* IDEMPIERE-5650 - move check to ShowMaskWrapper
2023-04-25 16:23:02 +08:00
Carlos Ruiz 86a91987e1
IDEMPIERE-5567 Fix NPE running Period Control Management (#1798)
* IDEMPIERE-5567 Fix NPE running Period Control Management

* - defensive programming against NPE
2023-04-25 14:16:06 +08:00
Peter Takács d954b926a2
IDEMPIERE-5682 - Closing Browser Tab while Report Viewer is Opened causes NPE (#1793) 2023-04-20 21:24:49 +08:00
Vitor Henrique Dos Santos 1a6ca9a7c3
IDEMPIERE-5679 - Fixing problem using List Type reference on info window columns (#1790) 2023-04-20 14:31:01 +08:00
Peter Takács 3a01dc8aa9
IDEMPIERE-5669 - Display Row Count of Executed Reports (#1781) 2023-04-19 14:45:21 +02:00
hengsin eb78bd4ee9
IDEMPIERE-5678 Unit Test is failing with PostgreSQL 15 (#1789) 2023-04-19 13:57:34 +02:00
Jose Leite d0e6c050bd
IDEMPIERE-5674 - Fix null pointer exception when remove favorites nodes (#1786) 2023-04-18 16:24:29 +08:00
Peter Takács f6d89ffe26
IDEMPIERE-5666 - fix NPE on refreshing report (#1784) 2023-04-18 14:53:47 +08:00
Peter Takács 47891709ad
IDEMPIERE-5666 - Prevent Closing the Tab of a Running Report (#1778)
* IDEMPIERE-5666 - Prevent Closing the Tab of a Running Report

* IDEMPIERE-5666 - fix javascript error

* IDEMPIERE-5666 - pr1778 patch
2023-04-14 16:06:07 +08:00
Peter Takács fdf2f0299c
IDEMPIERE-5664 - Report Renderer can Overwrite any Current Tab (#1777)
* IDEMPIERE-5664 - Report Renderer can Overwrite any Current Tab

* IDEMPIERE-5664 - fix issue on close

- do not render the report if the tab is not found (e.g. closed already)

* IDEMPIERE-5664 -  pr1777 patch
2023-04-13 22:45:44 +08:00
Peter Takács 89a093ca49
IDEMPIERE-5482 - Field Style Scope HTML Element (#1572)
* IDEMPIERE-5482 - Field Style Scope HTML Element

* IDEMPIERE-5482 - implemented in report engine, removed the new field

* IDEMPIERE-5482 - add IsWrapWithSpan to AD_Style

* IDEMPIERE-5482 -  pr1572 patch
2023-04-11 22:22:10 +08:00
hengsin ea6c44b913
IDEMPIERE-5570 Zk: Improve readability of code (#1774)
- org.adempiere.webui.dashboard and org.adempiere.webui.desktop package
2023-04-11 13:35:38 +02:00
Carlos Ruiz b5cb64bc92
IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195) (#1771)
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195)

* - Search editor now assigns the value correctly when selecting from Info Window
- Info Window shows correctly the first UU key column
- Added Record UUID new data type to work with record ID editor but with UU column
- Added column/field Test.Record_UU for testing

* - Fix opening Record ID editor after saved

* - Implement changes suggested by Heng Sin's peer review

* - Remove other unnecessary changes

* - safer comparison
2023-04-11 13:20:13 +08:00
Peter Takács b1bf9bc4e9
IDEMPIERE-5650 - Cannot Define Multiple Values for Dashboard Content Process Parameters (#1757)
* IDEMPIERE-5650 - Cannot Define Multiple Values for Dashboard Content Process Parameters

* IDEMPIERE-5650 - remove hardcoded condition

* IDEMPIERE-5650 - fix for reference list multiselection

- support for non-ID multiselection types (values were not rendered e.g. with DocType="IP,CO")

* IDEMPIERE-5650 - fix for reference list multiselection

* IDEMPIERE-5650 - bug fixes

- error use case: reference list with numeric values e.g. "10", "20",... (fix: check DisplayType instead of data type)
- error use case 2: defining more than one multi-selection caused parsing error (fixed parsing logic in MDashboardContent)

* IDEMPIERE-5650 - optimise parsing method

* IDEMPIERE-5650 - pr1757_PR0 patch
2023-04-05 13:00:00 +02:00
Carlos Ruiz a967069164
IDEMPIERE-5567 Support of UUID as Foreign Key (FHCA-4195) (#1741)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Foreign Keys

* - Table Direct working as read-only and link column

* - Fixes for Table with Reference

* - Add UUID FK management to Migrate ID process
- Add MColumn.beforeSave validation to force UUID columns to end with _UU
- Add table TestUUDet with two foreign keys pointing to TestUU (TableDir and Search)
- Add detail tab to Test UU Based Table window
- Add a new test window named Test UU Detail
- Generate model classes for the new test table
- Add test case for the detail test table
- Add MTable.isIDKeyTable method
- Add UU foreign key cross tenant validation to PO.validForeignKeys

* - Added a Chosen Multiple Selection Table with foreign UU for testing
- Changed reference in dictionary logic and sql to reflect new data types
- Disable SearchUU temporarily (will be worked in next step)
- Add validation to avoid encrypting UUID columns
- Avoid warning when searching for getPO method on UUID based tables
- Make Zoom Across button work with UUID foreign keys
- Enable zoom and zoom to detail for UUID foreign keys
- Enable Find Advanced on detail foreign UUID keys

* - Fix javadoc
- Quote properly UUID
- Validate null on return

* - Fix zoom logic - tested zooming to tab in first second and third level
2023-04-05 10:26:27 +08:00
Nicolas Micoud 24ee2a1a3f
IDEMPIERE-5658: NPE CompositeADTabbox.onTabSelectionChangedEcho (#1767)
https://idempiere.atlassian.net/browse/IDEMPIERE-5658
2023-04-03 16:51:51 +08:00
hengsin 65f565e542
IDEMPIERE-5528 Context parsing on process Parameter not considering tab no (#1765)
- implement parent Evaluatee for GridField and ProcessParameterPanel
2023-04-01 16:24:07 +02:00
Jose Leite d01555fa08
IDEMPIERE-5654 - UnMark flag isProcessing in AD_PInstance table after start server (#1758) 2023-03-30 21:57:23 +08:00
hengsin 10ade8a25b
IDEMPIERE-5570 Zk: Improve readability of code (#1755)
- Refinement up to org.adempiere.webui.component package.
2023-03-28 19:36:31 +02:00
Deepak Pansheriya 1ff384d70d
Merge pull request #1749 from devcoffee/IDEMPIERE-5639
IDEMPIERE-5639 - Improve navigation on QuickForm
2023-03-28 09:31:43 +05:30
Nicolas Micoud 59069f4cfe
IDEMPIERE-5644 : Allow to set an image per form (#1751)
* IDEMPIERE-5644 : Allow to set an image per form

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

* IDEMPIERE-5644 : Allow to set an image per form - fix suggested by hengsin

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

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2023-03-27 18:26:20 +08:00
Carlos Ruiz 2d928ed37e
IDEMPIERE-5633 Check tableId <=0 in PO.checkRecordIDCrossTenant() (#1745)
IDEMPIERE-5238

Thanks to Ken Longnan
2023-03-24 11:24:47 +08:00
Jose Leite 92ac50e21f
IDEMPIERE-5638 - Fix nullpointer when expanding editor in virtual column (#1747) 2023-03-23 20:38:00 +01:00
Vitor Henrique Dos Santos 19c7208eae IDEMPIERE-5639 - Improve navigation on QuickForm 2023-03-23 10:06:03 -03:00
Peter Takács 8b9fd48d49
IDEMPIERE-5393 - Dashboard panel header disappearing (#1742)
* IDEMPIERE-5393 - Dashboard panel header disappearing

* IDEMPIERE-5393 - fix padding

* IDEMPIERE-5393 - remove hardcoded height calculation
2023-03-22 17:19:16 +08:00
Peter Takács bf7c9792af
IDEMPIERE-5588 - Multiselect Chosenbox Editor Doesn't Initialise its List when Tab First Opened (#1744)
* IDEMPIERE-5588 - Multiselect Chosenbox Editor Doesn't Initialise its List when Tab First Opened

* IDEMPIERE-5588 - pr1744 patch
2023-03-22 16:52:28 +08:00
Carlos Ruiz 51ceaacb43
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1727)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

* - Implement changes to support Model classes with UUID constructor

* - fix issue with tables with single parent key - like AD_Ref_Table

* - Create test table and JUnit test

* - fixes from Heng Sin

* - Improve performance on new methods in MTable
- Minor refinements in ModelClassGenerator
- Regenerate Test X classes
- Change Create Window from Table to receive the parent link as parameter (because tables can have now no keys at all)

* - Implement suggestions from Heng Sin

* - _UU column as primary key constraint for UUID based tables

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-03-21 21:30:45 +08:00
Diego Ruiz c2d88f17d9
IDEMPIERE-5636 - Add Mattermost to the About Tab (#1743)
* IDEMPIERE-5636 - Add Mattermost to the About Tab

* Update AboutWindow.java
2023-03-21 13:57:39 +01:00
Peter Takács d9225a2caa
IDEMPIERE-5630 - Multiple Drill Assistants Opening from Dashboard (#1737)
* IDEMPIERE-5630 - Multiple Drill Assistants Opening from Dashboard

* IDEMPIERE-5630 - fix bad merge

* IDEMPIERE-5630 - pr1737 patch
2023-03-20 18:45:01 +08:00
hengsin e479eb5cfb
IDEMPIERE-5609 Dashboard Performance Indicators incrementally redrawed on DC drag and drop (#1736) 2023-03-17 11:45:56 +01:00