Commit Graph

3516 Commits

Author SHA1 Message Date
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
Carlos Ruiz eab0574dae
IDEMPIERE-5565 Cannot create report with virtual column where reference is table with display column = ID (#1735)
* IDEMPIERE-5565 Cannot create report with virtual column where reference is table with display column = ID

* - make it consistent with the actual approach
2023-03-17 14:27:00 +08:00
Peter Takács 47987c0314
IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave (#1632)
* IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave

* IDEMPIERE-5538 - beforeSave, capture process parameters

* IDEMPIERE-5538 - validate only through process

* IDEMPIERE-5538 - isValid check in getByTable method

* IDEMPIERE-5538 - add validation to before save/after delete

* IDEMPIERE-5538 - validate system drill rules

* IDEMPIERE-5538 - fix validation logic

The mandatory validation have to skip the key parameter since it is not loaded from Drill Rule Para.

* IDEMPIERE-5538 - fix Drill Rule window definition

* IDEMPIERE-5538 - bug fix scripts to iD10

* IDEMPIERE-5538 - fix missing read only logic

* IDEMPIERE-5538 - all scripts to iD10
2023-03-16 19:10:15 +08:00
Peter Takács 21e4f610eb
IDEMPIERE-5238 - Support of Search display type for AD_Table_ID (#1726)
* IDEMPIERE-5238 - Support of Search display type for AD_Table_ID

* IDEMPIERE-5238 - no key column error

* IDEMPIERE-5238 - fix css

* IDEMPIERE-5238 - move scripts to iD10

* IDEMPIERE-5238 - bug fixes

- dialog did not open if AD_Table_ID = 0
- NPE if closing dialog with OK button and AD_Table_ID = 0

* IDEMPIERE-5238 - fix multiple tableID > 0 checks
2023-03-16 19:06:51 +08:00
hengsin 9c2dc06dcc
IDEMPIERE-4445 Color Picker field type is not rendered in grid mode s… (#1732)
* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value

- fix working with grid view

* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value

- change style of display view.
2023-03-16 15:49:36 +08:00
Peter Takács b7b9a4d476
IDEMPIERE-5621 - Dashboard Report ignore if parameter is mandatory or not (#1714)
* IDEMPIERE-5621 - Dashboard Report ignore if parameter is mandatory or not

* IDEMPIERE-5621 - small fixes

* IDEMPIERE-5621 - missing javadoc for new methods

* IDEMPIERE-5621 - move scripts, list empty para, update css
2023-03-16 12:01:40 +08:00
Peter Takács c170c59f47
IDEMPIERE-5630 - Drill rule from dashboard html report never opening (#1734)
* IDEMPIERE-5630 - Drill rule from dashboard html report never opening

* IDEMPIERE-5630 - remove windowNo, simplify code

* IDEMPIERE-5630 - small fixes

- add Drill Across Event Listener only when report content is embedded
- small code refactor
2023-03-15 23:43:34 +08:00
Carlos Ruiz d4dd4585b6
IDEMPIERE-5611 Record ID Editor doesn't work with House Keeping (#1720)
* IDEMPIERE-5611 Record ID Editor doesn't work with House Keeping

- Fix zoom window on tables that have this field empty and have a window associated

* - Fix zoom and lookup without AD_Window_ID update

* - Add discovery for more tab levels

* - Fix zoom when AD_Table.AD_Window_ID is null.

* - use the new method also in InfoGeneralPanel

* - set zoom window just when is not defined (preserve potential customizations)

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-03-15 22:34:31 +08:00
hengsin b188775e9a
IDEMPIERE-5624 Implement export data as SQL insert statement (#1721) 2023-03-13 15:57:45 +01:00
hengsin efe0e14e57
IDEMPIERE-5626 Kill All session, popup strange message (#1722) 2023-03-13 15:41:01 +01:00
Carlos Ruiz 106cbc7e14
IDEMPIERE-5629 Error when using context variables in info window view ID column (#1725) 2023-03-13 19:44:51 +08:00
Nicolas Micoud 33fa24ac2c
IDEMPIERE-5259: Labels/tags feature - missing image (#1716) 2023-03-12 11:57:19 +08:00
Peter Takács f0532b214a
IDEMPIERE-5607 - Dashboard Process Tenant data rendered in System (#1707)
* IDEMPIERE-5607 - Dashboard Process Tenant data rendered in System

* IDEMPIERE-5607 - do not render DPPerformance if it is empty
2023-03-10 11:36:27 +08:00
Carlos Ruiz b88b8e9ed5
IDEMPIERE-5615 Record Info Dialog wrong when open in Detail tab (#1704) 2023-03-09 12:33:41 +08:00
Deepak Pansheriya 09f524910c
IDEMPIERE-5594 : On detail panel grid, button not respect context par… (#1701)
* IDEMPIERE-5594 : On detail panel grid, button not respect context parsing for DispalyLogic, DefaultValue, MandatoryLogic. take context of previous row.

* IDEMPIERE-5594: Refactored code by Hengsin
Co-authored-by: hengsin@gmail.com
2023-03-08 20:01:10 +08:00
Nicolas Micoud 7417e1ce3c
IDEMPIERE-5595: Allow to deactivate negate option for "Chosen Multipl… (#1695)
* IDEMPIERE-5595: Allow to deactivate negate option for "Chosen Multiple Selection" components in processes

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

* IDEMPIERE-5595: regenerate serial

* IDEMPIERE-5595: move scripts to iD10 / resolve conflict

* IDEMPIERE-5595: change position of the field / update existing data

* IDEMPIERE-5595: check ProcedureName is empty before enabling it

* IDEMPIERE-5595: update existing records missing in oracle

* Update 202303020910_IDEMPIERE-5595.sql

* Update 202303020910_IDEMPIERE-5595.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-03-06 19:56:56 +01:00
hengsin de3ffd3c30
IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#1681)
- remove unreliable killing of session
- increase no message from Desktop check from 3 to 5
2023-03-06 13:46:22 +01:00
Nicolas Micoud 3e2cd6d23a
IDEMPIERE-5599: Use Tab.IsSingleRow when copying a record (#1697) 2023-03-06 17:36:44 +08:00
Peter Takács dbd024f78e
IDEMPIERE-5238 - Record_ID editor (#1610)
* IDEMPIERE-5238 - initial draft commit

* IDEMPIERE-5238 - fixes

* IDEMPIERE-5238 - popup window

* IDEMPIERE-5238 - renaming to Record ID

* IDEMPIERE-5238 - renaming to Record ID

* IDEMPIERE-5238 - fixes

* IDEMPIERE-5238 - fixes

* IDEMPIERE-5238 - fixes

* IDEMPIERE-5238 - technical fixes

* IDEMPIERE-5238 - pr1610_1 patch

* IDEMPIERE-5238 - bug fixes

* IDEMPIERE-5238 - set table to read only

* IDEMPIERE-5238 - fix parsing error

* IDEMPIERE-5238 - pr1610 patch

* IDEMPIERE-5238 - fix Find Window issue

* IDEMPIERE-5238 - Info Panel NPE patch

* IDEMPIERE-5238 - UI fix

In the Record ID Dialog the 'Record' label should be visible only when the corresponding editor is visible.

* IDEMPIERE-5238 - find window patch

* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID

* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID

* IDEMPIERE-5238 - move scripts to correct folder

All scripts to iD10
2023-03-06 15:10:51 +08:00
hengsin 6a66903ec6
IDEMPIERE-5586 Implement ID independent migration script (#1685)
* IDEMPIERE-5586 Implement ID independent migration script

* IDEMPIERE-5586 Implement ID independent migration script

- add Oracle script (99% converted by ChatGPT from PostgreSQL :)).

* IDEMPIERE-5586 Implement ID independent migration script

- handle official id value for foreign key reference .
- add back centralized id support.

* IDEMPIERE-5586 Implement ID independent migration script

- minor refactoring
- add support for AD_Table_ID+Record_ID usage

* IDEMPIERE-5586 Implement ID independent migration script

- add support for Delete
- add unit test

* IDEMPIERE-5586 Implement ID independent migration script

- add insert_accounting and insert_tree support.

* IDEMPIERE-5586 Implement ID independent migration script

- add ADSortTab support.

* IDEMPIERE-5586 Implement ID independent migration script

- move migration script from iD11 to iD10.
2023-03-02 18:24:41 +01:00
hengsin 4e38acbb40
IDEMPIERE-5596 Advance Find: List of Tab is wrong for Product > Price (#1694) 2023-03-02 17:18:26 +01:00
Peter Takács a53d87f714
IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu (#1689)
* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu

* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu

* IDEMPIERE-5563 - pr1689 patch
2023-03-02 20:48:17 +08:00
Peter Takács 8ede4bd048
IDEMPIERE-5593 - Drill Rule: Do not render Drill Rules for the same Report (#1692)
* IDEMPIERE-5593 - Drill Rule: Do not render Drill Rules for the same Report

* IDEMPIERE-5593 - fixes
2023-03-02 19:35:25 +08:00
Peter Takács 36613c467e
IDEMPIERE-5470 - Date Range Fieldtype (Reference List) (#1552)
* IDEMPIERE-5470 - Date Range Fieldtype (Reference List)

* IDEMPIERE-5470 - autodetection, fixing concept

* IDEMPIERE-5470 - remove Date Range Picker reference

* IDEMPIERE-5470 - add IsDisplayDateInWords to Process Parameter

* IDEMPIERE-5470 - DateRangeOption dropdown

* IDEMPIERE-5470 - fixes

* IDEMPIERE-5470 - patch pr1552

* IDEMPIERE-5470 - patch pr1552_1
2023-03-02 12:27:36 +01:00
Nicolas Micoud e56131b5ea
IDEMPIERE-5585 : Drill Assistant image not shown using theme with images (#1683)
https://idempiere.atlassian.net/browse/IDEMPIERE-5585
2023-03-01 12:06:41 +08:00
hengsin 1e70b29ca2
IDEMPIERE-5570 Zk: Improve readability of code (#1690)
- Improve code readability for org.adempieere.webui.apps.form package.
2023-02-27 14:23:19 +01:00
Nicolas Micoud 3e83d5ff67
IDEMPIERE-5494 : [WLocationEditor] - Enable Zoom - fix NPE (#1686) 2023-02-23 11:31:47 +08:00
Carlos Ruiz 9efd93d08a
IDEMPIERE-5574 Drop Ship BPartner must have opposite IsSOTrx logic on Info Window (#1673) 2023-02-18 16:20:24 +01:00
Nicolas Micoud 3e957e6c1f
IDEMPIERE-5581 : Dialog.askForInput : allow Integer (#1680)
* IDEMPIERE-5581 : Dialog.askForInput : allow Integer

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

* IDEMPIERE-5581 : Dialog.askForInput : allow Integer

Add check on displaytype as suggested by @hengsin

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

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2023-02-17 22:43:02 +08:00
Peter Takács e7b9b72582
IDEMPIERE-5573 - Enable Showing Inactive Records through Reference (#1674)
* IDEMPIERE-5573 - Enable Showing Inactive Records through Reference

* IDEMPIERE-5573 - fixes
2023-02-17 10:47:39 +08:00
Peter Takács 883edf8436
IDEMPIERE-5575 - Period Controll, new option - Period Document Close (#1676)
* IDEMPIERE-5575 - Period Controll, new option - Period Document Close

* IDEMPIERE-5575 - patch pr1676
2023-02-15 15:37:28 +01:00
hengsin dff85c45de
IDEMPIERE-5570 Zk: Improve readability of code (#1675)
* IDEMPIERE-5570 Zk: Improve readability of code

* IDEMPIERE-5570 Zk: Improve readability of code

- Improve readability for org.adempiere.webui.apps package.
2023-02-15 12:33:18 +01:00
Carlos Ruiz 17f1957d70
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1671)
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)

- Fix another "Not unique in the ID space of" when tab where clause have context variables and is navigated using zoom
- Add extra cleanup in the unexpected case a Find window is created again

* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)

- the delay removal using schedule is needed as immediate removal from parent will cause memory leak at browser

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-02-13 21:52:00 +08:00
Carlos Ruiz 16c727017d
IDEMPIERE-5565 Info Window not working with virtual column where reference is table with display column = ID (#1672) 2023-02-13 13:18:12 +01:00
Carlos Ruiz c22ee19cac
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1670)
- Remove System.out line committed by mistake
2023-02-12 13:15:54 +01:00
Carlos Ruiz 6c643a3ffd
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1669)
- Fix "Not unique in the ID space of" when tab where clause have context variables
2023-02-12 13:08:50 +01:00
hengsin 19459be87b
IDEMPIERE-5570 Zk: Improve readability of code (#1666) 2023-02-09 14:39:59 +01:00
Carlos Ruiz 946730f1be
IDEMPIERE-5443 Date Range Filter Component / SystemIDs (#1664)
- minor change - reorganize SystemIDs
2023-02-08 15:47:05 +08:00
hengsin 2b24496d16
IDEMPIERE-5557 Dashboard Rendering Threads do not hold language set after login (#1659)
- add setup of thread local Locale to ContextRunnable
2023-02-05 11:21:48 +01:00
hengsin 560b9f4bad
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1658)
IDEMPIERE-5559 Cannot find current Find Window - NullPointerException
- Fix navigation error
2023-02-01 12:03:39 +01:00
matheus-marcelinux 9f71eeadbc
IDEMPIERE-5458 - Timezone defined by Organization (#1568)
* # IDEMPIERE-5458 - Timezone defined by Organization

* # IDEMPIERE-5468 - improved unit test

* # IDEMPIERE-5458 - removing user/password from scriptg

* IDEMPIERE-5458 - fix migration script

* IDEMPIERE-5458 - adding field in org info tab
2023-02-01 11:43:06 +08:00
Carlos Ruiz ad09706b41
IDEMPIERE-5558 Payment Selection (manual) unusable when the first bank doesn't have payment rules configured (#1657) 2023-01-30 12:07:19 +01:00
Carlos Ruiz 683b7a8097
IDEMPIERE-5528 Context parsing on process Parameter not considering tab no (#1656)
- Solve NPE
2023-01-29 18:12:40 +08:00
hengsin 74fab5d940
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1655)
IDEMPIERE-5551 Wrong Tab rendering

- Fix level 0 and 1 tab visible at the same time after zoom to detail
- Minor refinement of bread crumb update
2023-01-27 16:10:57 +01:00
hengsin 427427b7e2
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1654)
- Fix change role session error with nginx proxy
- Minor refinement for change role UI
2023-01-27 10:48:42 +01:00
Carlos Ruiz 4d9c77b2e5
IDEMPIERE-5555 Locator not showing all options on Product window with only a warehouse (#1653)
- Added predefined context variable IgnoreProductInLocatorEditor
2023-01-26 18:48:43 +01:00
hengsin 6d9ae6e50e
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1650)
- Fix NPE
2023-01-26 13:54:59 +01:00
Carlos Ruiz 29f59e645f
IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs (#1646)
* IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs

* - Fix for the new PrintFormatItemSync
2023-01-26 13:09:11 +01:00
hengsin d4c3685761
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1648)
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)

- Fix NPE

* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)

- refine NPE fix
- fix a potential leak in billboard

* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)

- reduce detached html elemenet leak for change role
2023-01-26 11:20:03 +01:00
hengsin a9ae3b8652
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1647)
- Find find window error (duplicate id)
2023-01-25 13:17:47 +01:00
hengsin 1a095d2d0e
IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak) (#1637)
- Partial fix plus workaround
- Minor clean up and Javadoc fix
- Create dynamic style for Detail Tabs only once
2023-01-20 14:46:00 +01:00
Carlos Ruiz 89cd0be188
IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel (#1644)
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- implement the same when pushing the Refresh button

* - change to Async
2023-01-18 22:47:51 +08:00
hengsin 0aec0cf450
IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget p… (#1641)
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- Auto refresh in background thread instead of UI thread

* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- status line error reported by Peter Takacs

* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- fix performance goal error reported by Peter Takacs
2023-01-18 14:38:10 +01:00
Carlos Ruiz e90cd93c15
IDEMPIERE-5531 : Auto save confirmation at onPrint (#1643)
- implement the same for Report and Button process
2023-01-17 18:59:43 +01:00
HideakiHagiwara 95a69390d5
IDEMPIERE-5531 : Auto save confirmation at onPrint (#1642)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
2023-01-17 18:56:22 +01:00
hengsin a24de47473
IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget p… (#1621)
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- add DashboardPanel.isLazy
- use background thread

* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel

- Fix aynsc rendering of dashboard gadget
2023-01-16 17:58:37 +01:00
Deepak Pansheriya 7ab1e8c3d5
IDEMPIERE-5528 : Default logic on process dialog not getting value from tab. (#1634) 2023-01-15 10:43:58 +08:00
HideakiHagiwara 9531b29f98
IDEMPIERE-5531 - In the auto save process before displaying FindWindow do not display save confirmation in spite of Automatic commit = 'N'. (#1626)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
2023-01-14 16:15:12 +01:00
Diego Ruiz 920bf2d6e9
IDEMPIERE-5535 - Fixed warning dialog shown wrongly (#1631)
* IDEMPIERE-5535 - Fixed warning dialog shown wrongly

* IDEMPIERE-5535 - Fixed warning dialog shown wrongly in other classes
2023-01-09 21:50:07 +01:00
Carlos Ruiz dd7b63aa0d
IDEMPIERE-5523 Release 10 Peace (#1624)
- move master to release-11 development build
2022-12-24 00:20:49 +01:00
Carlos Ruiz 1d9d504801
IDEMPIERE-5523 Release 10 Peace (#1619)
* IDEMPIERE-5523 Release 10 Peace

* - generate model classes

* - Add release image contributed by Vanessa Castro
2022-12-23 14:27:27 +01:00
Peter Takács 7c0055f797
IDEMPIERE-4781 - Fix Key not ending with _ID (#1608) 2022-12-20 14:13:45 +01:00
Nicolas Micoud bddc400abf
IDEMPIERE-5517: WTextEditorDialog : prevent user from losing text (#1609)
* IDEMPIERE-5517: WTextEditorDialog : prevent user from losing text

* IDEMPIERE-5517: WTextEditorDialog : translate Text tab title
2022-12-20 13:56:12 +01:00
Carlos Ruiz f1aee3ba14
IDEMPIERE-5491 Info Window - implement Select/DeSelect All buttons (FHCA-4016) (#1605)
- Fix status bar not showing correctly on Find Window
2022-12-06 20:57:17 +08:00
Carlos Ruiz 8011c72926
IDEMPIERE-5511 When you want to create a new label display an Oracle Error: ORA-01747: invalid user.table.column, table.column, or column specification (#1602)
* IDEMPIERE-5511 When you want to create a new label display an Oracle Error: ORA-01747: invalid user.table.column, table.column, or column specification

* - correct select
2022-12-06 15:26:57 +08:00
Carlos Ruiz 5466250d93
IDEMPIERE-5443 Date Range Filter Component - fix Message not found error (#1604) 2022-12-06 15:19:13 +08:00
Carlos Ruiz 23735316f9
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) (#1596)
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

Show MFA for support users in System, even if they have roles in several tenants, they can just have MFA defined in System tenant

* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

- Change of approach, the MFA can be shown first when the client is defined, or when the user is defined to belong to a single tenant
  - on the contrary, when we have same user/password in two tenants, the MFA must be delayed until the tenant is identified

- Reviewing this noticed that the Login locking/inactivity logic is working on the full users array, even if the user has a different password (so is a different user)
  Fixed this to work just on the authenticated users - this is, those that have the same password in different tenants
2022-12-02 15:31:56 +08:00
matheus-marcelinux ac81f3529b
IDEMPIERE-5468 - Negate option in parameter panel when component is a Chosen Multiple Selection (#1567)
* # IDEMPIERE-5468 - implement negate option for chosen multiple selection components as process parameter

* # IDEMPIERE-5468 - Negate option in parameter panel when component is a Chosen Multiple Selection

* IDEMPIERE-5468 - ui improvements

* IDEMPIERE-5468 - adding old method signature

* IDEMPIERE-5468 - fix method comment

* # IDEMPIERE-5468 - fix missing methods

* IDEMPIERE-5468 - applying hengsins suggestion and translating tooltips
2022-12-01 13:20:25 +08:00
Peter Takács b4aaabb8b4
IDEMPIERE-5490 - Dashboard Content->Report -> Allow specify Print Format (#1589)
* IDEMPIERE-5490 - Dashboard Content->Report -> Allow specify Print Format

* IDEMPIERE-5490 - add AD_PrintFormat_ID to Dashboard Content table
2022-11-30 11:46:34 +08:00
Carlos Ruiz 2870bd56c7
IDEMPIERE-5500 Autorefresh of Table lists not working correctly (#1591)
* IDEMPIERE-5500 Autorefresh of Table lists not working correctly

* - add back reset method as suggested by hengsin
2022-11-29 19:28:16 +08:00
Peter Takács 7cac30ad13
IDEMPIERE-5499 - Report CSS - set width to 100% (#1590) 2022-11-29 11:23:27 +08:00
Peter Takács 931687169a
IDEMPIERE-5489 - Allow to Start Drill Assistant from Window Field Menu (#1580)
* IDEMPIERE-5489 - Allow to Start Drill Assistant from Window Field Menu

* IDEMPIERE-5489 - fixes

* IDEMPIERE-5489 - fixes

* IDEMPIERE-5489 - remove setting width to 42%
2022-11-28 16:30:20 +08:00
Peter Takács ea092b56ff
IDEMPIERE-5302 - Drill Assistant Feature fixes in initialisation logic (#1581)
* IDEMPIERE-5302 - Drill Assistant Feature fixes in initialisation logic

* IDEMPIERE-5302 - removing scripts commited by mistake

* IDEMPIERE-5302 - pr1581 patch
2022-11-28 15:06:29 +08:00
Carlos Ruiz a217e121fe
IDEMPIERE-5491 Info Window - implement Select/DeSelect All buttons (FHCA-4016) (#1582) 2022-11-27 16:19:26 +08:00
matheus-marcelinux 5419b67762
# IDEMPIERE-5492 - reset workflow activities message- (#1584) 2022-11-27 14:09:14 +08:00
matheus-marcelinux 7621447500
# IDEMPIERE-5494 - enable zoom in WLocationEditor (#1586) 2022-11-27 14:06:39 +08:00
Peter Takács 25de35dbe0
IDEMPIERE-5486 - Advanced Search: Date Fields - NullPointerException (#1576) 2022-11-23 16:59:37 +08:00
Peter Takács bb613037e8
IDEMPIERE-5480 - Date Range Picker Mobile Support (#1566) 2022-11-23 15:53:55 +08:00
Deepak Pansheriya 2074e98616
IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic … (#1244)
* IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic on custom toolbar button

* IDEMPIERE-3334: Fix as per Hengsin suggestion

* IDEMPIERE-3334: Renaming migration scripts, changing VARCHAR2(2000) to VARCHAR2(2000 CHAR) and fixing sql have line starting with @

* IDEMPIERE-3334: SQL Logic evaluate by using Evaluator.parseSQLLogic()

* IDEMPIERE-3334 : Adding support for pressed and readonly logic on Window->Tab->toolbar

* IDEMPIERE-3334 : Adding Hengsin't patch

* IDEMPIERE-3334 : removing ParseContext call
2022-11-23 13:05:14 +08:00
Elaine Tan 2ff6378720
IDEMPIERE-5472 Unclosed resources (#1565)
* IDEMPIERE-5472 Unclosed resources

* IDEMPIERE-5472 Unclosed resources
2022-11-17 17:35:15 +08:00
hengsin 05bf9d6add
IDEMPIERE-5473 Refactoring of WArchive and MArchive (#1555) 2022-11-15 14:51:11 +01:00
hengsin da587235c7
IDEMPIERE-5476 Refactoring of WRequest and MRequest (#1560) 2022-11-14 22:02:14 +01:00
Carlos Ruiz be7fb240cb
IDEMPIERE-870 Fixed Assets using non-existant context variable (#1557)
* IDEMPIERE-870 Fixed Assets using non-existant context variable

* - Implement context variable #IsCanApproveOwnDoc
2022-11-12 21:48:46 +08:00
hengsin 3112ea87b5
IDEMPIERE-5443 Date Range Filter Component (#1559)
Fix Find window: don't default to current month range filter
2022-11-12 11:41:47 +01:00
Peter Takács 6f737cacdd
IDEMPIERE-5467 - Implement IsRange for Info Window fields (#1550)
* IDEMPIERE-5467 - Implement IsRange for Info Window fields

* IDEMPIERE-5467 - refactor DateRangePicker, autodetect feature

* IDEMPIERE-5467 - fixes

* IDEMPIERE-5467 - pr1550 patch
2022-11-11 16:35:04 +08:00
hengsin d50a44c744
IDEMPIERE-5469 Refactoring of TimeUtil (#1549)
* IDEMPIERE-5469 Refactoring of TimeUtil
* IDEMPIERE-5469 Refactoring of TimeUtil
- Merge patch from Carlos
2022-11-10 14:36:53 +01:00
hengsin 5b5a957d87
IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Exp… (#1554)
* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

- merge patch from Carlos
2022-11-08 17:15:25 +01:00
hengsin c926c05d4e
IDEMPIERE-5443 Date Range Filter Component (#1551)
- Fix issue with non-date field
2022-11-08 13:34:16 +01:00
Carlos Ruiz 193141324e
IDEMPIERE-5463 Help on Role Panel selection page (#1548)
* IDEMPIERE-5463 Help on Role Panel selection page

- SysConfig LOGIN_SELECTION_HELP_URL defaulting to https://wiki.idempiere.org/{lang}/Login_Selection_Help
- added WebUtil.isUrlOk
- verify if the login and selection help page exists before opening, otherwise default to english version

* - rename SysConfig LOGIN_SELECTION_HELP_URL to LOGIN_SELECT_ROLE_HELP_URL

* - fix wrong SysConfig name
2022-11-02 22:59:05 +08:00
Peter Takács ed7fb79cd7
IDEMPIERE-5460 - Process Audit doesn't set printing related attribute… (#1543)
* IDEMPIERE-5460 - Process Audit doesn't set printing related attributes when editors are not set

* IDEMPIERE-5460 - fixes
2022-11-02 13:31:29 +08:00
hengsin f9b070bcaf
IDEMPIERE-5459 Refactoring of Payment Form (#1541) 2022-10-31 18:39:55 +01:00
Peter Takács 17b31a14b3
IDEMPIERE-5443 - Fix Date Range Filter Quick mode + update default version (#1547) 2022-10-31 18:12:35 +01:00
hengsin 56fe006d29
IDEMPIERE-5462 Implement Date Range Button for Info Window Query field (#1546) 2022-10-28 11:25:41 +02:00
Carlos Ruiz dd77cc01cb
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) / fix issue with EMail MFA (#1545)
* When user login with EMail MFA the MFA panel is not shown and the Processing message just keep spinning
* Changed the message TenantNotFound by FailedLogin to avoid a brute force attack to discover which tenants are valid in the installation
2022-10-27 15:53:30 +02:00
Peter Takács 59b7e3c899
IDEMPIERE-5443 - Date Range Filter Component (#1526)
* IDEMPIERE-5443 - Date Range Filter Component

* IDEMPIERE-5443 - fix migration script filename

* IDEMPIERE-5443 - new reference type Date Range Picker for process

* IDEMPIERE-5443 - remove Date Range Editor

* IDEMPIERE-5443 - pr1526 patch

* IDEMPIERE-5443 - fixes

* IDEMPIERE-5443 - nix NPE, add Locale
2022-10-27 11:27:13 +08:00
Carlos Ruiz e759c5bd8a
IDEMPIERE-5455 Use Multi-Select parameters in Info Windows (#1536)
* IDEMPIERE-5455 Use Multi-Select parameters in Info Windows

* - fixed display for bp column

* - add more info windows

Co-authored-by: hengsin <hengsin@gmail.com>
2022-10-25 10:56:39 +08:00
Carlos Ruiz cbeb553c9f
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1540)
- add annotation to solve unit test issue
2022-10-21 16:39:27 +02:00
Deepak Pansheriya 891e22d80b
IDEMPIERE-5178: Attribute dialog selection do not show all warehouse ASI on cost adjustment. (#1156) 2022-10-21 11:10:42 +02:00
Peter Takács 978be7a956
IDEMPIERE-5456 - Msg wrong arguments number Format (#1537) 2022-10-21 10:33:47 +08:00
Carlos Ruiz e881e0313a
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1538)
- add SysConfig keys
2022-10-20 16:16:25 +02:00
Carlos Ruiz 67c9cb7abc
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1533)
* IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849)

* - fix wrong default in SysConfig
* - remove unnecessary annotation
* - process the query in a read-only transaction
* - commit not needed since this is readonly
2022-10-20 15:37:28 +02:00
Carlos Ruiz 45a1b4ba4d
IDEMPIERE-5450 Improve misleading name of SysConfig (#1532) 2022-10-17 16:58:19 +02:00
Carlos Ruiz 221384a1ce
IDEMPIERE-5449 Performance: Avoid recount when clicking a process button (#1527)
* IDEMPIERE-5449 Performance: Avoid recount when clicking a process button

* - remove unnecessary comment
2022-10-16 22:21:56 +08:00
Carlos Ruiz 7ffb18b8e2
IDEMPIERE-5450 Form SQL Process has security issues (#1528)
* IDEMPIERE-5450 Form SQL Process has security issues

* - fix javadoc

* - remove unnecessary code

* - minor improvement

* - improve discovery of single word commands
- avoids the need of space in the SysConfig key
2022-10-16 22:21:05 +08:00
Carlos Ruiz 93e42e43e4
IDEMPIERE-5399 Data type Time is mostly useless / Fix issue reported by Nicolas when first value is 01:00 (#1530) 2022-10-16 11:28:24 +08:00
hengsin e6eb86a1c5
IDEMPIERE-5447 Add unit test for Merge form (#1523)
* IDEMPIERE-5447 Add unit test for Merge form

* IDEMPIERE-5447 Add unit test for Merge form

- Merge patch from Carlos
2022-10-12 16:02:56 +08:00
Peter Takács 4474a0ede2
IDEMPIERE-5405 - Drill Assistant - potential Cross Tenant Issue on Table tab (#1461)
* IDEMPIERE-5405 - Drill Assistant - potential Cross Tenant Issue on Table tab

* IDEMPIERE-5405 - include System Print Formats, add ORDER BY
2022-10-11 13:10:52 +02:00
Peter Takács ad29252c5e
IDEMPIERE-5414 - Improve Dashboard Help Icon Behaviour (#1502)
* IDEMPIERE-5414 - Improve Dashboard Help Icon Behaviour

* IDEMPIERE-5414 - replace Toolbar Button with <a><a/>
2022-10-04 17:40:45 +08:00
Carlos Ruiz c1a1045d87
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) (#1498)
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

- Add column AD_Client.LoginPrefix

* - Implement logic to manage login prefix
- Add SysConfig keys LOGIN_PREFIX_SEPARATOR and LOGIN_WITH_TENANT_PREFIX

* - Rename methods as suggested by Heng Sin

* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

For security reasons is better to ask for MFA before showing additional information from the user.
Refactoring the panels to show the MFA panel as soon as the tenant is defined.

* - Add uniqueness validations on tenant creation

* - Fix the Forgot My Password functionality

* - Fix the Change Expired Password functionality

* - minor javadoc improvement
- remove a redundant comment, the method is already mark as deprecated

Co-authored-by: hengsin <hengsin@gmail.com>
2022-10-04 11:14:05 +02:00
hengsin 13d26966b6
IDEMPIERE-5440 Add unit test for Matching form (#1510) 2022-09-30 12:25:20 +02:00
hengsin a6a80b7a8c
IDEMPIERE-5439 Add unit test for Fact Reconciliation form (#1508)
* IDEMPIERE-5439 Add unit test for Fact Reconciliation form

* Update WFactReconcile.java

* Update FactReconcile.java

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:17:22 +02:00
Diego Ruiz 8a51fb8f4a
IDEMPIERE-2205 - Ask for secret input from within a process (#1501) 2022-09-26 19:46:09 +08:00
Peter Takács 08c1727c60
IDEMPIERE-5414 - Add Help icon to Dashboard Content (#1474)
* IDEMPIERE-5414 - Add Help icon to Dashboard Content
2022-09-26 15:31:53 +08:00
hengsin 536eda3546
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1493)
- restore .classpath to remove Tycho Configurator m2e connector
dependency
2022-09-21 14:21:27 +02:00
Elaine Tan 0b8b7da8e5
IDEMPIERE-5396 Replace CreateFrom form with Info Window Process (#1469)
* IDEMPIERE-5396 Replace CreateFrom form with Info Window Process
2022-09-19 18:30:24 +08:00
Carlos Ruiz b5c0809072
IDEMPIERE-5424 NPE when setting SysConfig BACKGROUND_JOB_ALLOWED=N (#1488) 2022-09-17 11:42:19 +08:00
Carlos Ruiz 9bab16fbff
IDEMPIERE-5416 Alt+A is used for Create+New - for usability would be good to use it also for New (#1477)
* IDEMPIERE-5416 Alt+A is used for Create+New - for usability would be good to use it also for New

* Fix test case reported by Heng Sin
2022-09-12 11:23:42 +08:00
Carlos Ruiz 7e6ba65858
IDEMPIERE-5413 PO is Immutable in Report Wizard (#1473) 2022-09-09 14:32:33 +02:00
Peter Takács 005a1847e8
IDEMPIERE-5412 - Improve Dashboard Theme Look (#1471)
* IDEMPIERE-5412 - Improve Dashboard Theme Look

* IDEMPIERE-5412 - added message: NoDataAvailable

* IDEMPIERE-5412 - update default theme version
2022-09-09 14:55:54 +08:00
Peter Takács 27d01814e7
IDEMPIERE-5400 - Gauge Indicator Style and Color Improvement (#1470)
* IDEMPIERE-5400 - Gauge Indicator Style and Color Improvement

* IDEMPIERE-5400 - patch pr1470
2022-09-09 14:14:50 +08:00
Peter Takács 8589601b49
IDEMPIERE-5389 - improve Status Line as Dashboard Content height (#1468)
* IDEMPIERE-5389 - improve Status Line as Dashboard Content height

* IDEMPIERE-5389 - fix firefox issue, refactor fixed widget same height
2022-09-07 22:50:35 +08:00
Deepak Pansheriya 8c5c0ecbfa
IDEMPIERE-5326: Parsing error for report view if where clause and vir… (#1385)
* IDEMPIERE-5326: Parsing error for report view if where clause and virtual column used in print format

* IDEMPIERE-5326: Fixing Compilation error

* IDEMPIERE-5326: Adding method back for backward compitability

* IDEMPIERE-5326: Adding constructors  for backward compitability
2022-09-07 21:45:23 +08:00
Peter Takács 1f4a23657a
IDEMPIERE-5400 - Dashboard Goal Content should render as single Gauge Indicator (#1458)
* IDEMPIERE-5400 - Dashboard Goal Content should render as single Gauge Indicator

* IDEMPIERE-5400 - better css responsivity

* IDEMPIERE-5400 - add update goal

* IDEMPIERE-5400 - fixes

* IDEMPIERE-5400 - resolved conflict, migration fix

* IDEMPIERE-5400 - fix bad merge
2022-09-07 21:40:29 +08:00
Peter Takács ee3476c3eb
IDEMPIERE-5409 - Dashboard Content - Maximizable checkbox (#1467)
* IDEMPIERE-5409 - Dashboard Content - Maximizable checkbox

* IDEMPIERE-5409 - IsMaximizable default 'Y'

* IDEMPIERE-5393 - fixes

* IDEMPIERE-5409 - fixed script name
2022-09-07 17:00:18 +08:00
Peter Takács d249509b80
IDEMPIERE-5406 - Define max-height to Charts in Dashboard Row Layout (#1462)
* IDEMPIERE-5406 - Define max-height to Charts in Dashboard Row Layout

* IDEMPIERE-5406 - Define max-height only in Row Layout

* IDEMPIERE-5406 - media query added

* IDEMPIERE-5406 - update default theme version
2022-09-07 15:28:54 +08:00
Peter Takács 3756af2e55
IDEMPIERE-5389-fix - additional row height fix (#1466) 2022-09-07 07:41:41 +08:00
hengsin 92cdb06129
IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1463)
- replace jfreechart with https://github.com/naver/billboard.js
2022-09-07 00:36:43 +02:00
Carlos Ruiz 8cd20b9e88
IDEMPIERE-5399 Data type Time is mostly useless (#1456) 2022-08-30 20:14:17 +08:00
Peter Takács e528c6f8cb
IDEMPIERE-5389 - Dashboard row layout (#1448)
* IDEMPIERE-5389 - Dashboard row layout

* IDEMPIERE-5389 - taking changes related to ticket 5393

* IDEMPIERE-5389 - added Flex Grow to Preference

* IDEMPIERE-5389 - fixing gadget heights

* IDEMPIERE-5389 - center alignment for Status Line

* IDEMPIERE-5389 - fall back to column layout

* IDEMPIERE-5389 - pr1448 patch

* IDEMPIERE-5389 - FixOracleMigration patch
2022-08-30 10:11:42 +02:00
Nicolas Micoud 527ccfcf35
IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor - only for MultipleSelectionList editors / available for process parameters (#1454)
* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor

Do not show Assistant for TableDir editors
Show Assistant for process parameters

* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor - Show Assistant for process parameters

Better code from @hengsin

* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor - only for MultipleSelectionList editors

Comment to explicitely state that the Assistant is for MultipleSelectionList editors only (ie not
for MultipleSelectionTable editors)
2022-08-29 17:21:46 +08:00
Nicolas Micoud d0d42ffaf1
IDEMPIERE-5361 : Jasper reports with Charts are not working (#1452)
* IDEMPIERE-5361 : Jasper reports with Charts are not working

* IDEMPIERE-5361 : patch from hengsin
2022-08-26 09:35:54 +08:00
Peter Takács 0aaf904e34
IDEMPIERE-5393 - Allow rendering status line as widget/gadget in dashboard (#1449)
* IDEMPIERE-5393 - Allow rendering status line as widget/gadget in dashboard

* IDEMPIERE-5393 - css class for status line

* IDEMPIERE-5393 - update default theme version
2022-08-24 15:49:06 +08:00
Carlos Ruiz 2dab2d9882
IDEMPIERE-5394 Export to XLSX in Info Windows and Account Viewer (#1450)
* IDEMPIERE-5394 Export to XLSX in Info Windows and Account Viewer
2022-08-24 09:33:12 +08:00
hengsin 360861e300
IDEMPIERE-5392 Maven Build: add flag to skip auto clean (#1447)
* IDEMPIERE-5392 Maven Build: add flag to skip auto clean

* IDEMPIERE-5392 Maven Build: add flag to skip auto clean

- Add -DmaterializeProduct flag. Use -DmaterializeProduct=none to turn
off part of org.idempiere.p2 build.
- Add parallel execution setting for test.

* IDEMPIERE-5392 Maven Build: add flag to skip auto clean

- handle potential multi threaded conflict on context property
2022-08-22 17:09:33 +02:00
Peter Takács ab78a8acbd
IDEMPIERE-5369 - Dashboard Cross Tenant Check (#1425) 2022-08-19 12:01:22 +02:00
Peter Takács e670ebbd14
IDEMPIERE-5302 - Drill Assistant Feature with re-generated migration scripts (#1390)
* IDEMPIERE-5302 - Drill Assistant Feature with re-generated migration scripts

* IDEMPIERE-5302 - added IsShowInDrillOptions, ID fixes

* IDEMPIERE-5302 - added IsShowInDrillOptions default Y

* IDEMPIERE-5302 - creating Table Print Formats on Run Report

* IDEMPIERE-5302 - applied pr1390_fixes patch

* IDEMPIERE-5302 - applied pr1390_badimports patch
2022-08-17 18:08:45 +08:00
Carlos Ruiz db2e59c163
IDEMPIERE-5385 PDF attachments cannot be displayed in firefox (#1442)
* IDEMPIERE-5385 PDF attachments cannot be displayed in firefox
2022-08-15 15:26:00 +08:00
Deepak Pansheriya c929d60e3b
IDEMPIERE-5312: Allowing Drag and drop file in Attachment dialog (#1415)
* IDEMPIERE-5312: Allowing Drag and drop file in Attachment dialog

* IDEMPIERE-5312: Fixing as per Hengsin's code review comments

* IDEMPIERE-5312:  Applying txt file uplaod issue fix from Carlos
2022-08-12 23:13:45 +08:00
Carlos Ruiz 9bfc177697
IDEMPIERE-5378 MFA must allow to select the mechanism when the user has several registered (FHCA-3808) (#1434)
* IDEMPIERE-5378 MFA must allow to select the mechanism when the user has several registered (FHCA-3808)

* IDEMPIERE-5378 auto select when TOTP is the only mechanism
2022-08-12 17:30:54 +08:00
Carlos Ruiz 5bd3af0d2f
IDEMPIERE-236 Centralization of hardcoded IDs (#1429)
* IDEMPIERE-236 Centralization of hardcoded IDs

* IDEMPIERE-236 Centralization of hardcoded IDs
2022-08-09 22:12:54 +08:00
Peter Takács c92d1b3896
IDEMPIERE-5356 - Printing Support on ProcessInfoDialog - NPE fix (#1428)
* IDEMPIERE-5356 - NPE fix

* IDEMPIERE-5356 - applied 1428_pr patch
2022-08-09 11:50:06 +02:00
Peter Takács 0d05606682
IDEMPIERE-5362 - Attribute Dialog UX improvments 2022 aug (#1418)
* IDEMPIERE-5362 - Attribute Dialog should use scroll when many attributes

* IDEMPIERE-5362 - adding max height to dialog
2022-08-09 15:08:17 +08:00
Diego Ruiz da37cf8871
IDEMPIERE-4723 - Deprecate and replace FDialog (#1421)
* IDEMPIERE-4723 - Replace FDialog class

* IDEMPIERE-4723 - Refactor Dialog code

* IDEMPIERE-4723 - Deprecate FDialog

* IDEMPIERE-4723 - Add deprecated message in the FDialog class. Make Dialog final and add a private constructor

* IDEMPIERE-4723 - Remove unused imports
2022-08-09 15:06:21 +08:00
hengsin 1fcbd5ea07
IDEMPIERE-5358 Refactor CreateFrom (#1413)
* IDEMPIERE-5358 Refactor CreateFrom

* IDEMPIERE-5358 Refactor CreateFrom

- Fix java doc

* IDEMPIERE-5358 Refactor CreateFrom

- Fix SQL error for Oracle (SELECT without FROM only works for
PostgreSQL).

* IDEMPIERE-5358 Refactor CreateFrom

- revert change of protected method name.
2022-08-04 12:42:53 +02:00
Peter Takács 5931f6ce8f
IDEMPIERE-5356 - Add Printing Support to ProcessInfoDialog (#1412)
* IDEMPIERE-5356 - Add Printing Support to ProcessInfoDialog
2022-08-02 17:10:52 +08:00
Alan Lescano 11962e1713
IDEMPIERE-5259 Labels feature (#1357)
* IDEMPIERE-5259 Labels feature
* IDEMPIERE-5259 Update the theme version timestamp
* IDEMPIERE-5259 Better javadoc
* Update 202205131118_IDEMPIERE-5259.sql
* Update 202205131118_IDEMPIERE-5259.sql
* IDEMPIERE-5259 New window Label Assignment
* IDEMPIERE-5259 Toggle issue
* IDEMPIERE-5259 MSysConfig is ordered alphabetically
* IDEMPIERE-5259 Default SysConfig
* IDEMPIERE-5259 Avoid duplicated records
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-08-01 21:51:38 +02:00
Peter Takács c62a9ad066
IDEMPIERE-1965 - Implement Generate Invoices (manual) as Info Window (#1400)
* IDEMPIERE-1965 - Implement Generate Invoices (manual) as Info Window
* IDEMPIERE-1965 - fixes
* IDEMPIERE-1965 - Deprecate Form
* IDEMPIERE-1965 - backwards compatibility
* IDEMPIERE-1965 - vendor RMA form legacy
* IDEMPIERE-1965 - merge patch
* IDEMPIERE-1965 - 1965_PR patch
2022-08-01 20:41:39 +02:00
Nicolas Micoud 58027792d8
IDEMPIERE-5342 : Ability to hide the title of the chart when displaye… (#1392)
* IDEMPIERE-5342 : Ability to hide the title of the chart when displayed on Home page
2022-07-21 20:09:11 +08:00
Carlos Ruiz 9a977d6e16
IDEMPIERE-56 / IDEMPIERE-4723 Clean up iDempiere's code (#1402)
Cleanup useless code - as the value is assigned the condition below is always true
2022-07-21 18:37:27 +08:00
Peter Takács c001169a5f
Idempiere-1963 - Implement Generate Shipments (manual) as Info Window (#1394)
* IDEMPIERE-1963 - Implement Generate Shipments (manual) as Info Window

* IDEMPIERE-1963 - reverting changes commited by mistake

* IDEMPIERE-1963 - Implement Generate Shipments (manual) as Info Window

* IDEMPIERE-1963 - patches for fixes and deprecation
2022-07-20 14:47:32 +02:00
Carlos Ruiz 9538739544
IDEMPIERE-4592 Bank Statement Loader zoom in the Load Bank Statement process throws an exception when the field is empty (#1401)
IDEMPIERE-4592 #resolve
2022-07-20 12:29:41 +02:00
Diego Ruiz 090893e051
IDEMPIERE-5177 - Fiixed search in detail broken after navigating betw… (#1396)
* IDEMPIERE-5177 - Fiixed search in detail broken after navigating between master records

* IDEMPIERE-5177 - Fixed search in detail broken after navigating between master records
2022-07-18 15:23:50 +02:00
Diego Ruiz edc590967e
IDEMPIERE-4723 - Removed dead code from org.adempiere.webui.window.* (#1397) 2022-07-15 05:53:51 +08:00
Carlos Ruiz 1846439e92 Revert "IDEMPIERE-5302 - Drill Assistant Feature (#1345)"
This reverts commit 809e3ae734.
2022-07-08 13:25:19 +02:00
hengsin b0021954e6
IDEMPIERE-5337 Refactoring of Generate Charge from Account form (#1384) 2022-07-07 15:41:05 +02:00
hengsin d4801e3cb2
IDEMPIERE-5327 Refactoring and clean up of BOM Drop form (#1381)
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form

* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form

- Fix scrolling of center content.

* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form

- add Feature group support
2022-07-07 15:12:36 +02:00
Nicolas Micoud 52948a479c
IDEMPIERE-5335 : InfoWindows opened from WChosenboxSearchEditor should allow multi selection (#1383) 2022-07-03 15:45:48 +08:00
Peter Takács 809e3ae734
IDEMPIERE-5302 - Drill Assistant Feature (#1345)
* IDEMPIERE-5302 - Drill Assistant Feature
2022-06-30 20:08:22 +08:00