Commit Graph

2789 Commits

Author SHA1 Message Date
Carlos Ruiz f5518a9b64
IDEMPIERE-4282 Error creating a Price List - using -DPostgreSQLNative=Y (#131)
Starting point is the open source version of Compiere org/compiere/process/PriceListCreate.java
This version adds column M_DiscountSchemaLine.Description and rounding options for Hundred and Thousand
Then added to this version the iDempiere changes related to use correctly the T_Selection with AD_PInstance_ID,
and the changes related to Ticket #1002354: Price List Enhancement - which added Product Costs as an option for getting the initial price
2020-06-24 11:53:49 +02:00
Carlos Ruiz 2a3224ea46
IDEMPIERE-4319 Cascade workflow activities (completing chained documents) exception problem (#122)
Implemented a better approach: save the first workflow savepoint and rollback to that one in case of cascade activities
2020-06-17 15:44:06 +02:00
Carlos Ruiz 36d6644879
IDEMPIERE-4324 Fix NPE on payment allocation (#115)
Co-authored-by: Orlando Curieles <orlando.curieles@ingeint.com>
2020-06-16 14:06:36 +02:00
Carlos Ruiz c0710da6cd
Cache without name #resolve IDEMPIERE-4333 (#116) 2020-06-16 14:06:24 +02:00
Carlos Ruiz 204b00c6f2
IDEMPIERE-4334 Fixed Assets wrong dictionary (#117)
Fixed many wrongly defined columns #resolve IDEMPIERE-4334
Added a fix to DisplayType - running synchronize column in C_Conversion_Rate.C_Currency_ID_To and A_Asset_Split.A_Asset_ID_To was throwing error
2020-06-16 14:06:11 +02:00
Carlos Ruiz fe69eb9dfa
IDEMPIERE-2753 Discount is not calculated when Price List Price <1 (#119)
Bring one more point of failure discovered by Elaine Tan
2020-06-16 13:55:40 +02:00
hengsin 2706026b85
IDEMPIERE-4331 Do not use Hazelcast Cache Service if it is standalone (#113)
Use normal map if hazelcast is stand alone
2020-06-13 16:00:04 +02:00
Carlos Ruiz aac7d81077
IDEMPIERE-4330 New tables are not logged - requires a server restart (#111)
* IDEMPIERE-4330 New tables are not logged - requires a server restart

* IDEMPIERE-4330 New tables are not logged - requires a server restart

Add synchronized to isLogged and resetLoggedList as advised by Heng Sin
2020-06-13 21:37:04 +08:00
hengsin 5adad12309
IDEMPIERE-4332 PO Serialization Optimization (#114)
Do not serialize context and POInfo
2020-06-13 15:21:31 +02:00
Carlos Ruiz 10771a7408
IDEMPIERE-4254 get oracle error ORA-01795 when has more than 1000 org (#109) 2020-06-09 23:26:44 +07:00
Diego Ruiz 0c918a973a
IDEMPIERE-4320 Wrong code found in MOrder.reactivateIt (#108)
Just remove useless code
2020-06-09 12:26:46 +02:00
Carlos Ruiz 37e82005b5
IDEMPIERE-4329 Cleanup eclipse warnings (#107)
* IDEMPIERE-4329 Cleanup eclipse warnings

Clean unused imports

* IDEMPIERE-4329 Cleanup eclipse warnings

Clean some additional warnings
Make org.adempiere.base to respect the Warnings/Errors level configuration from workspace

* IDEMPIERE-4329 Cleanup eclipse warnings

One more unused import caused by the previous commit
2020-06-09 12:26:36 +02:00
hengsin b50b533f43
IDEMPIERE-4327 MPeriod.isOpen - should not perform update with cache PO (#105)
Do not perform update with MAcctSchema from cache
2020-06-09 12:19:47 +02:00
Carlos Ruiz 637c021954 IDEMPIERE-4320 Wrong code found in MOrder.reactivateIt
Just remove useless code
2020-06-09 11:58:18 +02:00
Carlos Ruiz 3339d1395d
IDEMPIERE-4324 NPE - Allocation when the payment is Zero (#104) 2020-06-08 14:08:39 +02:00
Carlos Ruiz 35c64ce77f
IDEMPIERE-4319 Cascade workflow activities (completing chained docume… (#95)
* IDEMPIERE-4319 Cascade workflow activities (completing chained documents) exception problem

* IDEMPIERE-4319 Cascade workflow activities (completing chained documents) exception problem

correct patch - remove comment mark
2020-06-06 20:57:50 +08:00
hengsin 4c3521caa9
IDEMPIERE-4317 Add GridFieldVO list cache for GridTabVO.create (#94)
Add GridFieldVO list cache.
2020-06-02 19:28:11 +02:00
Carlos Ruiz e0980645d7
IDEMPIERE-4315 Allow showing Change Log for extension tables #resolves IDEMPIERE-4315 (#92) 2020-06-01 16:07:43 +02:00
hengsin f2cbbc662d
IDEMPIERE-1540 Autocomplete for field type "Search" (#91)
Refactoring
Fix table/tabledir auto refresh
Fix MLookupInfo.clone
2020-06-01 15:29:04 +02:00
hieplq 9a35f2054d
IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
hengsin fc56a2a205
IDEMPIERE-1540 Autocomplete for field type "Search" (#88)
Fix search column for auto complete
2020-05-29 18:08:39 +02:00
hengsin 3837a8e32b
IDEMPIERE-4312 Implement cache for list reference at MLookupFactory (#87)
Fix clone of MLookupInfo
Add list reference cache to MLookupFactory
2020-05-29 13:58:46 +02:00
hengsin fca0963fd9
IDEMPIERE-4311 Implement cache for MAccount(C_ValidCombination) (#84)
Implement cache for MAccount.get(ctx, C_ValidCombination_ID)
2020-05-29 13:53:32 +02:00
hengsin baac93f9e0
IDEMPIERE-4307 Quick Entry always retrieve all fields from db (#83)
add cache for MField
2020-05-29 13:38:15 +02:00
hengsin e9e7486473
IDEMPIERE-1540 Autocomplete for field type "Search" (#79)
* IDEMPIERE-1540 Autocomplete for field type "Search"

Implement auto complete for search field

* IDEMPIERE-1540 Autocomplete for field type "Search"

Add support for isAutoComplete flag (default is off).
Add isAutoComplete to AD_UserDef_Field, AD_InfoColumn and
AD_Process_Para.
Performance improvement - reduce number of queries for autocomplete and
added some cache.

* IDEMPIERE-1540 Autocomplete for field type "Search"

add constant for auto complete query timeout
use union all to further reduce the number of queries
2020-05-29 13:25:24 +02:00
Hideaki Hagiwara 4edd985ef8
IDEMPIERE-4305 Improve CSV Import file Loader validaFile mthod to specify be charset (#82) 2020-05-25 11:04:34 +02:00
Carlos Ruiz c5de6cf205
IDEMPIERE-1146 + IDEMPIERE-3234 (#76)
Avoid logging the update to ad_sequence caused by the previous fixes for IDEMPIERE-1146 + IDEMPIERE-3234
2020-05-23 13:10:50 +02:00
Carlos Ruiz eaf42afd84
#resolve IDEMPIERE-4301 Replace MSysConfig.getDouble with getBigDecimal (#71) 2020-05-23 12:52:46 +02:00
hengsin bf6fd2bb71
Idempiere 4300 (#78)
* IDEMPIERE-4300 DashboardPanel subclass should not cache Env Ctx

Remove Env.getCtx() cache

* IDEMPIERE-4300 DashboardPanel subclass should not cache Env Ctx

Fix usage of private ctx
2020-05-23 00:34:23 +02:00
Diego Ruiz 4eac03ba0f
IDEMPIERE-4304 Saved Query duplicates if use to save after sharing (#81)
* IDEMPIERE-4304 Saved Query duplicates if use to save after sharing

* IDEMPIERE-4304 Saved Query duplicates if use to save after sharing - Replaced JDBC call for Query
2020-05-23 00:23:42 +02:00
Carlos Ruiz 89faa3ac49
IDEMPIERE-2523 improve method to add comment to log script (#75)
#resolve IDEMPIERE-2523
2020-05-20 20:09:23 +02:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
Carlos Ruiz d2c02c1bf0
#resolve IDEMPIERE-4302 Improve Schedule discovery (#74) 2020-05-19 23:20:29 +02:00
Nicolas Micoud c5038a33ca
IDEMPIERE-4150 : Right click / New/Update not visible with duplicated windows (#50)
Also use ZoomConditions for Table/TableDirect editors
2020-05-19 13:56:52 +02:00
Deepak Pansheriya 14c27c58ca Idempiere 3333 (#60)
* IDEMPIERE-3333: Respecting ReportView order by clause when there is no orderby field on print format configured.

* IDEMPIERE-3333: Adding cached method as per peer review comment.

* IDEMPIERE-3333: Refactoring as per feedback from Carlos Ruiz.
2020-05-14 18:57:25 +02:00
Carlos Ruiz 86ca0a9523
IDEMPIERE-235 Generate Shipments is generating partial for complete orders (#58) 2020-05-13 19:19:56 +02:00
Carlos Ruiz 1f3a83c96e
IDEMPIERE-1146 + IDEMPIERE-3234 / Centralized ID not working with na… (#44)
* IDEMPIERE-1146 + IDEMPIERE-3234  / Centralized ID not working with native sequence enabled / PROJECT_ID_USE_CENTRALIZED_ID should take priority higher than SYSTEM_NATIVE_SEQUENCE

* IDEMPIERE-1146 + IDEMPIERE-3234

improve performance not reading MTable and Columns but just a cache
list of tables with EntityType column

* IDEMPIERE-1146 + IDEMPIERE-3234

Remove deprecation as the method is now capable of managin all cases
2020-05-09 21:13:50 +08:00
hengsin 9a74e18e40
Idempiere 4168 (#40)
* IDEMPIERE-4168 Move Webstore out of core

Change EntityType of webstore table, column, field and menu from 'D' to
'WSTORE'

* IDEMPIERE-4168 Move Webstore out of core

Generate Model/Interface: filter column by EntityType. Update
AD_UserMail model class.

* IDEMPIERE-4168 Move Webstore out of core

Added optional column entity type filter.
2020-05-08 19:06:54 +02:00
Carlos Ruiz 58187cdc05
IDEMPIERE-4220 payment could not be committed due to wrong invoice date #resolve #comment Fixed trx issue (#26) 2020-05-03 15:38:47 +02:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
Carlos Ruiz 190ef9d75c Merge release-7.1 into master 2020-04-26 13:45:06 +02:00
Diego Ruiz ffb6388d3c IDEMPIERE-2794 Run process via web services does not validate inactive parameters 2020-04-23 19:30:36 +02:00
Carlos Ruiz 0b663af8ab IDEMPIERE-4220 payment could not be committed due to wrong invoice date 2020-04-23 00:30:12 +02:00
Carlos Ruiz 281912af45 IDEMPIERE-2767 Web Services not working with UUID / peer review - implement the same for ModelGetList AD_Reference_ID 2020-04-22 23:32:50 +02:00
Nicolas Micoud d3d7e57cf9 IDEMPIERE-4245 Set GL Category automatically for GL Journal 2020-04-22 19:57:42 +02:00
mschnbeck f1e9b23029 IDEMPIERE-4186 allow workflow to be suspended until after commit of actual transaction 2020-04-22 18:17:27 +02:00
Carlos Ruiz 43c8485b76 Merge release-7.1 into master 2020-04-18 18:44:51 +02:00
Carlos Ruiz e253900ee5 IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder 2020-04-13 22:02:48 +02:00
Carlos Ruiz 4966285971 IDEMPIERE-4168 Move Webstore out of core 2020-04-13 15:21:26 +02:00
Carlos Ruiz 455ed28e92 IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder 2020-04-13 14:47:46 +02:00
hieplq bb43c4edcd IDEMPIERE-4243:when key columns has date column then save record make error ORA-01861: literal does not match format string 2020-04-13 12:52:42 +02:00
Carlos Ruiz 680bb2090c Merge release-7.1 into master 2020-04-11 16:12:38 +02:00
hieplq ba380e114e IDEMPIERE-3416: Implement the ability to track open DB connections (NPE) 2020-04-11 16:10:57 +02:00
Ray Lee e7b227200e IDEMPIERE-4240 2020-04-11 14:55:33 +02:00
Carlos Ruiz e4544f8d1b IDEMPIERE-4236 Allow Mixed Invoice (Assets And Products) / drop localization code from core - that must go into a localization plugin 2020-04-08 16:30:05 +02:00
hengsin d5a82db8b1 IDEMPIERE-4232 Remove code for Media and Knowledge management 2020-04-06 16:45:52 +08:00
hengsin db0aafb3dc Merge branch 'origin/release-7.1' 2020-04-03 20:09:59 +08:00
Carlos Ruiz 9dcb12f394 IDEMPIERE-4229 Approval Workflow Node does not validate inactive UserRoles / integrate patch from Angel Lara 2020-04-02 19:02:13 +02:00
Carlos Ruiz e10a5c9425 Merge release-7.1 into master 2020-04-01 15:27:45 +02:00
hengsin 6e606799f9 IDEMPIERE-4225 Do not cache MSession that's not thread safe 2020-04-01 17:12:51 +08:00
hengsin 21cad08cbb IDEMPIERE-4200 AR Payment Allocation: Incorrect Currency Balancing Postings 2020-03-30 17:21:29 +08:00
Carlos Ruiz 790d96148f Merge release-7.1 into master 2020-03-29 14:37:39 +02:00
hengsin bfc5b13575 IDEMPIERE-4181 Replace CASE WHEN .. END CASE with CASE WHEN ... END 2020-03-27 15:10:01 +08:00
hengsin 41aa4102cd IDEMPIERE-4223 Model class generated with wrong datatype for Column with displaytype=button and columname ends with _ID 2020-03-27 11:35:47 +08:00
Nicolas Micoud 92cd714221 IDEMPIERE-4222 GL Distribution can't work with organization set on the Org_ID field 2020-03-25 14:57:57 +01:00
hengsin 132cc4036c IDEMPIERE-4200 AR Payment Allocation: Incorrect Currency Balancing Postings 2020-03-25 10:33:49 +08:00
Carlos Ruiz 6c56100724 IDEMPIERE-4221 PackOut type "Data Single" (FHCA-1198) 2020-03-24 21:23:09 +01:00
hengsin 41b8e0e62b IDEMPIERE-3947 Fixed Asset bugs and enhancements. Implement import fixed asset for multiple accounting schema. 2020-03-24 18:35:08 +08:00
Carlos Ruiz e32ed5c5cd IDEMPIERE-4218 Note and attachment from scheduler created in wrong client / also cross-tenant AD_UserMail 2020-03-23 20:39:11 +01:00
Carlos Ruiz b6898a8f99 Merge release-7.1 into master 2020-03-21 17:45:25 +01:00
Carlos Ruiz 43d77dee4e IDEMPIERE-4217 Improve DB exception traceability in PO saveEx and deleteEx (FHEG-1684) 2020-03-21 17:44:26 +01:00
Carlos Ruiz de41df7752 IDEMPIERE-4215 Allow subtype tables in context variables 2020-03-21 12:44:28 +01:00
Carlos Ruiz 4e6794b0a1 IDEMPIERE-4178 Add NVL PostgreSQL function 2020-03-15 10:03:50 +01:00
Carlos Ruiz 02647cc5ee Merge release-7.1 into master 2020-03-13 17:46:17 +01:00
Carlos Ruiz d239941666 Fixes for IDEMPIERE-674 and IDEMPIERE-4032
IDEMPIERE-674 Financial Report: Percentage of column against line total
IDEMPIERE-4032 Financial Report Translation (lines & column)
2020-03-13 14:49:10 +01:00
Carlos Ruiz 2d647c520a IDEMPIERE-4178 Replace NVL with Coalesce / partial revert of commit 2c639f - just the java part 2020-03-13 11:32:27 +01:00
Carlos Ruiz b38452321f Merge release-7.1 into master 2020-03-10 18:30:52 +01:00
Diego Ruiz a3f0681d23 IDEMPIERE-4085 Search in toolbar 2020-03-10 18:24:42 +01:00
Carlos Ruiz 3ce8f5c7bb Merge release-7.1 into master 2020-03-10 13:51:20 +01:00
Carlos Ruiz 156c9f5ab5 IDEMPIERE-4203 Extend IDEMPIERE-3850 - reporting from replica for jasper too 2020-03-10 13:45:05 +01:00
hengsin d79c6de5e5 IDEMPIERE-4202 Remove java web start code and libraries 2020-03-10 18:20:04 +08:00
hengsin 2642293c0a Merge release-7.1 into master 2020-03-08 20:24:05 +08:00
hengsin 61241bb021 IDEMPIERE-4127 GL Inventory Clearing - Minor rounding variances 2020-03-08 15:07:25 +08:00
Carlos Ruiz 3a0f1d36b0 Merge release-7.1 into master 2020-03-07 12:08:07 +01:00
Carlos Ruiz 86a483eec8 IDEMPIERE-4191 Process to migrate storage provider (FHCA-1165) 2020-03-04 16:28:57 +01:00
Carlos Ruiz 0147b47f31 IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder / Add a helper getName by default in the toString method in X_ class 2020-03-03 15:04:10 +01:00
hengsin 4a436c5157 IDEMPIERE-4180 Add DDL and Data Type methods to AdempiereDatabase interface 2020-03-03 17:27:53 +08:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
hengsin 8445b0cb3d IDEMPIERE-4179 Add quote column name support to AdempiereDatabase
interface
2020-03-02 23:02:00 +08:00
hengsin 41711e3437 IDEMPIERE-4182 Add Ini property to turn off Oracle to PostgreSQL
translation
2020-03-02 21:20:50 +08:00
hengsin c8d858836f IDEMPIERE-4127 GL Inventory Clearing - Minor rounding variances 2020-03-02 13:08:19 +08:00
Carlos Ruiz a2ade6340a Merge release-7.1 into master 2020-02-29 11:22:06 +01:00
Carlos Ruiz c4cef3b8de IDEMPIERE-4190 Implement Image Storage Provider (1006528) (FHCA-1165)
Peer review and tests:
* PO -> implement postDelete method to be called after the database delete is committed - fix issue about file being deleted from filesystem and commit failing because of referential integrity (for example deleting an image that is associated to a user)
* MArchive, MAttachment, MImage -> change deletion of file from before/afterDelete to postDelete
* MImage -> change getImageStoragePath from clientID/orgID to AD_Image/clientID (this is to allow using the same storage that attachments and archives uses, and avoid issues when changing org)
* MBPartner, MUser, MPOSKey -> delete associated image with postDelete
* ArchiveFileSystem -> fix issue not deleting the file in the filesystem when deleting the archive (using get_ID() on a deleted record returns zero)
* WImageEditor -> save automatically when creating a new image
* AttachmentFileSystem -> avoid trying to save attachment after is deleted
* ImageDBStorageImpl, MSysConfig -> Implement SysConfig IMAGE_DB_STORAGE_SAVE_AS_ZIP to save images in DB zipped - defaults to false which is the actual behavior
* ImageFileStorageImpl -> do not save file with extension, to fix error where previous file was not deleted when uploading a new file with different extension
2020-02-27 22:17:17 +01:00
Carlos Ruiz 55356515b5 IDEMPIERE-4190 Implement Image Storage Provider (1006528) (FHCA-1165)
integrate development from Heng Sin
2020-02-27 21:37:32 +01:00
Carlos Ruiz c5c3d8c743 IDEMPIERE-4157: Quick Form for fast data entry with keyboard -- peer review - minor changes 2020-02-26 16:09:28 +01:00
Deepak Pansheriya 434cbaf110 IDEMPIERE-4157: Quick Form for fast data entry with keyboard 2020-02-26 16:08:42 +01:00
hengsin 2c639f7a69 IDEMPIERE-4178 Replace NVL with Coalesce 2020-02-21 09:54:57 +08:00
hengsin c388716835 IDEMPIERE-4176 Replace DELETE with DELETE FROM 2020-02-19 10:46:23 +08:00
hengsin 444ade9162 IDEMPIERE-4158 Move Swing Client out of core. Move 3 swing client specific method 2020-02-16 21:34:29 +08:00
Deepak Pansheriya 79d050b34c
IDEMPIERE-4065: Making report configurable to reverse value (#13) 2020-02-14 18:39:17 +01:00