Commit Graph

3293 Commits

Author SHA1 Message Date
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
Nicolas Micoud 297dbc73df
IDEMPIERE-5438: Web Service Security > Access tab should allow to sel… (#1506)
* IDEMPIERE-5438: Web Service Security > Access tab should allow to select WS roles only

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

* IDEMPIERE-5438: Web Service Security > Access tab should allow to select WS roles only

Role with RoleType = null can also be used for WS, so must be included in available roles

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:00:55 +02:00
Nicolas Micoud 98c9dfc844
IDEMPIERE-5434 : Allow to define db view component with DISTINCT (#1505)
https://idempiere.atlassian.net/browse/IDEMPIERE-5434
2022-09-30 13:52:43 +08:00
Nicolas Micoud 011ac10a4f
IDEMPIERE-5243: More columns to increase length - AD_Val_Rule.Code to 4000 (#1507)
https://idempiere.atlassian.net/browse/IDEMPIERE-5243
2022-09-30 10:33:12 +08:00
Carlos Ruiz cdf36a785f
IDEMPIERE-4297 GardenWorld Periods 2023 to 2030 (#1491) 2022-09-21 13:44:56 +08: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 08c61a7207
IDEMPIERE-3340 Fix issue not allowing to delete a user (#1485) 2022-09-14 10:26:00 +08:00
Carlos Ruiz 52e5e17fed
IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757) (#1483)
* IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757)

* IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757)
2022-09-13 18:57:13 +02:00
Carlos Ruiz 3c69ba56a4
IDEMPIERE-5415 Incomplete process log when output is > 2000 chars (#1476) 2022-09-11 15:22:52 +08:00
Jasper Siepkes 861e3ad01f
IDEMPIERE-5013 Implement HikariCP as a replacement for c3p0 (#926)
* Replaced PostgreSQL and Oracle connection pools with HikariCP.

Replaced C3P0 with HikariCP. HikariCP is a Apache licensed connection pool with substantially better performance and better resilience to failure (DB disconnects, etc.) then C3P0. Read more about it here: https://github.com/brettwooldridge/HikariCP .

Cleaned up the `getCachedConnection` method. With HikariCP there is no need to retry to obtain a connection since getting an connection will block until a free connection is available or until a timeout is reached (default 30 seconds) at which point an `SQLException` is thrown. This also removed calling `Runtime.getRuntime().runFinalization();`. HikariCP is currently configured to detect / log leaks when a connection hasn't returned to the pool for longer then 5 minutes.

Loading of pool config properties was cleaned up. Defaults are now loaded from a single file instead of defaults coming from both file and hardcoded properties. It is now also possible to specify any HikariCP property in the user pool property file.

Initialization of the datasource must happen in the `getDataSource()` method because at object construction not all JDBC config is known. However this method could (as far as I could tell) be called concurrently from multiple threads but had no mechanism to prevent initializing the DB pool multiple times. The variable in which the pool itself was stored (`m_ds`) also was not marked volatile or immutable which could lead to visibility issues. Instead of lazy initialization of the pool in the `getDataSource()` method the pool could probably better be initialized at object construction. However I wasn't able to achieve that without breakage therefor I made the initialization mechanism work correctly with concurrent invocations.

Various config options such as the `MaxStatementsPerConnection` options were removed because HikariCP doesn't support them.

* (Re)added Sequence time-out.
2022-09-10 12:21:57 +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 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
Nicolas Micoud f22d2a512f
IDEMPIERE-5342 : Increase remaining ProfileInfo columns to 4000 (#1459)
* IDEMPIERE-5342 : Increase remaining ProfileInfo columns to 4000

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

* IDEMPIERE-5342 : Increase remaining ProfileInfo columns to 4000 (to v9)

moving from v10 to v9
2022-09-02 13:32:15 +02:00
Carlos Ruiz 8cd20b9e88
IDEMPIERE-5399 Data type Time is mostly useless (#1456) 2022-08-30 20:14:17 +08:00
Nicolas Micoud 79d9efb8f5
IDEMPIERE-5395 : Validation Rules at Client level (#1451) 2022-08-30 13:25:01 +02: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
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