Commit Graph

14915 Commits

Author SHA1 Message Date
Carlos Ruiz 1fb4248ab9
IDEMPIERE-5706 Improvements to Tab Editor in Window Customization (#1817) 2023-05-01 16:44:51 +02:00
Carlos Ruiz be245e0767
IDEMPIERE-5705 Field Event Change Log is not read only (#1816) 2023-05-01 14:41:09 +02:00
Carlos Ruiz 70413f206b
IDEMPIERE-5703 NPE when importing Physical Inventory using Import CSV button (#1813)
* IDEMPIERE-5703 NPE when importing Physical Inventory using Import CSV button

* - implement better approach suggested by Heng Sin
2023-05-01 20:05:03 +08: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
Jose Leite 61118b8877
IDEMPIERE-5698 - Improvement for display all events errors (#1807)
* IDEMPIERE-5698 - mprovement for display all events errors

* IDEMPIERE-5698 - Improvement for display all events errors in all methods of class
2023-04-28 22:55:43 +08:00
Diego Ruiz 1de363d65d
IDEMPIERE-5699 - Deactivated Product Info toolbar button (#1809) 2023-04-28 13:18:57 +02: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 f18bb88f4b
IDEMPIERE-5691 Add Table Direct type joint method to Query (#1802) 2023-04-28 12:16: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
Nicolas Micoud 254dcb3955
IDEMPIERE-5696: Width of last column of reports exported as Xlsx is n… (#1806)
* IDEMPIERE-5696: Width of last column of reports exported as Xlsx is not correct

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

* IDEMPIERE-5696: Width of last column of reports exported as Xlsx is not correct - patch from hengsin

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

---------

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2023-04-27 13:34:11 +08:00
Jefferson Dalfre 796ab2d95f
IDEMPIERE-5663 (#1776) 2023-04-27 10:05:59 +08:00
Jose Leite ade419e699
IDEMPIERE-5668 - Improvements to the copy role process (#1780)
* IDEMPIERE-5668 - Improvements to the copy role process

* IDEMPIERE-5668 - Adjustments to the parameters of the copyRole process
2023-04-27 09:58:00 +08: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
Carlos Ruiz 5bf9301764
Fixes IDEMPIERE-5673 Wrong character causes java.awt.IllegalComponentStateException: This component must have a parent in order to determine its locale on reports (#1785) 2023-04-24 18:14:28 +08:00
Carlos Ruiz 274398fdd5
IDEMPIERE-5685 Do not Create Production for AutoProduce products (#1796) 2023-04-24 18:13:15 +08:00
Carlos Ruiz 80347c0926
Fixes IDEMPIERE-2194 GL Journal Distribution writes no DocumentNo in Accounting Fact Description (#1795)
- Copy the information from the line being distributed
2023-04-23 17:12:50 +08:00
Carlos Ruiz d201650cf4
Fixes IDEMPIERE-5684 Bad naming of Automatic 2Packs stop the whole process (#1794) 2023-04-23 13:19:38 +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
Carlos Ruiz 449c124fe1
IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195) (#1787)
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195) - fix broken unit tests

* - Fix problem with unit test:
MTestTest.testReadingUpdatingTest:65 expected: <Test setting description> but was: <Test setting descriptionMTestEventDelegate>
2023-04-19 09:07:32 +08:00
Carlos Ruiz beed782d4e
IDEMPIERE-5675 MTable.getPO cache for model factory wrongly removing from cache when PO is not found (#1788) 2023-04-18 14:34:29 +02:00
Jose Leite d0e6c050bd
IDEMPIERE-5674 - Fix null pointer exception when remove favorites nodes (#1786) 2023-04-18 16:24:29 +08:00
Carlos Ruiz 37cab23ef1
IDEMPIERE-5662 Replenish Report - improvements (#1775) 2023-04-18 15:02:05 +08:00
Peter Takács f6d89ffe26
IDEMPIERE-5666 - fix NPE on refreshing report (#1784) 2023-04-18 14:53:47 +08:00
Deepak Pansheriya 76daedf6ad
IDEMPIERE-5671: Fixing Line net amount has error due to rounding. (#1782)
* IDEMPIERE-5671: Fixing Line net amount has error due to rounding.

* IDEMPIERE-5671: on price calculation add 12 decimal rounding to avoid rounding error
Co-authored-by: carg67@gmail.com
2023-04-17 10:25:05 +02:00
Jefferson Dalfre dd0e6c95ea
IDEMPIERE-5665 - [Multi Selection] - Negate option in process parameter (#1779)
* IDEMPIERE-5665

* IDEMPIERE-5665 - Fix code
2023-04-14 16:07:40 +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
Carlos Ruiz a811b62b56
IDEMPIERE-5567 Support of UUID as Key - Constraints (FHCA-4195) (#1773)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Fix unique constraints

* - Create/Complete Table must create the UU idx and constraint when it does not exist

* - Create 65 UUID constraints/indexes existing in database but missing in dictionary

* - Set all official UUID columns with the new UUID data type
2023-04-12 12:22:53 +08:00
Carlos Ruiz c80d53674a
IDEMPIERE-5567 Support of UUID as Key - Generate Model Classes (FHCA-4195) (#1772)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

New generated model classes with new UUID constructor

* - In order to use UUID constructor M classes must implement the constructor too
- Adding the constructor on MTest and adding a JUnit test to test/show how it works

* - Remove warning caused by changes on this ticket

* - Add UUID constructor to factories

* - Set new UUID constructor in mapped/annotated test classes
- Preparation for the new UUID constructor

* - Add UUID constructor to core model classes
- WARNING: MPaymentBatch(Properties, String, String) already existed with Name as parameter, it was changed to UUID
2023-04-12 11:02:33 +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
Carlos Ruiz 2e9b1222d3
IDEMPIERE-5560 Fix broken unit tests (#1770) 2023-04-06 16:04:45 +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
Peter Takács 30d89378c8
IDEMPIERE-5659 - New Document Base Type Group Window (#1768)
* IDEMPIERE-5659 - New Document Base Type Group Window

* IDEMPIERE-5659 - fixes

- renaming the table, model and elements according to the ticket
- removing MDocBaseGroup beforeSave validation
- adding an unique index for the Line table
2023-04-04 13:04:41 +02:00
Peter Takács 33de756336
IDEMPIERE-5645 - Print Format Script Column cannot find Columns from context (#1760)
* IDEMPIERE-5645 - Print Format Script Column cannot find Columns from context

* IDEMPIERE-5645 - move script columnd parsing after 'all rows' loop

* IDEMPIERE-5645 - fixes
2023-04-04 14:32:57 +08:00
Carlos Ruiz 9e18bc725e
IDEMPIERE-5174 Disable System User - Set new System (#1769) 2023-04-04 11:36:30 +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
Peter Takács 3cb7d395e1
IDEMPIERE-5652 - Print Format: Format Pattern is not Applied on Grouping/Summary rows (#1762) 2023-04-02 15:40:10 +08:00