Commit Graph

2598 Commits

Author SHA1 Message Date
Patric Massing 36f03b701a
IDEMPIERE-4468 - Pass the current value of numberbox to the textfield of calculator (#279) 2020-09-30 22:32:17 +08:00
hengsin 98ab98b28c
IDEMPIERE-4451 Executions.schedule should be executed asynchronously (#266)
onpiggyback should check whether's there's pending serverpush echo
2020-09-21 20:21:03 +02:00
hengsin dd2ef468b0
IDEMPIERE 4287 (#247)
* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
add support to make PO immutable

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added thread safe Immutable and Copy cache implementation for PO.
- migrate most of PO cache to immutable and copy cache.
- added pos sales order test.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- add test case for initial client setup and bank statement
- fix error for image editor, location editor, locator editor, initial
client setup, complete bank statement and migrate storage provider.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added ImmutablePOSupport interface. Model class implement this
interface for immutable PO support.
- remove usage of cache for transaction table (rfq, invoice, inventory).
- add getCopy method to some model class to support getting an
updateable copy of PO from the otherwise immutable PO cache.
- the added getCopy method is use to return updateable PO for indirect
PO reference, for e.g MColumn.getAD_Table() and MOrderLine.getProduct.
2020-09-21 14:03:00 +08:00
Nicolas Micoud 9509d95c7c
IDEMPIERE-4460 : User suggestions for field/context help : check perm… (#257)
* IDEMPIERE-4460 : User suggestions for field/context help : check permission

new method to check exclusion of a table for current role, used to determine if popups should be displayed or not

* IDEMPIERE-4460 : User suggestions for field/context help : check permission

Following @globalqss's recommandations : rename the method + add more controls inside

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-09-20 15:53:56 +02:00
igorpojzl dede5bd506
IDEMPIERE-4442 FIX NPE when locatorField is Empty (#260) 2020-09-18 21:38:15 +08:00
muriloht 6771a696cc
IDEMPIERE-4029 - global search element id (#255) 2020-09-16 14:08:12 +02:00
igorpojzl 7c096a4901
IDEMPIERE-4450 Info Window Performance (#251)
Pass ReadOnly Parameter to GridField from Info Window Column. For Better Performance of WTableDir Component.
2020-09-14 22:29:06 +08:00
igorpojzl e18d8001d4
IDEMPIERE-4442 Change Locator Dialog TableDirect (#242)
* IDEMPIERE-4442 Change Locator Dialog TableDirect

* IDEMPEIRE-4442 Fixed inconsitent Locator
2020-09-07 13:49:10 +02:00
hieplq bd03a89d1c
IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (#240)
* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases

sun.util.calendar.ZoneInfo consider offset and "daylight saving time" changed on range 1900-2037
for out of that range then offset always return raw offset, make date incorrect 1 day on some days

offset change by history can reference at:
https://en.wikipedia.org/wiki/Time_in_Vietnam#Time_in_French_Indochina
https://www.timeanddate.com/time/zone/vietnam/hanoi

database for all change
https://www.iana.org/time-zones

* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (wrong at client side)

when value set from server by DateBox.setValue(Date) it convert that time (without respect history change when out of range 1900 until 2037) to UTC but at client it respect history change when convert to display timezoen so make mismatch

* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (for datetimebox)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-09-05 10:55:33 +02:00
hengsin 9d614b985e
IDEMPIERE-4424 (#222)
* IDEMPIERE-4424 Concurrent update not prevented in Grid View

Grid View - change click navigation to follow the same flow as toolbar
navigation.

* IDEMPIERE-4424 Concurrent update not prevented in Grid View

GridTable - added Updated and Processed concurrency checked against PO.

* IDEMPIERE-4424 Concurrent update not prevented in Grid View

Incorporate fix suggested by Carlos
2020-08-27 12:40:44 +02:00
hengsin 0e9f36add9
IDEMPIERE-3197 Tab still keep editing indicator when move to next record (#229)
Update tab title after save
2020-08-24 18:39:27 +02:00
hengsin 64a46577a6
IDEMPIERE-4122 missing font icons (#231)
Integrate patch from Murilo
2020-08-24 12:31:40 +02:00
Carlos Ruiz a68c5f1968
IDEMPIERE-4425 Find Window improvements (#219) 2020-08-21 13:07:01 +02:00
hieplq 23ed373e5d
IDEMPIERE-4413:Change Role, disfunction all keyboard shortcuts (#216)
remove keydown handle at client side
2020-08-20 08:47:01 +02:00
Carlos Ruiz 7892c54aa1
IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user (#188)
* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Allow saving Tab Customization for System user

* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Fix copy/paste error

* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Implement same suggestion on all the classes where setAD_User_ID must be allowed to explicitly set to System
There were already two classes with the Override approach: MUserPreference and MUserRoles, so this commit is to apply the same approach to all the classes with same approach
2020-08-13 18:20:59 +08:00
hengsin a3e25375fe
IDEMPIERE-4396 Allow idempiere forms sort by header (#205)
sync model after sort
2020-08-05 10:10:51 +02:00
igorpojzl fc0c7ed81c
IDEMPIERE-4397 Hide ProcessModalDialog in Autostart (#204)
Show only BusyDialog when autostarting process.
2020-08-04 23:46:55 +08:00
hengsin a4bfdb27e7
IDEMPIERE-4391 Product Info - columns are not hidden, when remove wh/pl (#200)
render header again if number of columns change
2020-08-03 17:12:07 +02:00
hengsin 80146138ac
IDEMPIERE-4382 Locator Editor inconsistent in the application of filter (#183)
pass ValidationCode to MLocatorLookup
Fix dynamic display support
Fix filter for grid view
Fix locator dialog not open with the selected locator
2020-07-26 12:49:43 +02:00
hengsin 28213b9b9f
IDEMPIERE-1540 Autocomplete for field type "Search" (#179)
Do not count duplicate record id more than once (some infowindow, like
bpinfo have multiple rows with same record id)
2020-07-26 10:23:28 +02:00
hengsin 1c96affdde
IDEMPIERE-4322 Sort tab does not support virtual column identifier an… (#173)
* IDEMPIERE-4322 Sort tab does not support virtual column identifier and identifiers with different data type

add support for virtual column identifier
concat multiple identifier instead of taking the first not null value

* IDEMPIERE-4322 Sort tab does not support virtual column identifier and identifiers with different data type

Change to use DB.TO_CHAR.
Other condition (parent, key etc) shouldn't exclude IsIdentifier since
the UI allows it.
2020-07-25 12:15:10 +02:00
Diego Ruiz 763876cca3
IDEMPIERE-4380 Inconsistencies with selected filter query on tab navigation (#181)
* IDEMPIERE-4380 Inconcistencies with selected filter query on tab navigation

* IDEMPIERE-4380 Heng Sin Peer review
2020-07-24 20:34:30 +08:00
hengsin a88d766078
Idempiere 4374 (#178)
* IDEMPIERE-4374 CSS Field Style not working for WSearchEditor

fix css field style not working for WSearchEditor

* IDEMPIERE-4374 CSS Field Style not working for WSearchEditor

fix css
2020-07-22 14:27:51 +02:00
Carlos Ruiz be063cbd1e
IDEMPIERE-4368 Allow Define Default Saved Query for User / fix problem with recent items and zoom (#176) 2020-07-21 14:14:54 +02:00
hengsin cc76e63d85
IDEMPIERE-4372 Performance: only add log record and sql statement to … (#172)
* IDEMPIERE-4372 Performance: only add log record and sql statement to context if trace/debug level <= debug/info

Minor clean up and thread safe fix for CLogErrorBuffer and MIssue
Only add LogRecord and SQL to context if TraceLevel is <= INFO

* IDEMPIERE-4372 Performance: only add log record and sql statement to context if trace/debug level <= debug/info

add back DB.isConnected check
remove redundant CLogErrorBuffer call from DB.isConnected
more fine grained synchronization
2020-07-21 12:25:20 +02:00
igorpojzl dd2b24aafa
IDEMPIERE-4368: Allow Define Default Saved Query for User (#169)
* Update AD_UserQuery models

* Implementation of initializing Default User Queries

* Added Migration Scripts

* Update 202007161400_IDEMPIERE-4368.sql

Added missing register_migration_script.

* IDEMPIERE-4368 Added missing script.

* IDEMPIERE-4368 Allow Define Default Saved Query for User

Fix Load defaults only on Initialization.

* IDEMPIERE-4368

Move Migration Script to 7.1 folder

* IDEMPEIRE-4368

Apply of patch.
2020-07-20 14:51:48 +02:00
Carlos Ruiz 2d70a1a169
IDEMPIERE-1117 Attachment -> Disable preview over certain size (#145)
* IDEMPIERE-1117 Attachment -> Disable preview over certain size

New SysConfig key ZK_MAX_ATTACHMENT_PREVIEW_SIZE

* IDEMPIERE-1117 move scripts to 7.1
2020-07-14 21:51:17 +08:00
Carlos Ruiz d6e5cdc26a
IDEMPIERE-1052 Improve Performance using Search instead of Table/Table Direct (#159)
WSearchEditor broken when importing detail CSV

Merging this pull request tested locally (without peer review) as an emergency.
2020-07-03 20:56:48 +02:00
Carlos Ruiz 11c9ad6c59
IDEMPIERE-1052 Improve Performance using Search instead of Table/Table Direct (#148)
Integrate patch from Heng Sin
--> Fix Copy Record issue (handling of invalid value)
2020-07-01 15:44:59 +02:00
Nicolas Micoud 1f3b782215
IDEMPIERE-1890 : BroadcastMessageWindow Updates : add a vertical scrollbar (#142) 2020-06-27 11:46:46 +02:00
Diego Ruiz 5f0e895d88
IDEMPIERE-4345 zk9 - Payment selection (Manual) open with header collapsed (#137) 2020-06-25 17:47:04 +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
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 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 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
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
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
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
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 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
Patric Massing cc159a3e53
IDEMPIERE-4288 zk9 - Editor-Dialog: Not Allowed to set height and rows at the same time (#56) 2020-05-13 17:13:25 +02:00
hengsin a84c1eac2f
IDEMPIERE-4277 Sizing error for Info Window and Error message popup (#42)
Fix size error of infowindow's parameter panel and ad window's error
message popup.
2020-05-09 08:42:13 +02:00
hieplq@hasuvimex.vn 4fcd450ffd IDEMPIERE-3233:process dialog:deduce refresh tab when run a process 2020-05-09 07:59:28 +02:00
Deepak Pansheriya df6b9c8c22
IDEMPIERE-4157: Removing open quick form tracking from sessionManager, Adding support for tool tip translation (#36) 2020-05-08 13:25:06 +02:00
Diego Ruiz a77a991b9f
IDEMPIERE-1035 hard to find exceptions when using restrictive rights … (#21)
* IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message

* IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message
2020-04-30 22:07:24 +02:00