Commit Graph

3311 Commits

Author SHA1 Message Date
Peter Takács 3bf447b009
IDEMPIERE-5683 - Improve Record ID and Record UU by Constraint Type (#1810)
* IDEMPIERE-5683 - Improve Record ID and Record UU by Constraint Type

* IDEMPIERE-5683 - replace direct sql with model classes

- rename deleteSetNull to setRecordIdNull
- replace direct sql with model classes in deleteCascade, setRecordIdNull
- remove unnecessary change from AD_Ref_List

* IDEMPIERE-5683 - cache tables arrays in PO_Record

* IDEMPIERE-5683 - fix Dynamic Validation

* IDEMPIERE-5683 - change CleanOrphanCascade

- IsCleanChangeLog process parameter removed
- replace direct sql with java model
- delete just on Model Cascade constraint
- new Set Null rule implemented

* IDEMPIERE-5683 - fix when Record_ID is mandatory
2023-05-06 00:57:09 +02:00
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
Diego Ruiz 1de363d65d
IDEMPIERE-5699 - Deactivated Product Info toolbar button (#1809) 2023-04-28 13:18:57 +02: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 3a01dc8aa9
IDEMPIERE-5669 - Display Row Count of Executed Reports (#1781) 2023-04-19 14:45:21 +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 37cab23ef1
IDEMPIERE-5662 Replenish Report - improvements (#1775) 2023-04-18 15:02:05 +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
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
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
Deepak Pansheriya 5199247a1e
IDEMPIERE-5602 : Adding PriceEntered in Expense report (#1759) 2023-03-30 13:29:38 +02:00
muriloht 1441b9095a
IDEMPIERE-5647 - allow define context variables by role (#1753)
* IDEMPIERE-5647 - allow define context variables by role

* IDEMPIERE-5647 - fix PR comment
2023-03-29 12:44:15 +02:00
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 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
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
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
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
Carlos Ruiz 317dc9b4ea
IDEMPIERE-5616 Reverse Shipments don't post because of Not Balanced in special case - add performance index (#1733) 2023-03-15 18:59:02 +08:00
Carlos Ruiz c48dd3b6a1
IDEMPIERE-5573 - Enable Showing Inactive Records through Reference - integrate to release-10 (#1731) 2023-03-14 16:51:46 +01:00
Peter Takács a448838b8c
IDEMPIERE-5238 - new reference for Table (#1723)
* IDEMPIERE-5238 - new reference for Table

- creating new reference: AD_Table Name for the Record ID editor to be able to type in the Table field by Name instead of TableName

* IDEMPIERE-5238 - move scripts to iD10
2023-03-14 16:34:40 +01:00
Carlos Ruiz 53221d05ad
IDEMPIERE-5623 Create Lines From in Shipment must show pending quantities - fix oracle script (#1730) 2023-03-14 16:19:04 +01:00
Carlos Ruiz 4c77efecb4
IDEMPIERE-5613 Make filling of _UU column optional (#1719)
* IDEMPIERE-5613 Make filling of _UU column optional

* - clear _UU when column is made inactive

* - Add parameter IsClearUUID
- Fix issue with buffer log not being flushed
2023-03-14 20:20:57 +08:00
hengsin b188775e9a
IDEMPIERE-5624 Implement export data as SQL insert statement (#1721) 2023-03-13 15:57:45 +01:00
Carlos Ruiz 0bdc997efe
IDEMPIERE-5623 Create Lines From in Shipment must show pending quantities (#1710) 2023-03-12 21:31:46 +08:00
Diego Ruiz eba11c4dde
IDEMPIERE-5622 - Language in Window and Info Window customization sho… (#1713)
* IDEMPIERE-5622 - Language in Window and Info Window customization should be filtered by log in languages

* IDEMPIERE-5622 - change UU for ID
2023-03-12 15:40:38 +08:00
Peter Takács b9bed8690a
IDEMPIERE-5576 - Disallow "period close and permanent close" when unposted documents exists (#1678)
* IDEMPIERE-5576 - Disallow "period close and permanent close" when unposted documents exists

* IDEMPIERE-5576 - fixes

* IDEMPIERE-5576 - return message for process

* IDEMPIERE-5576 - added SysConfig

* IDEMPIERE-5576 - added DocStatus check

* IDEMPIERE-5576 - pr1678PR1 patch
2023-03-07 11:36:26 +01: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
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
Peter Takács a69162fff8
IDEMPIERE-5592 - Add C_Calendar_ID to Period Control Management (#1693) 2023-03-02 17:24:30 +01: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 eab14e9b5d
IDEMPIERE-5093 : Scheduler cron pattern scheduling is always using server time zone - fix Oracle scripts (#1684) 2023-03-02 12:07:26 +01: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
Diego Ruiz 291a4df19e
IDEMPIERE-5664 - Improve the message thrown by Import CSV Process when a field does not exist in the tab (#1660) 2023-02-03 10:13:33 +08: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 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
Carlos Ruiz 0bd2b5811e
IDEMPIERE-5302 Drill Assistant Feature (#1649)
* IDEMPIERE-5302 Drill Assistant Feature

- make process not updateable and parameters advanced

* - move scripts to release-10
2023-01-26 13:08:03 +01:00
Nicolas Micoud 60678973a4
IDEMPIERE-5507 : Sync Print format items with Report view columns (#1597)
https://idempiere.atlassian.net/browse/IDEMPIERE-5507
2023-01-24 13:48:27 +01:00
Carlos Ruiz c28655af5f
IDEMPIERE-5534 Make configurable the maximum records in lists (#1630)
* IDEMPIERE-5534 Make configurable the maximum records in lists

* - Impose hardcoded limit of 50.000 as suggested by Heng Sin

* - SysConfig name MAX_ROWS_IN_TABLE_COMBOLIST

* - change message
2023-01-19 19:16:07 +08:00
Carlos Ruiz 54659001ff
IDEMPIERE-5229 After migrate helper (FHCA-4070) (#1645)
- Fix NullPointerException when the customized record does not exist
- Fix reporting false positives on tables/columns not audited
2023-01-18 22:36:22 +01:00
Carlos Ruiz f2684bad08
IDEMPIERE-5229 After migrate helper (FHCA-4070) (#1638)
* IDEMPIERE-5229 After migrate helper (FHCA-4070)
* - remove useless comment
* - improve comment positioning
2023-01-18 13:01:40 +01:00
Jefferson Dalfre c047592862
IDEMPIERE-5526 - Translation Bom Verify Proces (#1623)
* IDEMPIERE-5526 - Translation Bom Verify Proces
2023-01-16 16:21:55 +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
Carlos Ruiz e884e8ef22
IDEMPIERE-5088 Implement Bank Transfer as Transactional Document like Payment (#1618)
- change table to search for performance - IDEMPIERE-5523
2022-12-23 12:26:18 +01:00
Carlos Ruiz 1d932b8d7d
IDEMPIERE-5302 Drill Assistant Feature (#1617)
- fix column length / IDEMPIERE-5523
2022-12-23 12:09:56 +01:00
Carlos Ruiz 6830ebe477
IDEMPIERE-5523 Release 10 Peace (#1616)
- fix wrong entity types
2022-12-23 12:04:38 +01:00
Carlos Ruiz 3c0628c7bc
IDEMPIERE-5259 (CRM) Labels/tags feature (#1615)
- do not display UUID fields / IDEMPIERE-5523
2022-12-23 11:46:17 +01:00
Carlos Ruiz d074e173d1
IDEMPIERE-5295 Trial Balance Report creates wrong Opening Balance (#1614)
- Add column T_TrialBalance_UU / IDEMPIERE-5523
2022-12-23 11:38:54 +01:00
Carlos Ruiz 7598a39018
IDEMPIERE-5302 Drill Assistant Feature (#1613)
- Add missing primary keys / IDEMPIERE-5523
2022-12-23 11:08:14 +01:00
hengsin 06b02889f8
IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has incon… (#1598)
* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- refinement and added unit tests

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- add unit test for lot level costing

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- fix unit test error.

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- add unit test for cost adjustment

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- add unit test for physical inventory

* IDEMPIERE-5503 Product Costs > Cost Movement > Field AMOUNT has inconsistent +/- signs

- add unit test for PO landed cost
2022-12-20 14:29:07 +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
Nicolas Micoud 047674b2a1
IDEMPIERE-5505 : Add Value and PrintName on GL_Category (#1594)
* IDEMPIERE-5505 : Add Value and PrintName on GL_Category
https://idempiere.atlassian.net/browse/IDEMPIERE-5505

* IDEMPIERE-5505 : Add Value and PrintName on GL_Category - Value is mandatory
* IDEMPIERE-5505 : Add Value and PrintName on GL_Category - set Value to 60 chars
* IDEMPIERE-5505: Add Value and PrintName on GL_Category - add Index on Value
* IDEMPIERE-5505 : Add Value and PrintName on GL_Category - Missing AD_Sequence for Value column

integrate patch from @CarlosRuiz-globalqss
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
2022-12-06 11:50:06 +01:00
Carlos Ruiz 816e57ec5a
IDEMPIERE-5371 : Adding user session reference on Process Instance (#1603)
* IDEMPIERE-5371 : Adding user session reference on Process Instance

* - Peer review

Co-authored-by: dpansheriya <deepakpansheriya@gmail.com>
2022-12-05 15:16:06 +01:00
matheus-marcelinux d28ee2e008
IDEMPIERE-5468 - adjusting migration script with centralized IDs (#1600)
* IDEMPIERE-5468 - adjusting migration script with centralized ids
2022-12-04 15:56:01 +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
Elaine Tan e723456063
IDEMPIERE-5504 Very slow performance retrieving Product Costs > Cost Movement records (#1593) 2022-11-30 17:20:31 +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 8e886a26d6
IDEMPIERE-5497 Support User vs Roles - minor improvement - change Role to list (FHCA-4016) (#1588) 2022-11-28 14:31:07 +01:00
Nicolas Micoud fbc4ae35b0
Fix Dynamic Validation "AD_Column in AD_Table (not present in WS_WebServiceFieldIn)" (#1578)
https://idempiere.atlassian.net/browse/IDEMPIERE-5487
2022-11-24 11:02:46 +08:00
Carlos Ruiz 07e7f03028
IDEMPIERE-3334 Adding support for Readonly Logic, Set Pressed Logic on custom toolbar button / fix script (#1579) 2022-11-23 12:01:17 +01:00
Elaine Tan 704343fe22
IDEMPIERE-5453 Payment Selection > Payment Selection Line allows the same invoice to be added several times for payment (#1574) 2022-11-23 17:24:57 +08:00
Carlos Ruiz 2e0317e54c
IDEMPIERE-5484 Import GL Journal fails with SQL error because of NVL (#1573) 2022-11-23 16:22:52 +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
hengsin 222c201d78
IDEMPIERE-5481 PostgreSQL: trunc(timestamp,format) missing version for TIMESTAMP WITHOUT TIME ZONE (#1569) 2022-11-21 13:56:25 +01:00
Carlos Ruiz 4d9bc5340c
IDEMPIERE-5474 Fixed Assets don't allow depreciation on 18 months (#1562) 2022-11-16 15:47:36 +08:00
Carlos Ruiz f84ca70440
IDEMPIERE-2398 Renamed FA_ProjectCreateAsset to "Create Asset from Project" and added/fixed broken parameters (#1556)
* IDEMPIERE-2398 Renamed FA_ProjectCreateAsset to "Create Asset from Project" and added/fixed broken parameters

* IDEMPIERE-2398 - improve error message of process

* - set asset value from project committed amount

* - set asset value back from project balance amount
- make the project balance amount editable
- add link to the asset addition at the end of the process

Co-authored-by: Chuck Boecking <chuck@chuboe.com>
2022-11-14 22:29:11 +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
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
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 d76c6257fa
IDEMPIERE-5057 Implement Deductible and non deductible input tax for … (#1542)
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing

- Fix error when user change invoice/order line to use parent tax

* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing

- Miss MRMATax in previous commit.

* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing

- Fixed order/invoice tax lines not created after save
2022-11-01 14:48:17 +01: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 495c9ef108
IDEMPIERE-2901 Period Control Management / Change period status and docbasetype to multiple-selection list (#1535) 2022-10-21 10:07:08 +08:00
Carlos Ruiz b2d33a6765
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1539)
- move scripts to release-9
2022-10-20 16:23:34 +02: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 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 d421dba94e
IDEMPIERE-5445 Implement multiplier and rounding for financial reports (#1524)
* IDEMPIERE-5445 Implement multiplier and rounding for financial reports

* - Improve loop
2022-10-16 11:29:12 +02:00
Peter Takács 5cd7149664
IDEMPIERE-5418 - Add Translation for AD_ChartDatasource (#1479)
* IDEMPIERE-5418 - Add Translation for AD_ChartDatasource

* IDEMPIERE-5418 - fixes on translation tab

* IDEMPIERE-5418 - fix: added primary key

* IDEMPIERE-5418 - pr1 patch
2022-10-13 15:12:18 +02: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 a96c6e482d
IDEMPIERE-5432 - Performance Measure Calculation - Improve SQL Definition (#1500)
* IDEMPIERE-5432 - Performance Measure Calculation - Improve SQL Definition

* IDEMPIERE-5432 - IDEMPIERE-5432_PR1 patch
2022-10-07 14:01:12 +08:00
Deepak Pansheriya abae9f221d
IDEMPIERE-5349: Adding AlwaysUpdatableLogic on Column and Field. (#1408)
* IDEMPIERE-5349: Adding AlwaysUpdatableLogic on Column and Field.

* IDEMPIERE-5349: Making Always Updatable logic to work when isAlwaysUpdatable is false and iAlwaysUpdatable made higher priority

* IDEMPIERE-5349: fixing error SP2-0027 in oracle

* IDEMPIERE-5349 : Fixing AlwaysUpdatableLogic not set when isAlwaysUpdatableLogic is null

* IDEMPIERE-5349 : renaming migration script and updatong AD_Field_V and AD_Field_VT
2022-10-06 13:53:32 +08:00
Carlos Ruiz 51841d0a39
Minor - solve two new eclipse 2022-09 warnings (#1515) 2022-10-06 11:48:13 +08:00
Carlos Ruiz d33caf9807
IDEMPIERE-5259 fix "Msg.getMsg: NOT found: Label" error (#1516) 2022-10-06 11:47:35 +08:00
hengsin 476e9ab71c
IDEMPIERE-5396 Replace CreateFrom form with Info Window Process (#1514)
- Fix Default AD_InfoWindow_ID value of AD_Column
2022-10-05 11:00:42 +02:00
Carlos Ruiz bc9f0433a2
IDEMPIERE-5408 move scripts to release9 (#1513) 2022-10-04 18:03:25 +02: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
Layda Salas dbcfd9af14
IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUEN… (#1511)
* IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUENCE #resolve

* IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUENCE #resolve

* revert unwanted changes in launcher

* revert unwanted changes in launcher

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:31:33 +02:00
Nicolas Micoud c9005bd601
IDEMPIERE-5245: Fix missing capitals on first letter of elements starting with "Date..." (#1509)
https://idempiere.atlassian.net/browse/IDEMPIERE-5245
2022-09-30 12:04:13 +02:00