Commit Graph

612 Commits

Author SHA1 Message Date
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02:00
Nicolas Micoud 0cd091a91b
IDEMPIERE-5507: Sync Print format items with Report view columns fix (#1851)
* IDEMPIERE-5507: Sync Print format items with Report view columns fix

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

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Filter print formats based on selected Report View

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Change the name of the process to a more accurate one
2023-06-07 22:03:31 +02:00
Carlos Ruiz 0ae48988bd
IDEMPIERE-5758 Improve extensibility of ReplenishReportProduction (#1879) 2023-06-06 12:34:48 +02:00
Carlos Ruiz aa0f27f31a
IDEMPIERE-5739 Allow Inventory Valuation Report for more than one warehouse (#1857) 2023-05-30 09:37:03 +08:00
Carlos Ruiz 8bb0d55c90
IDEMPIERE-5331 Create Production from Order (all Lines) (#1823) 2023-05-06 01:00:09 +02:00
Carlos Ruiz af2d735cc5
IDEMPIERE-5683 Peer review (#1825) 2023-05-06 00:58:43 +02:00
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
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
Carlos Ruiz 274398fdd5
IDEMPIERE-5685 Do not Create Production for AutoProduce products (#1796) 2023-04-24 18:13:15 +08:00
hengsin eb78bd4ee9
IDEMPIERE-5678 Unit Test is failing with PostgreSQL 15 (#1789) 2023-04-19 13:57:34 +02: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 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
Carlos Ruiz 022ff3749b
IDEMPIERE-5604 Column Encryption not marking column as encrypted - data corruption (#1766) 2023-04-02 15:38:37 +08:00
Carlos Ruiz 0dbba5a3c8
IDEMPIERE-5604 Column Encryption is broken in native postgresql (#1752) 2023-03-25 19:43:43 +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 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
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
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
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
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 09e0ae3f0f
IDEMPIERE-5433 Fix issue in oracle (#1570) 2022-11-22 17:02:34 +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
Fr Jeremy Krieg 84dc2b3f31
IDEMPIERE-5433 Better invoice consolidation rules (#1504)
With acknowledgements to Carlos Ruiz for writing the
test case.
2022-10-28 11:36:19 +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
hengsin 536eda3546
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1493)
- restore .classpath to remove Tycho Configurator m2e connector
dependency
2022-09-21 14:21:27 +02:00
Elaine Tan 0b8b7da8e5
IDEMPIERE-5396 Replace CreateFrom form with Info Window Process (#1469)
* IDEMPIERE-5396 Replace CreateFrom form with Info Window Process
2022-09-19 18:30:24 +08:00
hengsin 288e96fe8d
IDEMPIERE-5376 CConnection and DB clean up (#1441)
* IDEMPIERE-5376 CConnection and DB clean up

* IDEMPIERE-5376 CConnection and DB clean up

- More clean up
2022-08-13 12:05:52 +02:00
Diego Ruiz d8f48d1f17
IDEMPIERE-5373 - Attach result file from Import CSV Process when running on Background (#1431) 2022-08-10 14:50:34 +08:00
Carlos Ruiz 5bd3af0d2f
IDEMPIERE-236 Centralization of hardcoded IDs (#1429)
* IDEMPIERE-236 Centralization of hardcoded IDs

* IDEMPIERE-236 Centralization of hardcoded IDs
2022-08-09 22:12:54 +08:00
Peter Takács c62a9ad066
IDEMPIERE-1965 - Implement Generate Invoices (manual) as Info Window (#1400)
* IDEMPIERE-1965 - Implement Generate Invoices (manual) as Info Window
* IDEMPIERE-1965 - fixes
* IDEMPIERE-1965 - Deprecate Form
* IDEMPIERE-1965 - backwards compatibility
* IDEMPIERE-1965 - vendor RMA form legacy
* IDEMPIERE-1965 - merge patch
* IDEMPIERE-1965 - 1965_PR patch
2022-08-01 20:41:39 +02:00
hengsin da245c061c
IDEMPIERE-1963 Implement Generate Shipments (manual) as Info Window (#1410)
- add unit test for Vendor RMA
2022-07-25 16:20:52 +08:00
Peter Takács 5918702166
IDEMPIERE-1963 - vendor RMA form legacy (#1409) 2022-07-25 16:13:56 +08:00
Peter Takács 702cb1f214
IDEMPIERE-1963 Implement Generate Shipments (manual) as Info Window
restore backwards compatibility
2022-07-21 20:40:32 +08:00
Peter Takács c001169a5f
Idempiere-1963 - Implement Generate Shipments (manual) as Info Window (#1394)
* IDEMPIERE-1963 - Implement Generate Shipments (manual) as Info Window

* IDEMPIERE-1963 - reverting changes commited by mistake

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

* IDEMPIERE-1963 - patches for fixes and deprecation
2022-07-20 14:47:32 +02:00
Carlos Ruiz 7246c56266
IDEMPIERE-5331 Create Production from Order (all Lines) (#1375)
* IDEMPIERE-5331 Create Production from Order (all Lines)

* Refactoring to remove redundant or unused code and parameters

* Clear the order line reference on production when voiding and reversing
2022-06-30 10:05:33 +08:00
lHeidbreder ddaf0d6af3
IDEMPIERE-4269 shipment (on availability) should be created only if products are available (#1329)
IDEMPIERE-4269 shipment (on availability) should be created only if products are available

Co-authored-by: hengsin <hengsin@gmail.com>
2022-06-29 22:15:08 +08:00
Carlos Ruiz 9f1eeb07f3
IDEMPIERE-5292 Function dump not replaced for postgres (#1341)
* IDEMPIERE-5292 Function dump not replaced for postgres

IDEMPIERE-5292 #resolve

* Fix for oracle
2022-05-23 14:59:38 +02:00
Carlos Ruiz 35cda7ffe8
IDEMPIERE-5284 Create method EMail.sendEx to have access to the full Exception when sending EMails (FHCA-3587) (#1316)
- improved also the dumpMessage, is just called when the level is finest, but it was logging on fine level, also the if must be out of the loop
2022-05-06 17:57:09 +08:00
Nicolas Micoud d6bd0b2247
IDEMPIERE-5247 : ReportLineSet_Copy do not copy Operands (#1271) 2022-03-31 19:33:56 +02:00
Carlos Ruiz f39696a02e
IDEMPIERE-5242 RfQ Issues (#1265)
IDEMPIERE-5242 #resolve
2022-03-27 10:04:32 +08:00
Carlos Ruiz b032430a4b
IDEMPIERE-3219 Reset Accounting can't reset documents without fact acct (#1266)
IDEMPIERE-3219 #resolve
2022-03-27 10:02:28 +08:00
Diego Ruiz 4f5c3360fc
IDEMPIERE-5233 - Invoice created from the Commission Run window cannot be easly found after created (#1256) 2022-03-18 14:37:31 +01:00
Carlos Ruiz 24836a7c6c
IDEMPIERE-5231 Create Payments from Bank Statement is not taking into account Discounts (#1248)
* IDEMPIERE-5231 Create Payments from Bank Statement is not taking into account Discounts #resolve

* - Remove misleading closing message
2022-03-15 15:11:06 +01:00
Carlos Ruiz 1a51e92c42
IDEMPIERE-4586 Update translation of Client to Tenant (#1233)
* IDEMPIERE-4586 Update translation of Client to Tenant

* Exclude AD_Ref_List.Name from the update as it impacts too many constants generated in X_ classes

* * update the Updated column too so that it is easier to trace back which records have been updated (as suggested by Heng Sin)

* * Update some additional messages that becomes duplicated (as reported by Nicolas)

* * Add updates to AD_Tab.CommitWarning (as reported by Nicolas)
2022-03-12 16:59:32 +01:00
Layda Salas 60fb790b17
IDEMPIERE-2081 Class OrderLineCreateProduction and OrderLineCreateShi… (#1211)
* IDEMPIERE-2081 Class OrderLineCreateProduction and OrderLineCreateShipment exception messages are not translated! #resolve #fixversion 10

* IDEMPIERE-2081 Class OrderLineCreateProduction and OrderLineCreateShipment exception messages are not translated! #resolve #fixversion 10

* IDEMPIERE-2081 Class OrderLineCreateProduction and OrderLineCreateShipment exception messages are not translated! #resolve #fixversion 10
2022-03-04 09:52:28 +08:00
Layda Salas 31b758cd76
IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot transl… (#1205)
* IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translaten #resolve #fixversion 10

* IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translaten #resolve #fixversion 10
2022-03-01 16:06:22 +08:00