Commit Graph

3689 Commits

Author SHA1 Message Date
Deepak Pansheriya 2074e98616
IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic … (#1244)
* IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic on custom toolbar button

* IDEMPIERE-3334: Fix as per Hengsin suggestion

* IDEMPIERE-3334: Renaming migration scripts, changing VARCHAR2(2000) to VARCHAR2(2000 CHAR) and fixing sql have line starting with @

* IDEMPIERE-3334: SQL Logic evaluate by using Evaluator.parseSQLLogic()

* IDEMPIERE-3334 : Adding support for pressed and readonly logic on Window->Tab->toolbar

* IDEMPIERE-3334 : Adding Hengsin't patch

* IDEMPIERE-3334 : removing ParseContext call
2022-11-23 13:05:14 +08:00
Elaine Tan 2ff6378720
IDEMPIERE-5472 Unclosed resources (#1565)
* IDEMPIERE-5472 Unclosed resources

* IDEMPIERE-5472 Unclosed resources
2022-11-17 17:35:15 +08:00
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 74e94cb77f
IDEMPIERE-5136 Set Messages at tenant level / Fix NPE (#1561) 2022-11-15 21:53:06 +08:00
hengsin 05bf9d6add
IDEMPIERE-5473 Refactoring of WArchive and MArchive (#1555) 2022-11-15 14:51:11 +01:00
hengsin c9f589c4d5
IDEMPIERE-5477 Concurrency issue for the use of OSGi Service Tracker (#1563) 2022-11-15 14:17:02 +01: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
hengsin da587235c7
IDEMPIERE-5476 Refactoring of WRequest and MRequest (#1560) 2022-11-14 22:02:14 +01:00
Carlos Ruiz be7fb240cb
IDEMPIERE-870 Fixed Assets using non-existant context variable (#1557)
* IDEMPIERE-870 Fixed Assets using non-existant context variable

* - Implement context variable #IsCanApproveOwnDoc
2022-11-12 21:48:46 +08:00
Carlos Ruiz fc6ae185b9
IDEMPIERE-5475 Fixed Assets - NPE when creating an asset addition withou invoice (#1558) 2022-11-12 09:15:48 +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
hengsin d50a44c744
IDEMPIERE-5469 Refactoring of TimeUtil (#1549)
* IDEMPIERE-5469 Refactoring of TimeUtil
* IDEMPIERE-5469 Refactoring of TimeUtil
- Merge patch from Carlos
2022-11-10 14:36:53 +01:00
hengsin 5b5a957d87
IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Exp… (#1554)
* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

- merge patch from Carlos
2022-11-08 17:15:25 +01:00
Carlos Ruiz 193141324e
IDEMPIERE-5463 Help on Role Panel selection page (#1548)
* IDEMPIERE-5463 Help on Role Panel selection page

- SysConfig LOGIN_SELECTION_HELP_URL defaulting to https://wiki.idempiere.org/{lang}/Login_Selection_Help
- added WebUtil.isUrlOk
- verify if the login and selection help page exists before opening, otherwise default to english version

* - rename SysConfig LOGIN_SELECTION_HELP_URL to LOGIN_SELECT_ROLE_HELP_URL

* - fix wrong SysConfig name
2022-11-02 22:59:05 +08:00
Peter Takács ed7fb79cd7
IDEMPIERE-5460 - Process Audit doesn't set printing related attribute… (#1543)
* IDEMPIERE-5460 - Process Audit doesn't set printing related attributes when editors are not set

* IDEMPIERE-5460 - fixes
2022-11-02 13:31:29 +08:00
hengsin 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
Carlos Ruiz dd77cc01cb
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) / fix issue with EMail MFA (#1545)
* When user login with EMail MFA the MFA panel is not shown and the Processing message just keep spinning
* Changed the message TenantNotFound by FailedLogin to avoid a brute force attack to discover which tenants are valid in the installation
2022-10-27 15:53:30 +02:00
Peter Takács 978be7a956
IDEMPIERE-5456 - Msg wrong arguments number Format (#1537) 2022-10-21 10:33:47 +08: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
Nicolas Micoud 9b46986596
IDEMPIERE-5454 : Issue on TimeUtil.getBusinessDaysBetween with country based on language (#1534)
https://idempiere.atlassian.net/browse/IDEMPIERE-5454
2022-10-20 17:36:11 +08: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
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
hengsin 62bbb83cb2
IDEMPIERE-5444 Refactoring of GridTabVO and GridFieldVO (#1519) 2022-10-11 16:00:08 +02:00
Nicolas Micoud 1646074a59
IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated (#1522)
* IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated

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

* IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated - fix javadoc
2022-10-10 14:59:07 +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
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 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
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
Diego Ruiz 8a51fb8f4a
IDEMPIERE-2205 - Ask for secret input from within a process (#1501) 2022-09-26 19:46:09 +08:00
Carlos Ruiz aef93fb113
IDEMPIERE-5430 UPDATE generating unnecessary settings for null columns (#1496) 2022-09-23 15:25:51 +08: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
Carlos Ruiz 45516c6c91
IDEMPIERE-5425 Chosen Multiple Selection fields are not being copied with the Copy button (#1489) 2022-09-17 11:47:47 +08:00
Carlos Ruiz 1229faab34
IDEMPIERE-2058 Fix problem reading wrong column (#1484) 2022-09-14 10:24:05 +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
Deepak Pansheriya 8c5c0ecbfa
IDEMPIERE-5326: Parsing error for report view if where clause and vir… (#1385)
* IDEMPIERE-5326: Parsing error for report view if where clause and virtual column used in print format

* IDEMPIERE-5326: Fixing Compilation error

* IDEMPIERE-5326: Adding method back for backward compitability

* IDEMPIERE-5326: Adding constructors  for backward compitability
2022-09-07 21:45:23 +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
Carlos Ruiz 8748f11ddf
IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757) (#1464) 2022-09-06 13:58:17 +02:00
Carlos Ruiz 0e71fa9884
IDEMPIERE-5407 Heavy query in MRole repeated too often (FHCA-3883) (#1465)
Removed the method MRole.loadTableInfo which loaded the arrays: m_tableAccessLevel, m_tableName, m_viewName, m_tableIdName
and replaced all usage with visits to cached information from tables or columns
2022-09-06 15:01:06 +08:00
Nicolas Micoud 537cb8b9b8
IDEMPIERE-5403 : Misleading error message on TimeUtil.getDay(int, int, int) (#1460)
https://idempiere.atlassian.net/browse/IDEMPIERE-5403
2022-09-05 13:13:36 +02: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
hengsin c45005be41
IDEMPIERE-5376 CConnection and DB clean up (#1457)
* IDEMPIERE-5376 CConnection and DB clean up

* IDEMPIERE-5376 CConnection and DB clean up

- More clean up

* IDEMPIERE-5376 CConnection and DB clean up

- Fix @Deprecated annotation
2022-08-29 21:36:50 +02:00
Nicolas Micoud d0d42ffaf1
IDEMPIERE-5361 : Jasper reports with Charts are not working (#1452)
* IDEMPIERE-5361 : Jasper reports with Charts are not working

* IDEMPIERE-5361 : patch from hengsin
2022-08-26 09:35:54 +08: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
Carlos Ruiz 2dab2d9882
IDEMPIERE-5394 Export to XLSX in Info Windows and Account Viewer (#1450)
* IDEMPIERE-5394 Export to XLSX in Info Windows and Account Viewer
2022-08-24 09:33:12 +08:00
hengsin ce22d1cc51
IDEMPIERE-5391 Unit Test: Fix support for parallel execution of test (#1446) 2022-08-17 18:34:51 +02:00
Carlos Ruiz a558644949
IDEMPIERE-3340 Fix cross tenant in Favourites (#1445) 2022-08-17 18:17:13 +08:00
Peter Takács e670ebbd14
IDEMPIERE-5302 - Drill Assistant Feature with re-generated migration scripts (#1390)
* IDEMPIERE-5302 - Drill Assistant Feature with re-generated migration scripts

* IDEMPIERE-5302 - added IsShowInDrillOptions, ID fixes

* IDEMPIERE-5302 - added IsShowInDrillOptions default Y

* IDEMPIERE-5302 - creating Table Print Formats on Run Report

* IDEMPIERE-5302 - applied pr1390_fixes patch

* IDEMPIERE-5302 - applied pr1390_badimports patch
2022-08-17 18:08:45 +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
Carlos Ruiz 165229d2db
IDEMPIERE-5380 StackOverflowError when try to login in application with substitute user (FHCA-3828) (#1437) 2022-08-13 10:15:31 +08:00
Carlos Ruiz 5e5c977733
IDEMPIERE-5382 Allow just one MFA registration per mechanism (FHCA-3822) (#1439) 2022-08-12 17:15:28 +08:00
Carlos Ruiz bc9808eb14
IDEMPIERE-5381 System users cannot revoke MFA trusted devices in GardenWorld (FHCA-3824) (#1438) 2022-08-12 17:13:54 +08:00
hengsin 3a2f0ff64d
IDEMPIERE-5376 CConnection and DB clean up (#1432) 2022-08-10 14:52:53 +02: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
Carlos Ruiz 0cb7216599
IDEMPIERE-5375 Read-only windows are not shown in Favourites dashboard (#1430) 2022-08-09 15:09:03 +08:00
hengsin 5f8e7be3c5
IDEMPIERE-5367 Logic expression IN doesn't works with quoted text (#1423)
* IDEMPIERE-5367 Logic expression IN doesn't works with quoted text

* IDEMPIERE-5367 Logic expression IN doesn't works with quoted text

- Fixed equal not working for quoted text with comma (e.g 'A,R,S')
2022-08-05 13:21:50 +02:00
Carlos Ruiz 464de082a5
IDEMPIERE-5355 Improve default trx name (FHCA-3765) (#1427)
Improve performance using StackWalker instead of Throwable->getStackTrace
2022-08-05 09:46:11 +08:00
Carlos Ruiz 9b812a315f
IDEMPIERE-3340 Fix cross tenant in Favourites (#1426) 2022-08-05 00:11:06 +02:00
hengsin 1fcbd5ea07
IDEMPIERE-5358 Refactor CreateFrom (#1413)
* IDEMPIERE-5358 Refactor CreateFrom

* IDEMPIERE-5358 Refactor CreateFrom

- Fix java doc

* IDEMPIERE-5358 Refactor CreateFrom

- Fix SQL error for Oracle (SELECT without FROM only works for
PostgreSQL).

* IDEMPIERE-5358 Refactor CreateFrom

- revert change of protected method name.
2022-08-04 12:42:53 +02:00
Elaine Tan 27c5d0fa53
IDEMPIERE-5339 GL AP/AR and RLL/RLG facts posted on wrong side in allocation reversal document using Payment Reverse-Accrual (#1420)
* IDEMPIERE-5339 GL AP/AR and RLL/RLG facts posted on wrong side in allocation reversal document using Payment Reverse-Accrual
2022-08-04 16:52:41 +08:00
hengsin 58813e8e83
IDEMPIERE-5359 Unit test not working with Oracle (#1419)
* IDEMPIERE-5359 Unit test not working with Oracle

- Fix local trx not rollback for SQLException
- Add test for getSQLValueObjectsEx and getSQLArrayObjectsEx
2022-08-04 16:21:29 +08:00
Peter Takács 5931f6ce8f
IDEMPIERE-5356 - Add Printing Support to ProcessInfoDialog (#1412)
* IDEMPIERE-5356 - Add Printing Support to ProcessInfoDialog
2022-08-02 17:10:52 +08:00
Alan Lescano 11962e1713
IDEMPIERE-5259 Labels feature (#1357)
* IDEMPIERE-5259 Labels feature
* IDEMPIERE-5259 Update the theme version timestamp
* IDEMPIERE-5259 Better javadoc
* Update 202205131118_IDEMPIERE-5259.sql
* Update 202205131118_IDEMPIERE-5259.sql
* IDEMPIERE-5259 New window Label Assignment
* IDEMPIERE-5259 Toggle issue
* IDEMPIERE-5259 MSysConfig is ordered alphabetically
* IDEMPIERE-5259 Default SysConfig
* IDEMPIERE-5259 Avoid duplicated records
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-08-01 21:51:38 +02: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
Carlos Ruiz 097ca0569e
IDEMPIERE-5363 - fix MRefList cache (#1417)
Co-authored-by: matheus-marcelinux <matheusmarcelino1998@hotmail.com>
2022-08-01 14:52:19 +02:00
hengsin edc96cca12
IDEMPIERE-5153 Cost Adjument Line Before Save: Update current cost price (#1411)
- Fix always getting current cost from primary accounting schema.
2022-07-26 21:26:58 +08:00
Carlos Ruiz 486ae19cdc
IDEMPIERE-5355 Improve default trx name (FHCA-3765) (#1407)
* IDEMPIERE-5355 Improve default trx name (FHCA-3765)

* IDEMPIERE-5355 Improve default trx name (FHCA-3765)

Implement suggestions from Heng Sin
Added SysConfig TRX_AUTOSET_DISPLAY_NAME (default false)

* Delete test/debugging code committed by mistake

* IDEMPIERE-5355 fix method wrongly named
2022-07-26 14:08:32 +08:00
Nicolas Micoud 58027792d8
IDEMPIERE-5342 : Ability to hide the title of the chart when displaye… (#1392)
* IDEMPIERE-5342 : Ability to hide the title of the chart when displayed on Home page
2022-07-21 20:09:11 +08:00
Nicolas Micoud e8b2a94b3f
IDEMPIERE-5348 : Validation of filenames (#1398) 2022-07-18 15:26:34 +02:00
Carlos Ruiz 9ed8c950f7
IDEMPIERE-5345 Login.getClients not validating role type (#1391)
* IDEMPIERE-5345 Login.getClients not validating role type

* Add null validation for whereRoleType
2022-07-14 09:35:36 +08:00
hengsin 73aecb1145
IDEMPIERE-5347 Minor scheduler improvement (#1393) 2022-07-13 23:09:54 +02:00
Carlos Ruiz 1846439e92 Revert "IDEMPIERE-5302 - Drill Assistant Feature (#1345)"
This reverts commit 809e3ae734.
2022-07-08 13:25:19 +02:00
Carlos Ruiz 2ba935a393
IDEMPIERE-5340 Log the exception in EventHelper.addError for future use (FHCA-3426) (#1386) 2022-07-07 14:29:59 +08:00
Deepak Pansheriya 9a64a1a11c
IDEMPIERE-5295: Trial Balance Report creates Opening balance per orga… (#1378)
* IDEMPIERE-5295: Trial Balance Report creates Opening balance per organization and setting opening date day before from date.

* IDEMPIERE-5295: Correction as per Hengsin's code review vomment.

* IDEMPIERE-5295: Opening Balance should be on first day of Period

* IDEMPIERE-5295: Removed unused import

* IDEMPIERE-5295: Fixing report view is not set on default print format
Co-authored-by: hengsin@gmail.com
2022-07-06 19:53:15 +08:00
Peter Takács 809e3ae734
IDEMPIERE-5302 - Drill Assistant Feature (#1345)
* IDEMPIERE-5302 - Drill Assistant Feature
2022-06-30 20:08:22 +08:00
hengsin 278fde8f72
IDEMPIERE-5332 Refactoring of Archive Viewer (#1376)
* IDEMPIERE-5332 Refactoring of Archive Viewer

* IDEMPIERE-5332 Refactoring of Archive Viewer

- remove join to AD_Process_Access
2022-06-30 19:28:19 +08: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
Peter Takács 5303a10da2
IDEMPIERE-5319 - Delete Record with Confirmation Logic (#1371)
* IDEMPIERE-5319 - Delete Record with Confirmation Logic

* IDEMPIERE-5319 - modified listener for more correct behavior

* IDEMPIERE-5319 - modified listener for more correct behavior

* IDEMPIERE-5319 - improved validation

* IDEMPIERE-5319 - exception, message translation, removed new buttons

* IDEMPIERE-5319 - merged validation on close
2022-06-27 11:26:38 +02:00
Peter Takács 1f9955fcc9
IDEMPIERE-2058 - ** New Report ** - improve for handling Forms too (#1335)
* IDEMPIERE-2058 - ** New Report ** - improve for handling Forms too

* IDEMPIERE-2058 - error fixed

* IDEMPIERE-2058 - dialogs added

* IDEMPIERE-2058 - latest WIP commit until final design stated

* IDEMPIERE-2058 - added cancel button, mandatory handling
2022-06-25 15:07:07 +02:00
iDempierePatch 06c41d2c68
IDEMPIERE-5300 ErrorMsg doesn't show full message + LifeTime Msg conf… (#1342)
* IDEMPIERE-5300 ErrorMsg doesn't show full message + LifeTime Msg configurable

* IDEMPIERE-5300 ErrorMsg doesn't show full message + LifeTime Msg configurable / peer review / solve issues requested by Heng Sin

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-06-24 16:34:19 +08:00
hengsin 006d47ce6a
IDEMPIERE-5320 Refactor unit test to use share constant for dictionary IDs (#1369) 2022-06-22 14:51:42 +02:00
hengsin c53fb6430e
IDEMPIERE-5316 Refactoring of Payment Allocation Form (#1364) 2022-06-14 14:20:06 +02:00
Peter Takács 5bd585c522
IDEMPIERE-5311 - Zoom Across Doesn't Allow Zoom from Different Windows of the Same Table (#1360)
* IDEMPIERE-5311 - (draft) Zoom Across Doesn't Allow Zoom from Different Windows of the Same Table

* IDEMPIERE-5311 - Suggested Patch
2022-06-14 13:20:49 +02:00
Carlos Ruiz 39a5fe5663
IDEMPIERE-5315 Mismatch in queries WWFActivity.getWhereActivities and DPActivitiesModel.getWorkflowCount (#1363)
* IDEMPIERE-5315 Mismatch in queries WWFActivity.getWhereActivities and DPActivitiesModel.getWorkflowCount

- Found that DPActivities is deprecated, so deprecated too the DPActivitiesModel
- Also found that DefaultDesktop had a dependency to show the total of DPActivities, refactored to do the same with the new DPDocumentStatus
- Moved the query to MWFActivity to use where required
- Refactored JDBC to Query

* Better name for method

* serialVersionUID
2022-06-14 13:19:19 +02:00
Peter Takács 0e4cb62479
IDEMPIERE-5307 - Report Summary Functions Not Working Properly (#1355)
* IDEMPIERE-5307 - Report Summary Functions Not Working Properly
2022-06-07 12:56:13 +08:00
Peter Takács bf32da5738
IDEMPIERE-4523 - Process Audit not mark AD_PInstance.IsProcessing on simple Reports (#1343)
* IDEMPIERE-4523 - Process Audit not mark AD_PInstance.IsProcessing on simple Reports

* IDEMPIERE-4523 - fixed workflow use case
2022-06-02 16:15:39 +08:00
Nicolas Micoud 20116c6144
IDEMPIERE-5305 : ORA-01704: string literal too long when trying to update a mail template (#1353) 2022-06-02 14:27:00 +08:00
PeterTakacs300 0dd6c2b4a9
IDEMPIERE-5304 - Missing Message from Payment (#1346)
* IDEMPIERE-5304 - Missing Message from Payment

* IDEMPIERE-5304 - replaced message type and Msg.translate method
2022-05-31 15:25:50 +08:00
Anozi Mada 935987bd9d
IDEMPIERE-5286 Fix ConcurrentModificationException in MPrintFormat.getAllItems Method (#1349) 2022-05-31 12:35:22 +08:00
hengsin ad7f78e3c1
IDEMPIERE-3294 Process Audit generate unused AD_PInstance_Para (#1344)
- Fix unit test error for RequisitionTest.testComplete()
2022-05-26 14:40:24 +08:00
PeterTakacs300 b2b31fb087
IDEMPIERE-3294 - check empty String parameter (#1336)
* IDEMPIERE-3294 - check empty String parameter
2022-05-25 14:48:37 +08:00
Nicolas Micoud 0959a1d313
IDEMPIERE-4863 : Enable save column width in WListBox - fix for System user (#1339) 2022-05-19 15:02:14 +02:00
Fr Jeremy Krieg 7af88c8c99
[IDEMPIERE-5014] Update Javadoc for new stream() method. (#1337) 2022-05-19 10:16:11 +08:00
hengsin 6ba272a732
IDEMPIERE-5014 Improve efficiency of Query for large result sets - using Stream (#1334)
- remove iterable() and restore the POIterator base iterate()
implementation.
2022-05-18 16:20:10 +02:00
Carlos Ruiz d67ca5b69b
IDEMPIERE-4723 remove minor warning in eclipse (#1332) 2022-05-18 10:08:38 +08:00
PeterTakacs300 13e0c8e1a4
IDEMPIERE-5275 - Tabular Report Re-Query button/close paramater window (#1306)
* IDEMPIERE-5275 - Tabular Report Re-Query button/close paramater window

* IDEMPIERE-5275 - fix bug with asynch. threads

* IDEMPIERE-5275 - BusyMask not showing correctly fix

* IDEMPIERE-5275 - icons added

* IDEMPIERE-5275 - sysconfig added

* IDEMPIERE-5275 - patch 1306_PeerReview applied

* IDEMPIERE-5275 - requested changes applied

* IDEMPIERE-5275 - small fixes

* IDEMPIERE-5275 - fixed wrong merge
2022-05-13 22:14:59 +08:00
hengsin a41aeb2205
IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing (#1277)
* IDEMPIERE-5057 Implement Deductible and non deductible input tax for purchasing and costing

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

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

- Fix rounding error
2022-05-12 11:12:05 +02:00
Carlos Ruiz cfb4ebe785
IDEMPIERE-5267 Make Cache Max Size configurable via system property (#1325)
* IDEMPIERE-5267 Make Cache Max Size configurable via system property

* Allow also value zero for cache max size
2022-05-12 16:58:38 +08:00
Carlos Ruiz fda23ef1ae
IDEMPIERE-5174 Disable System User (#1324)
Found also two minor performance improvements:
- avoid counting users when statistics not allowed
- change the query where to 1=0, better for the optimizer
2022-05-12 13:35:20 +08:00
hengsin 9e43a36862
IDEMPIERE-5260 Enhance Discount Schema for Fixed Pricing (#1313)
* IDEMPIERE-5260 Enhance Discount Schema for Fixed Pricing

* IDEMPIERE-5260 Enhance Discount Schema for Fixed Pricing

- Fix unit test error.
2022-05-11 18:39:58 +02:00
hengsin 4488537565
IDEMPIERE-5262 Implement readonly protection for DB.getSQLValueEx call (#1323)
- Avoid unnecessary commit call.
2022-05-11 18:03:03 +02:00
Nicolas Micoud 603743734d
IDEMPIERE-4863 : do not save when there is no customization (#1319) 2022-05-10 09:56:27 +08:00
Diego Ruiz 7d5f7f678c
IDEMPIERE-4723 - refactor MArchive.get to use the Query class instead… (#1314)
* IDEMPIERE-4723 - refactor MArchive.get to use the Query class instead of PreparedStatement, following best practices

* IDEMPIERE-4723 - refactor MArchive.get to use the Query class instead of PreparedStatement, following best practices
2022-05-06 17:57:54 +08: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
hengsin d2e52bbb86
IDEMPIERE-5262 Implement readonly protection for DB.getSQLValueEx call (#1287)
* IDEMPIERE-5262 Implement readonly protection for DB.getSQLValueEx call

* IDEMPIERE-5262 Implement readonly protection for DB.getSQLValueEx call
2022-05-06 11:14:11 +02:00
Nicolas Micoud 440b9c27a1
IDEMPIERE-4863 : Enable save column width in WListBox - fix when panel has lots of columns (#1311) 2022-05-06 10:27:57 +08:00
hengsin a8958bf29d
IDEMPIERE-5261 Workflow EMail notification enhancement (#1299)
* IDEMPIERE-5261 Workflow EMail notification enhancement

* Update 202204190945_IDEMPIERE-5261.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-05-05 18:51:11 +02:00
hengsin e91aa9d0d3
IDEMPIERE-5082 Drop Shipment: Pass shipper and tracking number from MR to Customer Shipment (#1284) 2022-05-04 23:05:54 +02:00
hengsin 3f6ec68f37
IDEMPIERE-5088 Implement Bank Transfer as Transactional Document like… (#1281)
* IDEMPIERE-5088 Implement Bank Transfer as Transactional Document like Payment

* IDEMPIERE-5088 Implement Bank Transfer as Transactional Document like Payment

- default to charge and to bpartner from the corresponding from fields
- add DateAcct, C_ConversionType_ID and IsOverrideCurrencyRate columns
- remove mandatory org linked bp requirement
- rename window to Bank/Cash Transfer and deactivate existing Bank/Cash
Transfer process.

* IDEMPIERE-5088 Change Bank Transfer Process to use (optionally) the new document

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-05-01 11:22:32 +08:00
Carlos Ruiz ef085e72d6
IDEMPIERE-5279 Improve PO to avoid calling cache reset unnecessarily (#1309) 2022-04-30 06:16:12 +08:00
Fr Jeremy Krieg 10db6177d0
IDEMPIERE-5014 Add stream interface to Query (#1298) 2022-04-29 10:27:26 +08:00
Nicolas Micoud 5476274f59
IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor (#1289)
* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor

Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>
2022-04-28 19:48:47 +08:00
Diego Ruiz 4bbb4f36fd
IDEMPIERE-5277 - Fixed list on Report dialogue not filtering inactive print formats (#1305) 2022-04-27 12:23:58 +08:00
Nicolas Micoud ac38581265
IDEMPIERE-3340 : Adaxa's User Favorite which allow user to organize their menu, create folders (#1304)
Menu items should use names defined in AD_UserDef... tables
2022-04-27 12:22:34 +08:00
Nicolas Micoud 00c112b263
IDEMPIERE-5276 : NPE on MInfoWindow.get (#1303) 2022-04-26 16:42:55 +08:00
hengsin 321a65bd66
IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone (#1300)
Fix unit test failure
2022-04-23 11:50:56 +02:00
hengsin 13b37c4acc
IDEMPIERE-5093 Scheduler cron pattern scheduling is always using serv… (#1270)
* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone

* minor fix for oracle/202203240830_IDEMPIERE-5093.sql

* IDEMPIERE-5093 cheduler cron pattern scheduling is always using server time zone

- add time zone comment for cronpattern field
- use fix format for elapsed time (day'hour:minutes:seconds.millisecond)
- use time zone formatting at server monitor
- include etc/gmt* timezone id. fix handling of invalid user input
- fix wrong editor (date) use for timestamp with time zone field

* IDEMPIERE-5093 cheduler cron pattern scheduling is always using server time zone

- Fix MSchedule.getNextRunMS call.

* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone

- add T_Timestamp to Test table and window.
- fix date time editor doesn't capture seconds for timestamp with time
zone.
- date time editor: use tenant time zone (if set), fallback to browser
time zone.
- date time editor: fix processing of timestamp with time zone value.
- time zone editor: drop the confusing etc/gmt* entries and support
entry of GMT(+/-)hh:mm custom zone id.

* IDEMPIERE-5093 Scheduler cron pattern scheduling is always using server time zone

Fix NPE

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-04-22 21:28:51 +02:00
igorpojzl 8d5f7768e4
IDEMPIERE-5256 Add Cache to MSession Refactor (#1283) 2022-04-20 19:00:13 +08:00
Nicolas Micoud e9ab40a18f
IDEMPIERE-5271 : Can't override reference in AD_UserDef_Proc_Parameter to use ChosenMultipleSelectionTable as report parameter (#1295) 2022-04-20 12:41:19 +02:00
PeterTakacs300 41c3e115b1
IDEMPIERE-5254 - AD create postgres sequences and ad_sequence for views (#1293)
* IDEMPIERE-5254 - AD create postgres sequences and ad_sequence for views

* IDEMPIERE-5254 - adjusting !isView condition
2022-04-20 12:29:15 +02:00
igorpojzl c13039cf82
IDEMPIERE-5268 Cache PA_DocumentStatus (#1291)
* IDEMPIERE-5268  Cache PA_DocumentStatus

* IDEMPIERE-5268 Cache PA_DocumentStatus
2022-04-15 15:51:40 +08:00
PeterTakacs300 d3b6c51655
IDEMPIERE-5255 - Print format Script Column SQL parse broken by space (#1285) 2022-04-15 15:48:40 +08:00
PeterTakacs300 f18d221b41
IDEMPIERE-5266 - AD_Column Caching changes (#1290) 2022-04-12 15:42:35 +08:00
Ricardo Santana b4922eaf12
IDEMPIERE-5264 - fix default report showing blank results (#1288) 2022-04-12 15:41:07 +08:00
Carlos Ruiz 6fde4b816d
IDEMPIERE-5258 Importing a print format in the same packin as the table throws errors (#1286)
IDEMPIERE-5258 #resolve
2022-04-12 15:39:51 +08:00
igorpojzl ef929dfae5
IDEMPIERE-5256 Add Cache to MSession (#1282) 2022-04-07 09:33:41 +08:00
PeterTakacs300 fb6aba0287
IDEMPIERE-5248 - Report View reference: list doesn't work (#1273)
* IDEMPIERE-5248 - Report View reference: list doesn't work

* IDEMPIERE-5248 - inconsistancy fixed
2022-04-06 18:18:56 +08:00
Carlos Ruiz 5d15bcf3ff
Implement @LINE@ script in print format item (#1280) 2022-04-05 10:35:52 +08:00
PeterTakacs300 a1d58852ed
IDEMPIERE-4753 Make printing filename configurable (#1251)
* IDEMPIERE-4753 Make printing filename configurable

* IDEMPIERE-4753 - Jasper report

* IDEMPIERE-4753 - fix NPE
2022-03-31 14:59:45 +02:00
Nicolas Micoud 0b54d2f4c6
IDEMPIERE-5241 : bugfixes for charts (#1262)
* IDEMPIERE-5241 : bugfixes for charts

fix WhereClause, WinHeight, TimeUnit (see details in ticket)

* IDEMPIERE-5214 : Bugfixes for charts - fix TabEditor when no chart is defined on field
2022-03-25 12:01:05 +01:00
Nicolas Micoud ab0db6e9aa
IDEMPIERE-5232 : Chart field at tenant level - filter datasource (System and current tenant only) (#1263) 2022-03-25 11:52:12 +01:00
hengsin 3090f2384b
IDEMPIERE-5056 Order and Invoice: Tax lookup interface (#1253)
* IDEMPIERE-5056 Order and Invoice: Tax lookup interface

* IDEMPIERE-5056 Order and Invoice: Tax lookup interface

- add default value for MSysConfig.getValue call.
2022-03-23 15:00:08 +01:00
hengsin d4532196a2
IDEMPIERE-5083 add FREIGHTCOSTRULE_CustomerAccount (#1261) 2022-03-22 19:27:04 +01:00
Nicolas Micoud 22c238e0d2
IDEMPIERE-5232 : Chart field at tenant level (#1249)
* IDEMPIERE-5232 : Chart field at tenant level

* IDEMPIERE-5232 : Chart field at tenant level - Change AccessLevel to System+Client

* IDEMPIERE-5232 : Chart field at tenant level - migration scripts to iD10

* IDEMPIERE-5232 : Chart field at tenant level - DataSource tab must be advanced

* IDEMPIERE-5232 : Chart field at tenant level - fix migration scripts

* IDEMPIERE-5232 : Chart field at tenant level - fix script
2022-03-22 18:57:53 +01:00
Layda Salas e3a44d924d
IDEMPIERE-2975 Password Validator translations (Passay lib) / integrating patch from Tomáš Švikruha (#1259) 2022-03-19 11:56:37 +01:00
hengsin 0f0ee411eb
IDEMPIERE-5089 Add MSysConfig.ALLOW_REVERSAL_OF_RECONCILED_PAYMENT (#1254) 2022-03-18 14:48:11 +01:00
Nicolas Micoud 98f31bc3eb
IDEMPIERE-5237 : Add tablename on log when a column is missing (#1258) 2022-03-18 14:39:37 +01: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
Nicolas Micoud a7ab3a8345
IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO (#1255)
* IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO

* IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO

changes suggested by @hengsin
2022-03-18 14:42:12 +08:00
PeterTakacs300 ccda5e4495
IDEMPIERE-5225 - HTML Report minification (#1237)
* IDEMPIERE-5225 - HTML Report minification

* IDEMPIERE-5225 - SysConfig added

* IDEMPIERE-5225 - minification default set to true
2022-03-17 15:36:02 +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
hengsin f15abe6522
IDEMPIERE-5224 Locator Field type Caching Improvement (#1242)
* IDEMPIERE-5224 Locator Field type Caching Improvement

- Replace M_Locator.get with MLocator ResultSet constructor
- Implement lazy loading for MLocatorLookup

* IDEMPIERE-5224 Locator Field type Caching Improvement

- Implement lazy loading without new constructor (as suggested by
Carlos)
2022-03-15 09:30:11 +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
hengsin 9d0eea8fe3
IDEMPIERE-5094 Implement validation for costing level change ( Accounting Schema and Product Category Accounting ) (#1235) 2022-03-11 12:43:22 +01:00
Layda Salas ad70efcfa1
IDEMPIERE-1474 The class org.compiere.model.MPaymentValidate is not using translated error messages #resolve #fixversion 10 (#1234) 2022-03-09 10:35:37 +08:00
Carlos Ruiz 299454d5df
IDEMPIERE-5223 Allow attachment preview for xml and json (#1231) 2022-03-08 12:25:46 +08:00
Layda Salas dfb366f363
IDEMPIERE-1450 Translation missing for Matching Purchase Order #resolve #fixversion 10 (#1225) 2022-03-08 12:18:09 +08:00
PeterTakacs300 b4abd26307
IDEMPIERE-5216 - HTML Report - replace Record_ID with Identifier column (#1217)
* IDEMPIERE-5216 - HTML Report - replace Record_ID with Identifier column

* IDEMPIERE-5216 - multiple identifiers case fixed

* IDEMPIERE-5216 - NVL added
2022-03-08 11:38:54 +08:00
hengsin 89a1d0cd23
IDEMPIERE-5213 Flat view improvement for menu tree (#1212)
* IDEMPIERE-5213 Flat view improvement for menu tree

* IDEMPIERE-5213 Flat view improvement for menu tree

- fix annotation warning
2022-03-04 11:03:00 +01:00
Carlos Ruiz 715dfe8192
IDEMPIERE-5202 Implement auto save of current tab / add ZK_AUTO_SAVE_TABS_EXCLUDED, exclude Request windows (#1221) 2022-03-04 15:59:53 +08:00
Nicolas Micoud 7cabc12ebd
IDEMPIERE-5214 : Add AD_Role.IsClientAdministrator (#1220)
* IDEMPIERE-5214 : Add AD_Role.IsClientAdministrator

* IDEMPIERE-5214 : Add AD_Role.IsClientAdministrator - move scripts to i9

* IDEMPIERE-5214 : Add AD_Role.IsClientAdministrator - set value for new tenants

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
2022-03-03 16:19:54 +01:00
hengsin b6ce1e7cbe
IDEMPIERE-5202 Implement auto save of current tab (#1215)
- Fix auto save sometimes not happening for string field update
2022-03-03 15:37:55 +01:00
Nicolas Micoud 673db27766
IDEMPIERE-5217 : Default values in mail templates (#1218) 2022-03-03 14:54:32 +01:00
PeterTakacs300 32f26f8752
IDEMPIERE-5206 - HTML Report CSS style - add AD_FieldStyle_ID on AD_PrintFormatItem table (#1206)
* IDEMPIERE-5206 - HTML Report CSS style - add AD_FieldStyle_ID on AD_PrintFormatItem table

* IDEMPIERE-5206 - migration scripts

* IDEMPIERE-5206 - AD_FieldStyle_ID check, styleBuilder check added

* IDEMPIERE-5206 - moved the added code block to the right place
2022-03-03 16:13:39 +08:00
Carlos Ruiz 72ee50fcf5
IDEMPIERE-5212 Cross tenant PO writing in MFAUnregister #resolve #fixversion 10 #comment Solve Cross tenant PO (#1209) 2022-03-01 19:18:47 +01:00
hengsin 1ae1aa040e
IDEMPIERE-5202 Implement auto save of current tab (#1201)
* IDEMPIERE-5202 Implement auto save of current tab

* IDEMPIERE-5202 Implement auto save of current tab

- Fix auto save trigger for every keystore on text field.

* IDEMPIERE-5202 Implement auto save of current tab

- Fix handling of the confirmation dialog for close of tab.
- Focus tweak for child to parent tab navigation.
- Restore focus if user abandon closing of tab.

* IDEMPIERE-5202 Implement auto save of current tab

- Fix infinite error loop when auto save fail with error
2022-03-01 16:05:36 +08:00
Carlos Ruiz a38aefe92e
IDEMPIERE-5198 Print Format Cache do not reload Print Format Items (#1197)
* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items

* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / add reset(int id) for the cache

* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / change cache key from String to StringBuilder

Co-authored-by: hengsin <hengsin@gmail.com>
2022-02-25 16:45:33 +08:00
igorpojzl c7465f8121
IDEMPIERE-5204 Cache the list/array of mreflist for AD_Reference_ID (#1202)
* IDEMPIERE-5204 Cache the list/array of mreflist for AD_Reference_ID

* IDEMPIERE-5204 Use StringBuilder for better performance
2022-02-25 16:44:28 +08:00
PeterTakacs300 3423e02780
IDEMPIERE-5091 - Before Save Set Default Locator From Product Or Warehouse when creating m_inout programatically (#1043)
* IDEMPIERE-5091 - Before Save Set Default Locator From Product Or Warehouse when creating m_inout programatically

* IDEMPIERE-5091 - inefficient methods replaced

Co-authored-by: Igor Pojzl <igor.pojzl@cloudempiere.com>
2022-02-23 06:50:48 +08:00
hengsin 193dd936e5
IDEMPIERE-5199 Refactoring: Move SQL code at AbstractProcessCtl and ServerProcessCtl to MPInstance (#1198) 2022-02-22 12:35:27 +01:00
igorpojzl 1156cd35fe
IDEMPIERE-5193 GridTable MaxQueryRecords Limit - Performance (#1189)
* IDEMPIERE-5193 GridTable MaxQueryRecords Limit - Performance

* IDEMPIERE-5193 Use Database Paging

* IDEMPIERE-5193 Fix Not Updating SQL variable
2022-02-22 12:28:02 +01:00
Carlos Ruiz bedf226a21
IDEMPIERE-5191 SEARCH FAILURE BY DATE AND HOUR / IDEMPIERE-4962 IDEMPIERE-4724 (#1188) 2022-02-18 13:32:45 +08:00
Carlos Ruiz 622727f9c9
IDEMPIERE-5192 Expand Detailed Zoom Across button to more references (#1185) 2022-02-16 15:33:14 +08:00
Carlos Ruiz 1dac88e6e9
IDEMPIERE-2580 Error with taxes and country groups (#1186) 2022-02-15 19:38:57 +01:00
Carlos Ruiz 0e66985292
IDEMPIERE-5190 Improve migration script generator (#1183) 2022-02-14 06:43:25 +08:00
Carlos Ruiz 69d11d0370
IDEMPIERE-4893 NPE on PDF report of Test record (#1180)
- Fix NPE trying to print any HTML content in PDF as form using internal engine
- Fix problem printing HTML content as plain text
2022-02-12 20:27:12 +08:00
Carlos Ruiz 26aac62a4a
IDEMPIERE-5174 Disable System User (#1174) (#1182)
Fix wrong comparison changed in commit a9c4f7b - test case failing
Improve traceability of unit test
2022-02-12 12:29:20 +01:00
Nicolas Micoud 08ce41253b
IDEMPIERE-5185 : Add RoleType in context (#1173) 2022-02-12 14:20:52 +08:00
Tony Snook 0ee5faec8e
IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema … (#1175)
* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema when currency blank on header
- also add check to unit test

* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema
- add currency id check to minventory before save
2022-02-12 11:27:15 +08:00
Carlos Ruiz a9c4f7b642
IDEMPIERE-5174 Disable System User (#1174)
Verify hardcoded comparisons for role and system users
2022-02-12 11:25:52 +08:00
Carlos Ruiz 32a312a875
IDEMPIERE-5174 Disable System User (#1170)
Database Error when query/ReQuery in info window "Info System Element" as System User
2022-02-08 10:58:03 +08:00
Carlos Ruiz 037872d3e7
IDEMPIERE-4863 Enable save column width in WListBox (#1171)
Do not use centralized ID for AD_USERPREFERENCE_ID and AD_WLISTBOX_CUSTOMIZATION_ID
2022-02-08 10:55:39 +08:00
Tony Snook 78b7dc32d0
IDEMPIERE-5173 fix Accounting fact quantity incorrect (#1150)
* IDEMPIERE-5173 fix Accounting fact quantity incorrect
- also add unit tests

* IDEMPIERE-5173 remove c_uom_id check

* IDEMPIERE-5173 Use MMatchInv.isReversal() in preference to MMatch.getReversal_ID() > 0

* IDEMPIERE-5173 Update isReversal() method 
- add new test for is Reversal() when reversing a credit memo
2022-02-05 15:47:52 +08:00
Carlos Ruiz 824e1bb2da
IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client (#1146)
* IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client

* Fix wrong SQL - thanks to HiepLq

* Fix wrong parameters - thanks to HiepLq
2022-02-04 11:28:18 +01:00
Carlos Ruiz 496fce5434
IDEMPIERE-5168 column AD_AuthorizationAccount.AccessToken is short on some case (#1154)
* IDEMPIERE-5168 column AD_AuthorizationAccount.AccessToken is short on some case

- Allow reference Text with length 0 to be managed as CLOB/TEXT
- Increase AD_ChangeLog.OldValue/NewValue to 4000 to allow saving more information about changing long texts
- Change AD_AuthorizationAccount.AccessToken to CLOB/TEXT
- Change some important actual columns defined as Text Long, to Text with length 0 (this allows changelog, better 2Pack, encryption)

* Fix problem reported by Hiep Lq with Text/Text Long not shown correctly as encrypted
2022-02-04 11:27:44 +01:00
igorpojzl a32263c71f
IDEMPIERE-5171 GridTable duplicate WhereClause Fix (#1147)
* IDEMPIERE-5171 GridTable duplicate WhereClause Fix

* IDEMPIERE-5171 GridTable Remove old commented code
2022-02-02 10:53:48 +01:00
Nicolas Micoud 81bb438237
IDEMPIERE-1104 : SysConfig for posting using bank statement line date (#1149)
* IDEMPIERE-1104 : SysConfig for posting using bank statement line date

* IDEMPIERE-1104 : SysConfig for posting using bank statement line date - compare periods using IDs

* @nmicoud IDEMPIERE-1104 : SysConfig for posting using bank statement line date

change method's name and javadoc
2022-02-01 17:37:20 +01:00
Tony Snook dc181deff8
IDEMPIERE-5165 Remove references to deprecated services accounts (#1145) 2022-01-26 09:53:24 +08:00
hengsin 0db580a7a0
IDEMPIERE-5163 2022-01 Platform update (#1142) 2022-01-25 15:58:06 +01:00
hengsin f934d62efc
IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial (#1141)
* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial

* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial

add unit test
2022-01-21 12:10:30 +01:00
Saulo José Gil ad8b9a3f63
IDEMPIERE-5126 Virtual column lazy loading - Propagate new constructor (#1136)
Added new constructor PO(Properties, int, String, String...) to most
model classes.
2022-01-19 14:04:09 +01:00
Nicolas Micoud d3b9d99e81
IDEMPIERE-3044 : Add IsHighVolume on Tab (#1140)
* IDEMPIERE-3044 : Add IsHighVolume on Tab

* Update 202201191000_IDEMPIERE-3044.sql

* Update 202201191000_IDEMPIERE-3044.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-19 12:51:11 +01:00
Tony Snook c8c0ae317e
IDEMPIERE-5159 Remove hard coded rounding in Doc_Production (#1137)
- plus multiple improvements to production unit tests
2022-01-19 11:09:03 +08:00
Carlos Ruiz 0d7f775f1a
IDEMPIERE-5126 Virtual column lazy loading - Generate full model (#1135) 2022-01-16 11:51:25 +01:00
Carlos Ruiz 847e2a5238
IDEMPIERE-5146 Load/Import Bank Statement issues (#1125)
* Add org.compiere.model.MBankStatementLoader.getLastSavedLine() to allow further processing of the saved I_BankStatement record on plugins
* Increase size of columns:
        I_BankStatement.EftMemo -> 4000
        I_BankStatement.Memo -> 4000
        C_BankStatementLine.EftMemo -> 4000
        C_BankStatementLine.Memo -> 4000
        I_BankStatement.LineDescription -> 1000
        C_BankStatementLine.Description -> 1000
        I_BankStatement.EftTrxType -> 255
        C_BankStatementLine.EftTrxType -> 255
        I_BankStatement.EftReference -> 255
        C_BankStatementLine.EftReference -> 255
        I_BankStatement.ReferenceNo -> 255
        C_BankStatementLine.ReferenceNo -> 255
* Add process "Create Payment" on bank statement header to process all lines with pending payments to create
2022-01-15 17:25:30 +01:00
hengsin f2b70f7747
IDEMPIERE-5153 Cost Adjument Line Before Save: Update current cost price (#1131) 2022-01-15 16:55:39 +01:00
Nicolas Micoud a891ca988a
IDEMPIERE-5152 : Add title on broadcast messages (#1130)
* IDEMPIERE-5152 : Add title on broadcast messages

* Broadcast messages : use all the width of the panel to display the message

* IDEMPIERE-5152 : Add title on broadcast messages

* IDEMPIERE-5152 : Add title on broadcast messages - model class for v9

* IDEMPIERE-5152 : Add title on broadcast messages - improve mobile usage

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

* Delete pr1130_PR.txt

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-15 16:12:03 +01:00
Carlos Ruiz 5cebb50f58
IDEMPIERE-5149 Database lock in Translation Import/Export (#1127) 2022-01-14 09:34:58 +08:00
Saulo José Gil a9c4b932c4
IDEMPIERE-5025 Easier usage of process parameters (#1128)
Fix assignment of boolean parameters.
2022-01-12 08:18:34 +01:00
hengsin 916a5a9233
IDEMPIERE-4849 Nonsensical code in MProduction.createLines() (#1116) 2022-01-11 17:15:25 +01:00
hengsin 5843303a4d
IDEMPIERE-5144 MMatchPO: add validation for currency conversion of invoice price (#1119) 2022-01-11 16:24:32 +01:00
hengsin 9fd648b3e8
IDEMPIERE-5145 MMatchInv: add IsReversal method (#1120) 2022-01-11 16:20:19 +01:00
Nicolas Micoud c38414a876
IDEMPIERE-5135 : Add a link in a Broadcast message to open a record - fix link (#1121)
missing </a> in the link
2022-01-11 16:16:03 +01:00
igorpojzl 60f76d9edf
IDEMPIERE-5147 Improve Query.first() methods - performance (#1124)
* IDEMPIERE-5147  Improve Query.first() methods - performance

* IDEMPIERE-5147 Query Fix move buildSQL

* IDEMPIERE-5147 Query Fix sql value.

* IDEMPIERE-5147 DB paging Optimalizayion Patch

* IDEMPIERE-5147 Query test fix
2022-01-11 16:10:55 +01:00
Saulo José Gil 0eb89932fd
IDEMPIERE-5126 Virtual column lazy loading (#1095)
* IDEMPIERE-5126 Virtual column lazy loading

Virtual columns are now loaded only whenever their respective getters are invoked. This functionality works irrespective of the PO constructor used.

Query class now uses lazy loading by default as well.

* IDEMPIERE-5126 Virtual column lazy loading

Have the model generator ignore virtual columns with the @SQL prefix, as
their generated getters would always return null.

* IDEMPIERE-5126 Virtual column lazy loading

Added quoting to virtual column names

* IDEMPIERE-5126 Virtual column lazy loading

Reload virtual columns if the record was reloaded.

* IDEMPIERE-5126 Virtual column lazy loading

Fixed class cast exception in unit test.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Fine-grained virtual column loading support for Query.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Improved support for the constructor PO.PO(Properties, int, String,
String...).

* IDEMPIERE-5126 Virtual column lazy loading

Refactoring. Reduced size of messages sent and received from database
engine when lazy loading virtual columns. Other minor changes.

* IDEMPIERE-5126 Virtual column lazy loading

Added testing assertions.

* IDEMPIERE-5126 Virtual column lazy loading

Silenced Eclipse warnings.
2022-01-05 21:14:50 +08:00
Nicolas Micoud 2fe6f5bba5
IDEMPIERE-5136 : Set Messages at tenant level (#1113)
* IDEMPIERE-5136 : Set Messages at tenant level

* IDEMPIERE-5136 : Set Messages at tenant level : remove loop of clients to load messages

* IDEMPIERE-5136 : Set Messages at tenant level : fix migration scripts + fix imports

* IDEMPIERE-5136 : Set Messages at tenant level - callout to fill fields

* IDEMPIERE-5136 : Set Messages at tenant level - language field must be mandatory

* IDEMPIERE-5136 : Set Messages at tenant level - callout to fill fields (used at tenant level only)

* IDEMPIERE-5136 : Set Messages at tenant level - add IsActive check + close pstmt

* IDEMPIERE-5136 : Set Messages at tenant level - patch from Carlos

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

* IDEMPIERE-5136 : Set Messages at tenant level - check for active records on Trl table

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-05 11:34:20 +01:00
Nicolas Micoud 887d75067b
IDEMPIERE-3561 QuickEntry panel doesn't use ZoomCondition (#1102)
* IDEMPIERE-3561

* IDEMPIERE-3561

fix logic for isSOTrx = N

* IDEMPIERE-3561 - move migration scripts to i9 folder
2022-01-05 15:00:35 +08:00
Nicolas Micoud 79763f8626
IDEMPIERE-5135 : Add a link in a Broadcast message to open a record (#1105)
* IDEMPIERE-5135 : Add a link in a Broadcast message to open a record

Credits go to devcoffee - sorry i didn't find Matheus Marcelino's github account

Co-Authored-By: muriloht <5605206+muriloht@users.noreply.github.com>

* IDEMPIERE-5135 : Add a link in a Broadcast message to open a record

fix suggested by hengsin

Co-authored-by: muriloht <5605206+muriloht@users.noreply.github.com>
2022-01-05 10:19:55 +08:00
Nicolas Micoud a74f76dcc2
IDEMPIERE-5140 : Saved Queries should be ordered by name (#1112) 2022-01-05 10:15:43 +08:00
hengsin 55e9e87f0b
IDEMPIERE-5139 BOM validation for Deactivation of Product (#1111) 2022-01-04 15:24:07 +01:00
hengsin 349e0f35a6
IDEMPIERE-5134 Clean up storage records after deactivation of product (#1104) 2022-01-04 10:14:56 +08:00
Carlos Ruiz de1e9011c8
Revert "IDEMPIERE-4849: fix for MProduction.createLines() storage issue (#743)" (#1109)
This reverts commit 73b389652f.
2022-01-03 19:07:41 +01:00
Carlos Ruiz 0232b2e8f3
IDEMPIERE-4448 Autocomplete/Info Window doesn't work correctly with Search fields with Reference - fix reports with ID references (#1108) 2022-01-03 18:40:05 +01:00
Carlos Ruiz 950e674a30
IDEMPIERE-5133 Organization Window & Tab newly created records does not show on idempiere but its created in the database (#1103) 2022-01-03 19:37:42 +08:00
Carlos Ruiz 75bc20b404
IDEMPIERE-5131 Base language cannot be changed by process 'change base language' (#1100) 2022-01-02 13:26:58 +08:00
Carlos Ruiz bf67ba45e0
IDEMPIERE-4652 Remove Eclipse warnings (#1101) 2022-01-02 13:26:14 +08:00
Carlos Ruiz 141f608a63
IDEMPIERE-5130 Set process summary as workflow activity message (#1098) 2021-12-31 16:21:24 +08:00
hengsin b1446ecf65
IDEMPIERE-5127 MProduct: add IsSerial method (#1096)
* IDEMPIERE-5127 MProduct: add IsSerial method

* Update serialVersionUID

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-12-28 16:36:43 +01:00
Carlos Ruiz fa62f421b9
iIDEMPIERE-5109 Release 9 Horizon - set master in v10 (#1092) 2021-12-24 17:18:24 +01:00
Carlos Ruiz e1253b153c
IDEMPIERE-5109 Release 9 Horizon (#1091) 2021-12-24 16:41:17 +01:00
Carlos Ruiz adba43ced0
IDEMPIERE-5109 Release 9 Horizon (#1088)
* IDEMPIERE-5109 Release 9 Horizon

- Fill UUID in missing AD_TreeNodeMM_UU

* - IDEMPIERE-1052 - set as Search for High Volume tables

* - Fix supported versions in SECURITY.md

* - Script to set the Version number

* - Set credits and image

* - script to clean trailing space from elements

* - Set entity type EXT for Web Service tables

* - IDEMPIERE-4214 Javadoc: correct warnings on newest java version

* - Improvements to model generator classes

* - Model classes

* - Folders script maintenance new version
2021-12-24 18:05:32 +08:00
Carlos Ruiz b69fd6a329
IDEMPIERE-4262 on some condition, record insert by direct sql missing UUID (#1072)
* IDEMPIERE-4262 on some condition, record insert by direct sql missing UUID

Solve AD_Element_Trl, AD_Process_Para_Trl, AD_PrintForm

* Add AcctSchemaDefaultCopy *_Acct tables, M_Product_PO, Fact_Reconciliation
2021-12-23 12:06:29 +01:00
Deepak Pansheriya 5bfcedd0ca
IDEMPIERE-5123: On location dialog and location Editor, Region transl… (#1084)
* IDEMPIERE-5123: On location dialog and location Editor, Region translation is not respected.

* Update MRegion.java serialVersionUID

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-12-23 11:59:07 +01:00
Carlos Ruiz 9ae4a2636e
IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#1082)
* iIDEMPIERE-4214 Javadoc: correct warnings on newest java version / fix problem to generate javadoc again

* IDEMPIERE-4214 Javadoc: correct warnings on newest java version / Fix javadoc warnings
2021-12-23 11:44:23 +01:00
Carlos Ruiz 6fb0f8f359
IDEMPIERE-4836 Adding Access tab on Document Status (Activity) (#1081)
* IDEMPIERE-4836 Adding Access tab on Document Status (Activity) / fix unit test

* IDEMPIERE-4836 Adding Access tab on Document Status (Activity) / fix condition for access (must be AND instead of OR for role and user)
2021-12-23 11:44:01 +01:00
Deepak Pansheriya 1924ddb85d
IDEMPIERE-5122: Enforce Product UOM not work when user update UOM conversion record (#1083) 2021-12-23 11:43:46 +01:00
Carlos Ruiz 1d8e34e3e4
IDEMPIERE-4882 On Inventory Move, Adding Warehouse and Warehouse To field on header (#1085)
* IDEMPIERE-4882: Supproting warehouse To on inventory Move to filter locator

* IDEMPIERE-4882 On Inventory Move, Adding Warehouse and Warehouse To field on header / peer review

Co-authored-by: dpansheriya <deepakpansheriya@gmail.com>
2021-12-23 10:29:09 +01:00
hengsin b88a77ffec
IDEMPIERE-5118 MUOMConversion fix and improvements (#1075) 2021-12-23 10:21:26 +01:00
hengsin 93ebe43cbd
IDEMPIERE-5121 MStorageOnHand API enhancements (#1079) 2021-12-23 10:14:22 +01:00
hengsin 774ba1d427
IDEMPIERE-5114 MProjectTypePhase: getTasks() should return only active task records (#1069) 2021-12-20 11:11:48 +01:00
Carlos Ruiz 85cb32f2d8
IDEMPIERE-4262 on some condition, record insert by direct sql missing UUID (#1068)
* IDEMPIERE-4262 on some condition, record insert by direct sql missing UUID / fix role access uuids

* more on AD_Document_Action_Access

* Improve performance for trl recreate or insert - using update instead of record by record

* - add AD_PInstance_Log.AD_PInstance_Log_UU
2021-12-20 11:29:36 +08:00
Carlos Ruiz a05a81154e
IDEMPIERE-5112 NF8.2 Print Format Item Script not working on Oracle (#1065) 2021-12-20 11:23:29 +08:00
hengsin a950ba9f00
IDEMPIERE-5113 MInfoWindow: column access doesn't work if From clause is created without synonym/alias (#1064) 2021-12-19 15:01:25 +01:00
Tony Snook 1d67dbae97
IDEMPIERE-5111 Data type improvements to Print Format Item Script (#1063) 2021-12-19 14:19:30 +08:00
Carlos Ruiz 7b30ab343b
IDEMPIERE-4836 Adding Access tab on Document Status (Activity) / peer review - fix multi-tenant issue (#1061) 2021-12-18 16:05:58 +01:00
Deepak Pansheriya da97b08d2c
IDEMPIERE-4836 : Document status access tab (#1001)
* IDEMPIERE-4836 : Document status access tab

* IDEMPIERE-4836 : Adding unit test

* IDEMPIERE-4836 : Fixing as per review comment

* IDEMPIERE-4836 : Fixing review comments
2021-12-18 16:03:06 +01:00
Tony Snook 2eb77fc56d
IDEMPIERE-5105 Remove unused and/or unnecessary code in Print Format Item Script feature (#1058) 2021-12-18 14:26:52 +08:00
hengsin 95924e8578
IDEMPIERE-5103 Clear Parent Tax ID if a Tax Rate record is Summary (#1056) 2021-12-17 19:25:40 +01:00
hengsin 160db45e84
IDEMPIERE-5104 MLookup: Inconsistent use of TabNo (#1057) 2021-12-17 19:24:21 +01:00
Carlos Ruiz cafe018404
IDEMPIERE-4448 Autocomplete/Info Window doesn't work correctly with Search fields with Reference (#1055)
* Change 188 reftables to use the ID for display - this displays the reference based on the identifiers of the table, making it consistent with Search/Table without reference
* Use the MSysConfig.IDENTIFIER_SEPARATOR for the cases where reference is displaying value and another column
2021-12-17 13:44:55 +08:00
hengsin 52c423dfeb
IDEMPIERE-5102 Deactivate AD_Desktop and AD_Workbench (#1053) 2021-12-17 11:10:48 +08:00
hengsin d0d68de57b
IDEMPIERE-4723 Clean up iDempiere's code (#1054)
* IDEMPIERE-4723 Clean up iDempiere's code

* IDEMPIERE-4723 Clean up iDempiere's code
2021-12-16 10:58:24 +01:00
Carlos Ruiz 08c7775f77
IDEMPIERE-5099 Invoice Tax zero deleted wrongly when invoice line is updated before complete (#1050) 2021-12-16 14:53:18 +08:00
hengsin dc698ff655
IDEMPIERE-5073 M_InOutLineMA.DateMaterialPolicy should comes from MStorageOnHand or Shipment instead of through user entry (#1027) 2021-12-14 15:35:04 +01:00
Carlos Ruiz a12ba93869
IDEMPIERE-4186 allow workflow to be suspended until after commit of actual transaction (#1034)
* IDEMPIERE-4186 allow workflow to be suspended until after commit of actual  transaction / fix Split Join = AND

* Add unit test for Split AND

* Fix test case - commit and cleanup the changes to workflow
2021-12-14 10:53:43 +08:00
hengsin 74b6604d57
IDEMPIERE-5065 Material Receipt Line not available for matching after… (#1019)
* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO

* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO

Fix unit test

* IDEMPIERE-5065 Material Receipt Line not available for matching after reversal of Match PO

Remove unreliable and potentially dangerous match po consolidation
2021-12-13 18:48:48 +01:00
hengsin 1eedd3f5a6
IDEMPIERE-5098 MCost.get: new MCost created without trxName (#1048) 2021-12-13 18:41:21 +01:00
Carlos Ruiz e5344194a3
IDEMPIERE-4900 SQL statement added as an option to define WF Next Node Condition (#1049)
Fix wrong matches pattern -> eclipse 2021-12 complains with error
Invalid escape sequence (valid ones are  \b  \t  \n  \f  \r  \"  \'  \\ )
2021-12-13 21:41:35 +08:00
hengsin 1da4e41f0a
IDEMPIERE-5095 MAttributeSet: add getMAttributeUse method (#1044) 2021-12-11 15:46:32 +01:00
gsjeffen c895446af5
Don't log the table AD_WLISTBOX_CUSTOMIZATION (#1047)
Added the table AD_WLISTBOX_CUSTOMIZATION to dontLogTables array in Convert.java
2021-12-11 12:51:43 +08:00
Tony Snook 236608e1cd
IDEMPIERE-5078 - fix typo C_DocType should be C_DocType_ID (#1045) 2021-12-10 17:50:52 +08:00
PeterTakacs300 0dbbdcadab
IDEMPIERE-5078 - M_inout movementtype add to before save (#1038)
* IDEMPIERE-5078 - M_inout movementtype add to before save

* IDEMPIERE-5078 - shared logic between CalloutInOut.doctype and MInOut.getMovementType

* IDEMPIERE-5078 - javadoc added (#1038)

Co-authored-by: Igor Pojzl <igor.pojzl@cloudempiere.com>
2021-12-09 19:39:12 +08:00
Carlos Ruiz 4439765e22
IDEMPIERE-4871 Print Format Item Script Data Type Support (fix backward compatibility issue) (#1007) 2021-12-09 09:39:55 +08:00
hengsin 3530351601
IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not … (#1040)
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working

Fix reversal and add more unit test

* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working

Use constant for movement type checking
2021-12-08 16:18:44 +01:00
Diego Ruiz 5c675536cd
IDEMPIERE-4723 - Clean up dead code in compiere/print (#1039)
* IDEMPIERE-4723 - Clean up dead code in compiere/print

* IDEMPIERE-4723 - Clean up dead code in compiere/print
2021-12-08 21:48:44 +08:00
Carlos Ruiz 78296f9178
IDEMPIERE-5080 Dup key inserting in AD_PInstance_Log on certain workflows (#1032) 2021-12-08 17:14:15 +08:00
Carlos Ruiz 497398857e
IDEMPIERE-5079 Improvements for Workflow Editor (#1033) 2021-12-08 17:12:57 +08:00
hengsin db4087f878
IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not … (#1014)
* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working

* IDEMPIERE-2172 Attribute set with mandatory type = When Shipping not working

- added MTransaction
- added reversal handling
2021-12-07 14:10:19 +01:00
hengsin 055c614336
IDEMPIERE-5069 Completion of Shipment for Close Order produce inconsistent order line data (#1030) 2021-12-07 13:12:52 +01:00
hengsin 40462f674b
IDEMPIERE-5081 add IDocsPostProcess interface (#1035) 2021-12-07 12:32:14 +01:00
hengsin 6637f549d7
IDEMPIERE-5084 SQL error in MPaymentTransaction.getAuthorizationPaymentTransactionIDs method (#1036) 2021-12-07 12:14:20 +01:00
hengsin 5c2effc554
IDEMPIERE-5085 Credit card fields of Payment should be clear after change of tender type (#1037) 2021-12-07 11:56:26 +01:00
Diego Ruiz 1f1797ce5b
IDEMPIERE-5063 - Move AccessSqlParserTest class from model to org.ide… (#1028)
* IDEMPIERE-5063 - Move AccessSqlParserTest class from model to org.idempiere.test

* IDEMPIERE-5063 - Set right header in the Test class
2021-12-06 18:49:11 +08:00
Diego Ruiz a14ac5fbe2
IDEMPIERE-4723 - Clean up dead code (#1026) 2021-12-06 18:47:28 +08:00
Elaine Tan b85fecbf74
IDEMPIERE-5053 Minor variance (0.01) in secondary (USD) schema, GL Unallocated Cash, after payment fully allocated (#1020)
* IDEMPIERE-5053 Minor variance (0.01) in secondary (USD) schema, GL Unallocated Cash, after payment fully allocated
2021-12-06 18:46:19 +08:00
hengsin 935007d58a
IDEMPIERE-5061 Inconsistency in getLines Order By code (#1013) 2021-12-02 14:50:39 +01:00
hengsin 7b1c9322f9
IDEMPIERE-5066 Order Line Create Production not visible in the process toolbar dropdown (#1021) 2021-12-02 09:23:36 +08:00
Carlos Ruiz feebea8691
IDEMPIERE-5052 Date Min/Max Validation wrong with 5 digit years (#1016)
* IDEMPIERE-5052 Date Min/Max Validation wrong with 5 digit years

* IDEMPIERE-5052 Date Min/Max Validation wrong with 5 digit years / enable for Cost+Price and String
2021-12-01 09:46:53 +08:00
Carlos Ruiz 0e58458114
IDEMPIERE-5006 [Info Window] - MInfoProcess & MInfoRelated cached incorrectly (#1015) 2021-12-01 09:44:24 +08:00
hengsin ce83914f32
IDEMPIERE-5054 Order Line: Shouldn't allow change of ASI when Qty Reserved > 0 (#1006) 2021-11-29 16:11:54 +01:00
hengsin 05447b38ce
IDEMPIERE-5040 Stall M_InOutLine.QtyOverReceipt (#1005)
* IDEMPIERE-5040 Stall M_InOutLine.QtyOverReceipt

* IDEMPIERE-5040 Stall M_InOutLine.QtyOverReceipt

Drop the user of M_InOutLine.QtyOverReceipt column
2021-11-29 16:01:52 +01:00
Carlos Ruiz 744e84ccc5
IDEMPIERE-5059 Import the database view definition into dictionary (#1011) 2021-11-29 10:25:08 +08:00
Carlos Ruiz 143ef24a58
IDEMPIERE-5060 iDempiere dictionary view doesn't support UNION ALL (#1009) 2021-11-29 10:22:30 +08:00
hengsin 2b79a1a874
IDEMPIERE-5039 Negative Lost Sales Quantity (#1003)
fix unit test IDEMPIERE-4587
2021-11-25 14:09:49 +01:00
Saulo José Gil 9e2922c7c8
IDEMPIERE-5050 Service startup freeze (#996)
* IDEMPIERE-5050 Service startup freeze

Switched all annotation-based factories to asynchronous class scan.

* Deferred MIssue record creation

Log errors on the database after all model factories are initialized.

* Moved webservice model classes over to its own package

Model factories WS_ModelFactory and AnnotationBasedModelFactory were
overlapping on the org.compiere.model package. This produced class
loading problems since the base bundle has no visibility over the
webservices bundle (e.g.: MWebservice).

* Minor changes
2021-11-24 13:57:35 +08:00
Nicolas Micoud 2486ff8148
IDEMPIERE-4858 : Helper process "Make Table a Document" - fixes for t… (#990)
* IDEMPIERE-4858 : Helper process "Make Table a Document" - fixes for translation tables

see details in tickets

* IDEMPIERE-4858 : Helper process "Make Table a Document" - add TableIndex records

* IDEMPIERE-4858 : Helper process "Make Table a Document" - AD_Message / tick IsTranslated on main table

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

* Delete pr990_PR.txt

commited by error

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-11-19 17:02:54 +01:00
hengsin ceb056e6d8
IDEMPIERE-5048 Minor fix for Scheduler and SvrProcess: set m_trx to null (#989) 2021-11-19 16:12:39 +01:00
hengsin 29f5186d41
IDEMPIERE-5047 iDempiere Server Monitor Improvements (#988) 2021-11-19 16:04:54 +01:00
hengsin 2c5efb3031
IDEMPIERE-5046 Implement background reset of expire cache (#987) 2021-11-19 15:55:04 +01:00
hengsin 5ccd54caf8
IDEMPIERE-4900 SQL statement added as an option to define WF Next Nod… (#981)
* IDEMPIERE-4900 SQL statement added as an option to define WF Next Node Condition

Base on pull request 813 (Anton Mostovenko) and patch from
IDEMPIERE-1832 (Deepak Pansheriya)

* IDEMPIERE-4900 SQL statement added as an option to define WF Next Node Condition

Incorporate patch from carlos

* IDEMPIERE-4900 SQL statement added as an option to define WF Next Node Condition

Incorporate patch from Carlos
2021-11-17 12:06:42 +01:00
hengsin 8db15d01d1
IDEMPIERE-2168 Product with ASI Mandatory Type = When Shipping is still mandatory on sales orders (#976) 2021-11-15 19:06:24 +01:00
hengsin f4764b1411
IDEMPIERE-5039 Negative Lost Sales Quantity (#978)
* IDEMPIERE-5039 Negative Lost Sales Quantity

* IDEMPIERE-5039 Negative Lost Sales Quantity

* IDEMPIERE-5039 Negative Lost Sales Quantity

add unit test
2021-11-15 20:32:17 +08:00
Deepak Pansheriya 9c747a6f0d
IDEMPIERE-4086: Allow Product without price list on some document type (#974) 2021-11-12 10:57:30 +01:00
hengsin f937cdbf35
IDEMPIERE-5029 User can make Shipment/Receipt Line Product different … (#968)
* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

Merge patch from Carlos

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

Make consistent with previous patch - always use oLine.M_Product_ID for
reservation

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

add safe guard against oLine is Charge and sLine is Product.

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

- need to apply the oLine.getM_Product_ID changes to reservation log
too.

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

More fix for update of qtyreserved not using product id from oLine.

* IDEMPIERE-5029 User can make Shipment/Receipt Line Product different from Order Line Product

update of qtyreserved: should use warehouse and issotrx from order too
2021-11-11 18:48:27 +01:00
Carlos Ruiz 0f31a07f43
IDEMPIERE-5034 NPE and other problems when a file is removed from store attachment filesystem (#971) 2021-11-10 09:41:30 +08:00
hengsin d0340e70d5
IDEMPIERE-5031 Implement auto produce upon shipment for mfg light (#969)
* IDEMPIERE-5031 Implement auto produce upon shipment for mfg light

* IDEMPIERE-5031 Implement auto produce upon shipment for mfg light

Fix clean up of unit test
2021-11-09 14:23:49 +01:00
Saulo José Gil 4d93067d1a
IDEMPIERE-5025 Easier usage of process parameters (#963)
* IDEMPIERE-5025 Easier usage of process parameters

Created @Parameter annotation in order to tag process class attributes
as parameters and have them to have their values assigned automatically
without extra code.

* Minor changes
2021-11-06 14:50:14 +08:00
hengsin ea3b147fb1
IDEMPIERE-5021 Implement Storage Reservation Log (#961)
* IDEMPIERE-5021 Implement Storage Reservation Log

- implement log table for movement of QtyReserved and QtyOrdered

* IDEMPIERE-5021 Implement Storage Reservation Log

update javadoc and license header

* IDEMPIERE-5021 Implement Storage Reservation Log

increase documentno column length to 255

* IDEMPIERE-5021 Implement Storage Reservation Log

Fix migration script
2021-11-03 12:27:57 +01:00
hengsin ed4c1a81d0
IDEMPIERE-4472 Window Advanced Search - Allow select column from wind… (#959)
* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Based on pull request #170 from igorpojzl.
Difference from #170:
- use AD_Tab_UU instead of AD_Tab_ID
- use Combobox for table list

* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Fix attribute search

* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Merge patch from Carlos (increse length of AD_UserQuery.Code)
2021-11-01 22:05:49 +08:00
Carlos Ruiz 180b11bd65
IDEMPIERE-5020 Allow to show products without price in Info Product window (#957) 2021-10-29 15:35:40 +08:00
Carlos Ruiz 4e4a3d9bac
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#955)
- support for System user with access to multiple tenants
- default to re-register device when expired
2021-10-29 14:48:36 +08:00
hengsin 28638d075b
IDEMPIERE-5019 add org.adempiere.base.annotation.EventTopicDelegate annotation (#952) 2021-10-28 11:21:08 +02:00
hengsin 22c09368e6
IDEMPIERE-5015 add org.adempiere.base.annotation.Callout annotation (#948) 2021-10-27 12:15:58 +02:00
hengsin 85f640ffdf
IDEMPIERE-4966 Error in FinReport with List Sources and Native Postgr… (#945)
* IDEMPIERE-4966 Error in FinReport with List Sources and Native PostgreSQL

* IDEMPIERE-4966 Error in FinReport with List Sources and Native PostgreSQL

Incorporate suggestion from Carlos (replace DB.executeUpdate call with
DB.executeUpdateEx)
2021-10-26 16:35:08 +08:00
hengsin 633c2e240f
IDEMPIERE-5012 org.idempiere.ui.zk.annotation.Form annotation (#944) 2021-10-23 15:11:49 +02:00
hengsin 4759ae5c2b
IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation (#924)
* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

minor refinement

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

refine error handling

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

refactor to follow closer the AnnotationBasedModelFactory naming
convention.
2021-10-22 12:38:10 +02:00
hengsin 4b923f4d03
IDEMPIERE-5004 add org.adempiere.base.Model annotation support to MappedModelFactory (#930) 2021-10-22 12:27:48 +02:00
hengsin a73ce05875
IDEMPIERE-4999 Advanced Lookup on sub-tab of a window triggers a PSQL Exception (#939)
- Integrate patch from Tony Snook to fix issue with "product category"
and "Chosen Multiple Selection List" field
2021-10-22 12:23:39 +02:00
hengsin eb82c679ca
IDEMPIERE-5003 Abort for workflow activity and process manage is not working (#925) 2021-10-22 12:18:20 +02:00
HideakiHagiwara 9f835c3e15
IDEMPIERE-5008 Performance improvement of "NF3.0 Tree On Any Table". (#938)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
2021-10-21 15:48:09 +08:00
Ricardo Santana 1970ee6539
IDEMPIERE-5002 RMA does not handle UoM properly (#928) 2021-10-21 15:23:17 +08:00
Diego Ruiz c9354bca85
IDEMPIERE-5000 Window Customization Field does not show fields that are not displayed in the Window>Tab>Field sytem record (#922) 2021-10-13 16:14:59 +02:00
Diego Ruiz 6dd60f30c7
IDEMPIERE-4723 - Clean up org.compiere.acct dead code (#921) 2021-10-13 13:19:18 +08:00
Nicolas Micoud 08b2c28207
IDEMPIERE-4998 : NPE when saving a SysConfig from code (#920)
* IDEMPIERE-4998 : NPE when saving a SysConfig from code

fix missing parenthesis and remove .bak file

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
2021-10-12 17:16:44 +02:00
Carlos Ruiz 5f39c14e31
IDEMPIERE-4997 Allow to use product (or charge) in commissions configuration (#919) 2021-10-12 12:04:59 +02:00
Carlos Ruiz 68d2d7432e
IDEMPIERE-2624 Cant confirm 0 qty on Shipment Confirmation (#917) 2021-10-12 09:36:49 +08:00
gsjeffen eb3db56364
IDEMPIERE-4863 Enable save column width in WListBox (#883)
* IDEMPIERE-4863-1 Enable save column width in WListBox

This PR is the base for implementing save of column width of a wlistbox in forms and windows.

* IDEMPIERE-4863-1 Enable save column width in WListBox implementation example

This commit is showing examples implementation of this PR, it is for infoProductWindow and infoWindow
2021-10-12 09:27:26 +08:00
Diego Ruiz 859c30166b
IDEMPIERE-4964 - Status line message does not update when changing th… (#918)
* IDEMPIERE-4964 - Status line message does not update when changing the detail

* Update GridTab.java

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-10-11 20:06:01 +02:00
Diego Ruiz 7d7b2cf5b4
IDEMPIERE-4723 Clean code org.adempiere.base/ akunagroup/ adempiere /base/imexp/model/print/process/util org.compiere (#915) 2021-10-11 16:49:41 +08:00
Carlos Ruiz ca9aa33afb
IDEMPIERE-4986 Extend events to prefill email dialog variables from report window (#908)
* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window

* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window / also in new Attachment button

* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window / change approach to constructor

* IDEMPIERE-4992 email from archive dialog
2021-10-08 16:28:45 +08:00
Nicolas Micoud 631e25b599
IDEMPIERE-4721 : Financial Report : exclude all adjustment periods - … (#904)
* IDEMPIERE-4721 : Financial Report : exclude all adjustment periods - fix NPE

reported by @CarlosRuiz-globalqss ; see https://idempiere.atlassian.net/browse/IDEMPIERE-4721?focusedCommentId=47539

* IDEMPIERE-4721 : Financial Report : exclude all adjustment periods - fix NPE

Using Carlos's suggestion

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-10-07 10:53:43 +02:00
hengsin 8fbac60b1a
IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light (#906)
* IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light

* IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light

Fix deprecation warnings

* Update 202109291600_IDEMPIERE-1250.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-10-06 17:06:26 +02:00
Nicolas Micoud 080ba69967
IDEMPIERE-4982 : Methods to retrieve value from multiple process para… (#901)
* IDEMPIERE-4982 : Methods to retrieve value from multiple process parameters

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2021-09-30 15:56:58 +08:00
Carlos Ruiz 557c483fc9
IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Shell script (#891)
* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Shell script

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Java Shell script -> beanshell/groovy

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Remove java class option, fixes for script

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / rename to ScriptJSR223

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / add audit information to SQL statements, shell and JSR223 scripts
2021-09-24 16:38:07 +08:00
Carlos Ruiz 80ed239ac2
IDEMPIERE-4979 ModelGenerator class generates entries for inactive ref lists (#898) 2021-09-23 22:58:21 +08:00
hengsin 164e6d15b6
IDEMPIERE-4842 Easier model registration (#895)
* IDEMPIERE-4842 Easier model registration

- Needs to enable jar scanning to support felix/console installation of
plugin jar.
- add rejectJars call to reduce startup delay after enable of jar
scanning. keep the list short to reduce future maintenance hazard.
- remove the not supported use of acceptPackagesNonRecursive and
acceptClasses together.
- change getAcceptClassesPatterns() default to X_* and M*. Withouut
acceptPackages, we need to scan both X and M classes.

* IDEMPIERE-4842 Easier model registration

- remove use of rejectJars since the performance difference is small and
need maintenance.
- remove warning for not overriding getPackages(). Plugin that doesn't
has many model class (< 100) doesn't have to override getPackages() as
performance is good enough with the use of acceptClasses(...).
2021-09-23 21:14:47 +08:00
Fr Jeremy Krieg 445ca8e0fa
Fix error in setting product resource type. (#897)
Signed-off-by: kriegfrj <fr.jkrieg@greekwelfaresa.org.au>
2021-09-23 15:11:03 +02:00
Saulo José Gil 2b4a2be5a2
IDEMPIERE-4842 Easier model registration (#893)
* IDEMPIERE-4842 Easier model registration

- Change from https://github.com/atteo/classindex to
https://github.com/classgraph/classgraph, remove annotation processor
config.

- Change service.ranking of DefaultModelFactory to -1 and
service.ranking of AnnotationBasedModelFactory to 0. This give
AnnotationBasedModelFactory higher priority over DefaultModelFactory and
allow plugins to have higher priority over AnnotationBasedModelFactory
with server.ranking of 1 (the common practise before the introduction of
AnnotationBasedModelFactory).

- Added resultset constructor to MTree. This is to allow the use of
MTree with model factory.

- Remove classindex annotation from org.adempiere.base.Model and X_*
model classes.

- Added unit test for table to model class mapping

- AnnotationBasedModelFactory: Change from using annotation processor to
runtime annotation scanning using the classgraph library. The default
setting scans all the X_* model class and travels the inheritance
hierarchy to discover the M* model class. Plugin needs to create a
subclass of AnnotationBasedModelFactory and register it as an OSGi
component to scan the plugin's annotated model classes (the plugin's
custom AnnotationBasedModelFactory component should have service.ranking
> 0).

* IDEMPIERE-4842 Easier model registration

minor refinement

* Minor changes

Co-authored-by: hengsin <hengsin@gmail.com>
2021-09-22 22:42:51 +08:00
Nicolas Micoud 86c21dafda
IDEMPIERE-4866 : Multiple smtp per tenant (#884)
* IDEMPIERE-4866 : Multiple smtp per tenant

Same PR as https://github.com/idempiere/idempiere/pull/783

* IDEMPIERE-4866 : Multiple smtp per tenant - various fixes

Fixes suggested by Carlos on https://github.com/idempiere/idempiere/pull/783 (remove System.out, change AD_Element name, tab in SingleRow mode) + fix NPE

* IDEMPIERE-4866 : Multiple smtp per tenant : implement cache

* IDEMPIERE-4866 : Multiple smtp per tenant : process EMailTest was not set on column

Fixes by Carlos

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-09-21 14:56:56 +02:00
Carlos Ruiz 078d130cd7
IDEMPIERE-4969 Clean non-working 2Pack Code for File and CodeSnippet (#886) 2021-09-19 15:31:18 +08:00
hengsin 5413f0c11d
IDEMPIERE-4842 Easier model registration (#888)
* IDEMPIERE-4842 Easier model registration

- Temporary disable AnnotationBasedModelFactory until getSubclasses()
doesn't work for subclass from different package is resolve.

* IDEMPIERE-4842 Easier model registration

- turn of annotation processing in editor which causes slow editor
performance
2021-09-19 13:16:53 +08:00
hengsin 2f8adb48c9
IDEMPIERE-4842 Easier model registration (#887)
- Temporary disable AnnotationBasedModelFactory until getSubclasses()
doesn't work for subclass from different package is resolve.
2021-09-18 15:36:50 +08:00
Saulo José Gil 602e450a93
IDEMPIERE-4842 Easier model registration (#877)
* Preliminary support for automatic model class registration

Model classes can be tagged with a new @Model annotation that allows for
easy/fast class scanning/registration, based on the ClassIndex library.
The list of annotated model classes is generated at compile time, thus
reducing reflection reliance to a bare minimum.

NOTE: Eclipse uses its own Java compiler which is not strictly standard
compliant and requires extra configuration. In Java Compiler ->
Annotation Processing -> Factory Path you need to add ClassIndex jar
file

* Annotation based model factory

* Improve classloader determination for annotation scanning

ClassIndex default annotation scanning method determines the classloader
to be used by calling Thread.currentThread().getContextClassLoader(),
which should not be used in an OSGi environment.

* Enable ClassIndex's annotation processor under Eclipse

Make sure annotation processing is enabled at Module Properties -> Java
Compiler -> Annotation Processing

* Refactoring annotation-based model class detection

Eliminated the need of annotating M* classes, by using ClassIndex's
@IndexSubclasses annotation.

* Minor change

* Minor changes

* Creation of AbstractModelFactory

* Documentation

* Make AnnotationBasedModelFactory extend AbstractModelFactory

* IDEMPIERE-4842 Easier model registration

- add annotation processor jdt settings
- fix @Component annotation for AnnotationBasedModelFactory
- fix generated x_* class missing "org.atteo.classindex.IndexSubclasses"
import

* Expose ClassIndex lib to other bundles

* Updated model classes

Co-authored-by: hengsin <hengsin@gmail.com>
2021-09-18 13:35:57 +08:00
Nicolas Micoud a1da95cfff
IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_User… (#866)
* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info

* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info

Use customized image from tenant level when opening the panel

* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info - fix migration scripts name
2021-09-17 15:56:44 +02:00
Carlos Ruiz 5979f65bbd
IDEMPIERE-2853 Panel tab as a factory - preserve AD_Tab.IsSortTab for backward compatibility (#885) 2021-09-17 21:07:50 +08:00
Nicolas Micoud e0a8637880
IDEMPIERE-4721 : Financial Report : exclude all adjustement periods (#872)
* IDEMPIERE-4721 : Financial Report : exclude all adjustement periods

* Change warning to info

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-09-15 14:29:11 +02:00
hengsin 5f22f7f495
IDEMPIERE-4961 Minor performance enhancement for AD Window (#878)
* IDEMPIERE-4961 Minor performance enhancement for AD Window

* IDEMPIERE-4961 Minor performance enhancement for AD Window

Fix potential mtab not found issue with 2pack import.
2021-09-15 13:00:28 +02:00
hengsin 309eb5366f
IDEMPIERE-4960 Performance improvement for the opening of info window (#876)
* IDEMPIERE-4960 Performance improvement for the opening of info window

* IDEMPIERE-4960 Performance improvement for the opening of info window

Query.scroll and Query.list basically offer the same db performance, the
previous change is unnecessary.
2021-09-14 16:16:07 +02:00
Carlos Ruiz a95983730f
IDEMPIERE-4963 Performance: avoid loop in X_ class interface getters (#880) 2021-09-14 21:17:45 +08:00
hengsin ab12354cb4
IDEMPIERE-4959 Performance improvement for the opening of form window (#875)
* IDEMPIERE-4959 Performance improvement for the opening of form window

* IDEMPIERE-4959 Performance improvement for the opening of form window

minor cache name change.
2021-09-14 15:04:06 +02:00
hengsin eedc3c6e35
IDEMPIERE-4924 Performance issue with indirect context (#863)
* IDEMPIERE-4924 Performance issue with indirect context

- added cache

* IDEMPIERE-4924 Performance issue with indirect context
2021-09-14 14:32:20 +02:00
hengsin 21c07785e8
IDEMPIERE-4958 Performance improvement for the opening of process dialog (#874)
* IDEMPIERE-4958 Performance improvement for the opening of process dialog

* IDEMPIERE-4958 Performance improvement for the opening of process dialog

Query.scroll and Query.list has similar db performance, the previous
change is not needed.
2021-09-14 14:09:55 +02:00
hengsin 0c5a0112e1
IDEMPIERE-4933 Platform update for 9.x (#870)
minor: remove unnecessary nature and build command from .project
2021-09-10 09:55:07 +02:00
hengsin f8c72c0451
IDEMPIERE-4949 Desktop tab enhancements (#868)
* IDEMPIERE-4949 Desktop tab enhancements
* ConfigurationLevel=C

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-09-08 13:40:00 +02:00
Xin Wang 7f09b1adc5
IDEMPIERE-4945 Selected row is changed after table sort in Swing UI (#865)
At the end of table sorting, trigger data status change event before UI
event, so that GridTab data is changed before UI refresh, which is
needed for Swing UI.
2021-09-07 20:10:09 +08:00
hengsin ae5a665dd8
IDEMPIERE-4933 Platform update for 9.x (#857)
* IDEMPIERE-4933 Platform update for 9.x

- WIP

* IDEMPIERE-4933 Platform update for 9.x

- project to repackaged some osgi bundles from maven

* IDEMPIERE-4933 Platform update for 9.x

- Fix target platform error

* IDEMPIERE-4933 Platform update for 9.x

* IDEMPIERE-4933 Platform update for 9.x

- minor eclipse setting fix
2021-09-04 16:12:10 +02:00
hengsin f1c663e100
IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree (#860)
* IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree

* IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree

Use Trx object instead of context for event changes indicator.
2021-09-04 20:16:14 +08:00
Carlos Ruiz 39ad82ebf0
IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not (#850)
* IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not

Based on pull request 170
Co-authored-by: Igor Pojzl <igor.pojzl@cloudempiere.com>

* IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not

Rename migration scripts as suggested by Heng Sin
2021-09-03 22:20:50 +08:00
hengsin 48c6dd40d4
IDEMPIERE-4250 Implement optimistic locking support (#838)
* IDEMPIERE-4250 Implement optimistic locking support

* IDEMPIERE-4250 Implement optimistic locking support

- merge fix from Carlos.
2021-09-03 13:17:20 +08:00
Carlos Ruiz 22f47cd382
IDEMPIERE-4939 Implement ability to discover operating system environment variables when parsing context (FHCA-3026) (#853)
* IDEMPIERE-4939 Implement ability to discover operating system environment variables when parsing context (FHCA-3026)

* IDEMPIERE-4939 Add unit test
2021-08-31 14:24:19 +02:00
Carlos Ruiz cd849dc23b
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) / add context discovery to AD_AuthorizationCredential.AuthorizationRedirectURL (#854)
FHCA-3026
2021-08-30 18:25:41 +02:00
Carlos Ruiz fcef8e1c15
IDEMPIERE-4911 Silent fail when translated column is shorter than original column (FHCA-2888) / fix issue with 2Pack (#855) 2021-08-30 18:24:25 +02:00
Nicolas Micoud 0ace1aa246
IDEMPIERE-4936 : Add IsDisplayedGrid on UserDefWindow (#849) 2021-08-30 15:41:45 +02:00
Deepak Pansheriya 96baf0b7cd
IDEMPIERE-2853: Support for IADTabPanel as factory to add custom Tab … (#579)
* IDEMPIERE-2853: Support for IADTabPanel as factory to add custom Tab types
sh: q: command not found

* IDEMPIERE-2853: adding requested Java doc, fixing seq mismatch in oracle and postgresql, Using Interface method instead of manual isSortTab check,

* IDEMPIERE-2853: Adding default implementation for isEnableCustomizeButton in IADTabpanel

* IDEMPIERE-2853: renaming reference label and Added support for allowing implementor to update toolbar state.

* IDEMPIERE-2853: Fixing compilation issue due to merging to master branch
2021-08-30 13:56:34 +02:00
Martin Schönbeck 111eab35d3
Idempiere 4724 (#637)
* IDEMPIERE-4724
allow to concatenate parts at import
allow to prefix them which also is necessary to separate them when concatenating
allow to concatenate callouts and provide sort of parameters

* Update CalloutEngine.java

minor - typos in comments

* Update ImpFormatRow.java

is better to raise the exception when the callout cannot be found - the results can be unexpected for end users if the callouts are not called

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-08-27 11:22:18 +02:00
Diego Ruiz 2f0e426771
IDEMPIERE-4723 - Clean up code -> remaining org.adempiere.base/src/org/compiere/model/ classes (#846) 2021-08-21 15:21:35 +08:00
Carlos Ruiz 0167c91424
IDEMPIERE-4911 Silent fail when translated column is shorter than original column (FHCA-2888) (#844)
* IDEMPIERE-4911 Silent fail when translated column is shorter than original column (FHCA-2888)

Changes:
* Saving a value that doesn't fit in the translation now fails with a proper user understandable message
* Synchronize Doc Translation now fails with a user understandable message in case it fails because a value doesn't fit
* When updating a column on a translation table, check for the size of the original column and update the size accordingly
* When updating a translated column, show warnings to user about creating the table, or creating the column, or updating the column size

* IDEMPIERE-4911 Silent fail when translated column is shorter than original column (FHCA-2888)

Improve message for end user
2021-08-20 13:59:35 +02:00
hengsin f912cf2c21
IDEMPIERE-701 Implement solving indirect context (#828)
* IDEMPIERE-701 Implement solving indirect context

- implement for tab display logic and readonly logic

* IDEMPIERE-701 Implement solving indirect context

- make use of parent gridtab for indirect context resolution
2021-08-20 13:47:25 +08:00
Carlos Ruiz 68a5dc1456
IDEMPIERE-4918 Cannot use simple auth after used OAuth (FHCA-2014) (#842) 2021-08-18 14:51:44 +02:00
hengsin 8cc3a2a33f
IDEMPIERE-4915 Improvements to Preference Popup (#835)
* IDEMPIERE-4915 Improvements to Preference Popup

* IDEMPIERE-4915 Improvements to Preference Popup

- Move MY_PROFILE_MENU_ID to SystemIDs
2021-08-18 13:15:07 +08:00
hengsin 461b597c8e
IDEMPIERE-3494 Implement DocStatus/DocAction for Project Issue (#839) 2021-08-17 18:59:14 +02:00
hengsin ac01e77a40
IDEMPIERE-4880 Replace iText PDF with OpenPDF (#837) 2021-08-17 18:44:32 +02:00