Commit Graph

13545 Commits

Author SHA1 Message Date
Carlos Ruiz 7099e9d24e
IDEMPIERE-4335 AD_EntityType_ID is not defined as unique #resolve IDEMPIERE-4335 (#118) 2020-06-16 14:06:01 +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 fb67a8f375
IDEMPIERE-4319 Cascade workflow activities (#110)
Test case is different now because raising the exception, the order is not Invalid, but Draft
Jenkins test job failing:
https://jenkins.idempiere.org/job/iDempiereDaily/239/org.idempiere$org.idempiere.test/testReport/org.idempiere.test.model/SalesOrderTest/testDatePromisedValidation/
2020-06-13 12:58:34 +08: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
Carlos Ruiz 940885c38c
IDEMPIERE-3358 Dictionary fixes (#101)
* Exclude Image fields from being copied for C_BPartner.Logo_ID and C_POSKey.AD_Image_ID
* Move AD_SessionInfo_V view definition to dictionary
* Add LDAPUser and Description to AD_SessionInfo_V
2020-06-09 12:44:41 +02: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 8f052b4081
IDEMPIERE-4237 timeout page continue do comet request and log a lot message (#100)
Revert SC_NO_Content for error bad to SC_BAD_REQUEST so that the failure
count at client side will work.
Add session timeout/notfound checking at client side.
2020-06-03 21:17:52 +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 a3dca1b6a3
IDEMPIERE-3358 Dictionary fixes (#93)
correct definition for Colombia to allow capturing addresses by default
add Colombia Regions
2020-06-01 16:52:39 +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 5718645bc6
IDEMPIERE-1540 Autocomplete for field type "Search" (#89)
Fix ClassCastException
2020-05-30 11:53:11 +07: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
Nicolas Micoud ed7952945a
IDEMPIERE-4313 : WebServices : Yes-No output values not consistent be… (#85)
* IDEMPIERE-4313 : WebServices : Yes-No output values not consistent between Read and Query

* Update code using Carlos's suggestion
2020-05-29 14:49:55 +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
Nicolas Micoud 8b6d4e5d19
IDEMPIERE-4303 : 4303 Web Services : Inconsistency for username (doesn't use LDAPUser) that could lead to not reuse previous sessions (#77)
Fix inconsistency with 'standard' Login method to get the username (LDAPUser / Name)
2020-05-24 20:02:17 +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
hengsin 5550a9633c
IDEMPIERE-4300 DashboardPanel subclass should not cache Env Ctx (#70)
Remove Env.getCtx() cache
2020-05-19 16:19:41 +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
Hideaki Hagiwara 2e065e6e61
IDEMPIERE-4293 Excel that download from Info Window is displayed ID Number (#67) 2020-05-19 13:47:27 +02:00
Carlos Ruiz 52b19fa452
IDEMPIERE-4297 Improve test data. Not Advanced Role (#68) 2020-05-19 12:01:50 +02:00
hengsin ad756782e7
IDEMPIERE-2699 Performance: Constant visits to database for MTable not cached (#63)
add unit testing
2020-05-19 10:05:56 +02:00
Carlos Ruiz 9009a3c4a7
IDEMPIERE-4294 Cannot install wildcard certificate #resolve IDEMPIERE-4294 (#65)
Solve java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory.
2020-05-18 12:01:32 +02:00
hengsin 77bf87f88a
IDEMPIERE-235 Generate Shipments is generating partial for complete orders (#64)
Add unit testing for DatePromised validation
2020-05-15 16:46:26 +02:00
hengsin 4487904bde
IDEMPIERE-4292 QueryTest.testOnlySelection fail on fresh db (#62)
Fix test failure on fresh db.
2020-05-15 10:19:07 +02:00
Carlos Ruiz fb3e730ad6
Merge pull request #61 from globalqss/IDEMPIERE-3333
Idempiere 3333
2020-05-14 19:00:49 +02:00
Carlos Ruiz fd72ce3d1b IDEMPIERE-3333 - extend the usage of the new MReportView to other places where is suggested as best practice 2020-05-14 18:58:16 +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
hengsin ce107f3678
IDEMPIERE-2698 Performance: Report checking for zoom condition on dat… (#59)
* IDEMPIERE-2698 Performance: Report checking for zoom condition on database - must be cached

Add unit testing

* IDEMPIERE-2699 Performance: Constant visits to database for MTable not cached

Should usually access from tenant instead system client.
2020-05-14 15:41:39 +02:00
Diego Ruiz 1a902a95de
IDEMPIERE-3657 Missing buttons start/end page on detail tab (#57) 2020-05-13 19:22:23 +02:00
Carlos Ruiz 86ca0a9523
IDEMPIERE-235 Generate Shipments is generating partial for complete orders (#58) 2020-05-13 19:19:56 +02:00