Commit Graph

3480 Commits

Author SHA1 Message Date
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
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