Commit Graph

2956 Commits

Author SHA1 Message Date
hengsin 894ceb8c4f
IDEMPIERE-4101 [Chosenbox] Multi select don't work in Firefox (#435)
- add display of button
- fix dropdown doesn't render properly at Firefox
2020-12-04 17:52:10 +01:00
hengsin c3aafb2a4f
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#431)
- Fix broken menu icon for html report
- Fix an issue with switching theme
2020-12-03 11:58:45 +01:00
Carlos Ruiz a833e778a6
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#430)
IDEMPIERE-2003 Capturing wrong numbers with numeric keypad when decimal separator is not dot

- Restore and improve functionality that process dot keypad within the number fields (deleted by mistake in c954a055b2)
2020-12-02 22:16:31 +01:00
Deepak Pansheriya 8b672a3a51
IDEMPIERE-2999 : refactoring as per Hengsin's review comments (#427)
* IDEMPIERE-2999 : refactoring as per Hengsin's review comments

* IDEMPIERE-2999: Fixing compilation issue

* IDEMPIERE-2999: Fixing as per Hengsin'e review
2020-12-02 22:59:23 +08:00
Carlos Ruiz 42854cfb0f
IDEMPIERE-4561 Font Icons not used in several points (#423) 2020-12-01 07:12:28 +08:00
hengsin 5d236de30c
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#420)
* IDEMPIERE-4421 Html asset versioning should allow fluent deployment

use classpath loading and lang-addon versioning for theme resources

* IDEMPIERE-4421 Html asset versioning should allow fluent deployment

Incorporate backward compatibility patch from Carlos.
2020-11-30 15:33:23 +01:00
Carlos Ruiz 71a2ee3fe7
IDEMPIERE-4268 Fix issue with change client (#418)
Fix problem changing client in role panel when more than 2 clients
2020-11-27 20:24:21 +01:00
Diego Ruiz 386610f379
IDEMPIERE-4394 Date Field font color is not consistent with other readonly fields (#417) 2020-11-27 18:51:30 +01:00
Carlos Ruiz d885aaf4e6
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#415)
Co-authored-by: Heng Sin Low <hlow@trekglobal.com>
2020-11-26 20:22:18 +08:00
Carlos Ruiz 6eeabc49ba
IDEMPIERE-4566 Translation Import/Export - output message is not visible (#408)
- Deprecate zk form WTranslationDialog and controller TranslationController
- Move the logic to a java process org.idempiere.process.TranslationImpExp
- As a process works in mobile, can be called via webservices, tested with fitnesse, etc
- Importing leaves a better and readable log of each file processed
- Importing/Exporting gives feedback to the user about the file being processed

Side note:
- To standardize the menu - renamed the "Initial Client Setup Process" to "Initial Client Setup"

Improvements over the previous form:
- can process the files from the zip in root folder, or in internal folder with the name of the language
- can process a URL http/https to download the zip file
2020-11-26 16:20:17 +08:00
Carlos Ruiz 333d35a504
IDEMPIERE-4417 Cancel ASI selection not closing properly (#411)
Co-authored-by: Alan Lescano <alan.lesc1@gmail.com>
2020-11-26 12:41:49 +08:00
Carlos Ruiz 0cc35e16f8
IDEMPIERE-4554 PO is immutable - Workflow editor (#393)
- fix the PO is immutable errors
- forbid that system nodes are changed by non-system users
- system nodes are shown in gray
- reorganize layout of system workflows in editor
- make the nodes smaller
- fix the layout problem of name and properties dialogs
2020-11-26 10:02:48 +08:00
Carlos Ruiz 808773aa9f
IDEMPIERE-4528 Update Js Library (#410)
Restore sendDeferLayoutEvent - deprecated, to avoid breaking some plugins out there
2020-11-25 12:18:17 +01:00
hengsin 72f991d7a6
IDEMPIERE 4528 Implement namespace and versioning for JS library (#405)
* IDEMPIERE-4528 Update Js Library

Update html2canvas to 1.0.0.rc7

* IDEMPIERE-4528 Update Js Library

Use namespace/package and versioning for all js codes.
2020-11-24 12:35:24 +01:00
Carlos Ruiz d44fde9e08
IDEMPIERE-3566 shortcut key for process gear (alt + o) don't effect (#396) 2020-11-21 14:20:42 +08:00
Diego Ruiz 58e83d9faa
IDEMPIERE-4559 Customize and Process detail toolbar buttons are not clickable after creating a new record in the header (#390) 2020-11-19 13:41:36 +08:00
Diego Ruiz 254c871665
IDEMPIERE-4552 Process layout in some processes - OK button cannot be reached in mobile and small screens (#387) 2020-11-18 15:00:13 +01:00
Carlos Ruiz c954a055b2
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#385)
IDEMPIERE-2003 Capturing wrong numbers with numeric keypad when decimal separator is not dot

- Simplify the code for IDEMPIERE-4468 using Clients.evalJavaScript
- Fix IDEMPIERE-4468 to work in sync with IDEMPIERE-2003
- Improve IDEMPIERE-4468 to set the cursor at the end of the passed value
- Improve IDEMPIERE-2003 to insert the comma separator where the cursor is
- Simplify the code for IDEMPIERE-2003, there was a code calling setWidgetListener onKeyDown and doKeyPress_
  Probably required for old browsers, tested without that code with actual chromium and firefox and both worked perfect
2020-11-18 11:49:48 +08:00
Carlos Ruiz ca3da22f7b
IDEMPIERE-2418 Record Access Dialog Layout issue (#383)
Fix layout for desktop and mobile
Filter the role list to exclude System roles
2020-11-17 21:36:27 +08:00
hengsin 4125e5a10b
IDEMPIERE-4512 zk9.5 - Timeout page is not working (#386)
- Fix a javascript error when session timeout
- Add support for session timeout alert
2020-11-17 11:05:10 +01:00
hengsin 052a9e8474
IDEMPIERE-4512 zk9.5 - Timeout page is not working (#384) 2020-11-16 18:18:49 +01:00
Carlos Ruiz 3adbc9e00f
IDEMPIERE-4549 Detect broken theme configuration (#380)
* IDEMPIERE-4549 Detect broken theme configuration

* IDEMPIERE-4549 Detect broken theme configuration

make getTheme() synchronized

* Revert "IDEMPIERE-4549 Detect broken theme configuration"

This reverts commit 9044c7887064f217acea1051cd35c5c791ce47da.

Co-authored-by: hengsin <hengsin@gmail.com>
2020-11-15 06:32:33 +08:00
hengsin 9bb1836bcf
IDEMPIERE-4536 Allow minor customizations in default theme (#382)
only include fragment/custom.css.dsp if the file exists
2020-11-14 17:04:51 +01:00
Carlos Ruiz bf4935395a
IDEMPIERE-4544 Payment Selection cannot be used in mobile portrait (#377) 2020-11-13 18:15:52 +08:00
Carlos Ruiz 837c04f063
IDEMPIERE-4542 Cannot report from window _My Unprocessed Documents_ (#376) 2020-11-13 18:07:07 +08:00
Carlos Ruiz f3828f9cbf
IDEMPIERE-4545 Workflow activities - OK button cannot be reached in mobile (#378) 2020-11-13 04:55:01 +08:00
Diego Ruiz 6252cfa8a2
IDEMPIERE-4538 Dropdown button is slightly shifted on FindWindow and Payment Rule (#373) 2020-11-12 11:01:32 +08:00
Diego Ruiz 42f4226d9f
IDEMPIERE-4482 Minor change (#369) 2020-11-10 15:44:38 +01:00
Carlos Ruiz 6f8dfa58f2
IDEMPIERE-4536 Allow minor customizations in default theme (#368) 2020-11-10 20:15:59 +08:00
hengsin 4e121d20ee
IDEMPIERE-4529 Set Default Desktop Font size by Screen Width (#365) 2020-11-09 20:52:50 +01:00
hengsin e58902ec5d
IDEMPIERE-2490 java.lang.IllegalStateException: Form too large (#363)
replace the now defunc setting at jetty.xml with jetty-web.xml
2020-11-09 12:26:39 +01:00
Carlos Ruiz 649312b1d7
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area (#360)
Fix NPE in mobile mode
2020-11-08 21:54:09 +08:00
hengsin abab15b700
IDEMPIERE-4514 Grid View Layout Bug (#358)
* IDEMPIERE-4514 Grid View Layout Bug

Fix layout issue after drag and drop of tab

* IDEMPIERE-4514 Grid View Layout Bug

Default wrapping of column header only for mobile and small width screen
(< 700px)
2020-11-06 22:04:45 +08:00
Diego Ruiz ed7a7dcbde
IDEMPIERE-4525 Translate MailText in Print Invoices to the corresponding BP Language (#356) 2020-11-05 17:12:53 +01:00
Carlos Ruiz 9c9efa41d4
IDEMPIERE-4521 Release 8.1 - RC (#357)
Minor change to enable help text in triage servers for release testing
2020-11-05 17:04:02 +01:00
Carlos Ruiz ffd05346f9
IDEMPIERE-3921 DateTimeBox assigned Time format. (#354)
* IDEMPIERE-3921 DateTimeBox assigned Time format.

Use time pattern defined in language for time fields

* IDEMPIERE-3921 DateTimeBox assigned Time format.

Move setting format to constructor
2020-11-05 20:58:51 +08:00
Carlos Ruiz 210e54b05f IDEMPIERE-4521 Release 8.1 - RC
Change versions in pom and manifest files
2020-11-03 21:59:12 +01:00
hengsin 1e909ffb53
IDEMPIERE-4519 Zk: Implement optional defer rendering for Grid View (#350) 2020-11-03 15:40:36 +01:00
Carlos Ruiz 88dff840ac
IDEMPIERE-3340 (#351)
* Revert "IDEMPIERE-3340 Fixes for oracle migration scripts (#346)"

This reverts commit db7b9db43c.

* Revert "IDEMPIERE-3340: Tree Structurable User Favorite (#334)"

This reverts commit 01d52fbfef.
2020-11-03 15:40:17 +01:00
hengsin 5ceae6cbe3
IDEMPIERE-4515 Mobile: Paging control at detail pane overlapped with toolbar (#349)
- Use more compact layout for small width screen
- Always enable click to popup for status message for small width screen
2020-11-03 14:05:05 +01:00
hengsin d046842ef5
IDEMPIERE-4514 Grid View Layout Bug (#348) 2020-11-03 13:58:54 +01:00
Carlos Ruiz f43883f795
IDEMPIERE-4517 Some messages missing - toolbar (#347) 2020-11-02 23:11:08 +08:00
Deepak Pansheriya 01d52fbfef
IDEMPIERE-3340: Tree Structurable User Favorite (#334) 2020-11-02 19:28:03 +08:00
hengsin 2c5362ec1f
IDEMPIERE-4514 Grid View Layout Bug (#339)
Fix NPE

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-31 17:18:07 +01:00
Carlos Ruiz c13dcc1d60
IDEMPIERE-4514 Grid View Layout Bug (#341)
Fix Null Pointer Exception
2020-10-31 17:12:35 +01:00
Carlos Ruiz 59bd3ab106
IDEMPIERE-2902 UX: Implement Radio buttons (#340)
Fix zoomable label decoration
2020-10-31 17:11:24 +01:00
hengsin c02dde975b
IDEMPIERE-2902 UX: Implement Radio buttons (#337)
Fix zoom
2020-10-31 17:07:11 +01:00
hengsin 904c8131be
IDEMPIERE-4514 Grid View Layout Bug (#336)
Fix issue with first time switching of detail tab.
2020-10-31 15:24:44 +01:00
hengsin 8a1301b1fc
IDEMPIERE-4514 Grid View Layout Bug (#333) 2020-10-30 16:35:25 +01:00
hengsin e1cf1ada4d
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on th… (#332)
* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

remove unuse code.

* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

add sysconfig record for ZK_TOOLBAR_SHOW_MORE_VERTICAL
2020-10-29 13:30:00 +01:00
hengsin 70997ff85c
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area (#329)
Change to use the mobile overflow popup
2020-10-28 21:26:44 +08:00
hengsin a6f451606d
IDEMPIERE-4482 Mobile Improvements - Font (#328)
For mobile, a uniform default font-size of 16 for everything (including
z-icon and z-group-icon) seems to work better.
2020-10-28 10:00:41 +08:00
Carlos Ruiz b005dd503f
IDEMPIERE-4482 Mobile Improvements - Font (#327)
Fix error on collapse icon on field groups
2020-10-27 19:23:58 +01:00
hengsin 00e94b12ef
IDEMPIERE-2902 UX: Implement Radio buttons (#326)
* IDEMPIERE-2902 UX: Implement Radio buttons

Integrate contribution from TrekGlobal
TC-188 Port RadioGroup field editor from AP2-19
added "Radio Group List" field type

* IDEMPIERE-2902 UX: Implement Radio buttons

Peer review
* Configure correctly wrong Validation Rule
* Fix wrong DisplayLogic from this ticket and also from other recently added features on fields:
Attribute > Attribute > Reference Key
Attribute > Attribute > Dynamic Validation
Info Window > Column > Reference Key
Info Window > Column > Dynamic Validation
Registration Attributes > Attribute > Reference Key
Table and Column > Column > Dynamic Validation
Table and Column > Column > Dynamic Validation (Lookup)
Table and Column > Column > Reference Key
Web Service Security > Web Service Field Input > Reference Key
Window Customization > Field Customization > Reference Key
Window Customization > Field Customization > Dynamic Validation
Window Customization > Field Customization > Dynamic Validation (Lookup)
Window, Tab & Field > Field > Reference Key
Window, Tab & Field > Field > Dynamic Validation
Window, Tab & Field > Field > Dynamic Validation (Lookup)
* For testing and UX, configure as Radio Group:
Broadcast Message > Broadcast Message > Target
Field Group > Field group > Field Group Type

* IDEMPIERE-2902 UX: Implement Radio buttons

* For testing and UX, configure as Radio Group in detail tab:
Info Window > Process > LayoutType

* IDEMPIERE-2902 UX: Implement Radio buttons

- Fix radio group editor lost track of selectedItem after page detached
and attached
- Standardized the construction of editors from editor factory
- Remove unnecessary refresh for list/lookup based readonly editors
created by grid view (fixed editor is not readonly during init())

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-27 19:17:56 +01:00
Diego Ruiz 78393af99d
IDEMPIERE-4510 Add New to the toolbar search query combobox (#325)
* IDEMPIERE-4510 Add New to the toolbar search query combobox

* IDEMPIERE-4510 changed the if for a more defensive programming style

* IDEMPIERE-4510 Change placeholder text to Select Query to improve UX

* IDEMPIERE-4510 Modify migration scripts
2020-10-27 19:07:22 +01:00
Carlos Ruiz 86732d69b7
IDEMPIERE-4482 Mobile Improvements - Font (#324)
* IDEMPIERE-4482 Mobile Improvements - Font

Change font to improve the L&F

* Move font-family to generic definition in theme.css.dsp

* Remove unnecessary font-family settings
2020-10-28 01:07:02 +08:00
hengsin 237df8203c
IDEMPIERE-4509 Grid View Horizontal scrolling is not working well (#323)
Disable the use of Frozen
2020-10-27 07:19:30 +08:00
hengsin 9162b60af7
IDEMPIERE-4498 Performance: add cache for osgi services factory (#321)
* IDEMPIERE-4498 Performance: add cache for osgi services factory

add cache for tableName -> IModelFactory

* IDEMPIERE-4498 Performance: add cache for osgi services factory

implement cache for the discovery of osgi services

* IDEMPIERE-4498 Performance: add cache for osgi services factory

added unit test
2020-10-26 18:53:10 +01:00
Deepak Pansheriya 17dd85d34d
IDEMPIERE-4505: Add new criteria after slected record on advanced tab on Lookp Dialog. (#315) 2020-10-26 11:21:07 +08:00
Deepak Pansheriya 692533fda5
IDEMPIERE-4506: When using font icon, changing Calendar theme to grey (#318) 2020-10-26 10:32:17 +08:00
Carlos Ruiz 014b45246f
Idempiere 4058 (#312)
* IDEMPIERE-4058 - tab editor: new options for editing and customizing fields (window customization)

* IDEMPIERE-4058 tab editor: new options for editing and customizing fields (window customization)

Fix issues with migration scripts

Co-authored-by: muriloht <muriloht@devcoffee.com.br>
2020-10-21 15:47:56 +02:00
Carlos Ruiz ea6e77b5dd
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#311)
Fix NPE
2020-10-21 14:48:24 +02:00
Deepak Pansheriya 78f388d450
IDempiere-2999: on Attribute adding all reference type support except… (#287)
* IDempiere-2999: on Attribute adding all reference type support except path, images.

* IDEMPIERE-2999 : Removing isQuickForm reference from migration script and fixing url issue.
2020-10-21 13:58:23 +02:00
Deepak Pansheriya 08f6fb17d3
IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Va… (#249)
* IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Validation Rule overwrite for Find window, Extended search and advanced hiding options.

* IDEMPIERE-3981: Correcting migration script as per Carlos' code review finding

* IDEMPIERE-3981: Fixing as per code review comment
Co-authored-by: muriloht muriloht@devcoffee.com.br

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-21 13:32:25 +02:00
Carlos Ruiz a60dd24533
IDEMPIERE-4495 github code scanning alerts (#308)
* IDEMPIERE-4495 github code scanning alerts

Failure to use secure cookies

* Failure to use secure cookies - one more

* Fix: Arbitrary file write during archive extraction ("Zip Slip")

* Fix: Resolving XML external entity in user-controlled data
2020-10-18 11:04:54 +08:00
hengsin 2b9cb9bb2e
IDEMPIERE-4497 Mobile: Update PDF.JS (#306)
* IDEMPIERE-4497 Mobile: Update PDF.JS

* IDEMPIERE-4497 Mobile: Update PDF.JS

archive and simple pdf viewer

* IDEMPIERE-4497 Mobile: Update PDF.JS

change ZK_USE_PDF_JS_VIEWER sysconfig level to Client level (C)
2020-10-17 17:55:11 +02:00
Nicolas Micoud 4856ca67fc
IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility (#261)
* IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility

Search recipients in SysConfig and if not found, fallback on System.SupportEMail

* IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility

fixes suggested by @hengsin

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2020-10-16 23:22:19 +08:00
hengsin a21fe225e1
IDEMPIERE-4493 Mobile: Animation for Swipe Gesture (#301) 2020-10-16 11:46:48 +02:00
igorpojzl 3246bb8b1e
IDEMPIERE-4459 Info Window Customization (#259)
* IDEMPIERE-4459 Info Window Customization - Added Java Models

* IDEMPIERE-4459 Update Model AD_UserDef_Info_Column

* IDEMPIERE-4459 Added Migration scripts

* IDEMPIERE-4459 User Definition Info Column Added

Added Business Logic for Info Window Customization for Info Columns. Added InfoColumnVO for storing InfoColumn Data filtered with User Definition.

* IDEMPIERE-4459 Added Migration Scripts to Update Columns

Allow Update AD_Role_ID, AD_Language, AD_User_ID in AD_UserDef_Info table.

* IDEMPIERE-4459 Info Window Customisation - Updated Migration scripts

* IDEMPIERE-4459 Migration Script Fix

* IDEMPIERE-4459 Info Window Customization - Update Java Models

* IDEMPIERE-4459 Apply Migration Patch

* IDEMPIERE-4459 Info Window Customization - Update Models

* IDEMPIERE-4459 Apply Patch 2 fix.

* IDEMPIERE-4459 Info Related Cust. Added, Info Window Cust. Implementation..

* IDEMPIERE-4459 Info Related isDisplay added

* IDEMPIERE-4459 Added Display Logic for Info Related

* IDEMPIERE-4459 Fix SeqNo for InfoColumns

* IDEMPIERE-4459 Fix Patch 3
2020-10-16 11:41:50 +02:00
Deepak Pansheriya b8e9e455f1
IDEMPIERE-4487: Fixing issue that date time editor not showing time part. (#288) 2020-10-15 19:17:19 +02:00
hengsin 1addf52f7e
IDEMPIERE-4482 Mobile Improvements (#299)
make toolbar and message overflow link easier to click
2020-10-15 10:34:32 +02:00
hengsin 91c72fd978
IDEMPIERE-4482 Mobile Improvements (#297)
* IDEMPIERE-4482 Mobile Improvements

* IDEMPIERE-4482 Mobile Improvements

minor line height fix for process dialog's message area

* IDEMPIERE-4482 Mobile Improvements

- fix issue with grid view column header height
- add customize grid view button to detail pane
- always show message as notifications for mobile
- fix some mobile layout issues
- default desktop font size to 14px
2020-10-14 11:07:18 +02:00
hengsin 6f2cc899d4
IDEMPIERE-4477 Upgrade to Zk 9.5.0 (#290) 2020-10-13 16:15:15 +02:00
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
hieplq beec96b332
IDEMPIERE-4357:ClassLocator.warn: Replicate resource by jetty append lib on standard web folder (#155) 2020-07-04 21:21:49 +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
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
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
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
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
Diego Ruiz 1a902a95de
IDEMPIERE-3657 Missing buttons start/end page on detail tab (#57) 2020-05-13 19:22:23 +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
hengsin 912767b4ec
IDEMPIERE-4266 Remove hard coded modal dialog height (#32)
* IDEMPIERE-4266 Remove hard coded modal dialog height

Replace fixed process modal dialog height with css flex box rule.

* IDEMPIERE-4266 Remove hard coded modal dialog height

Fix css for process/report dialog.
2020-05-06 14:42:37 +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
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 69af9e8fc4
IDEMPIERE-4258 Error runnig Jasper file on Report (#18) 2020-04-30 15:05:18 +02:00
Nicolas Micoud 0ddc26be2f IDEMPIERE-4247 WTableDirEditor - missing public methods 2020-04-29 19:05:42 +02:00
Carlos Ruiz 190ef9d75c Merge release-7.1 into master 2020-04-26 13:45:06 +02:00
Diego Ruiz 7fa724f1ee IDEMPIERE-3611 line with missing mandatory content disappears when save in detail tab 2020-04-24 20:44:36 +02:00
Carlos Ruiz 09d2f9a1e3 IDEMPIERE-4253 Duplicated FillMandatory message on process dialogs 2020-04-23 21:08:43 +02:00
hengsin 7fc71f8e9e IDEMPIERE-4252 Remove usage of vflex/height + rows. 2020-04-22 16:46:18 +08:00
Carlos Ruiz 43c8485b76 Merge release-7.1 into master 2020-04-18 18:44:51 +02:00
hengsin d059ae50b0 IDEMPIERE-4206 Session timeout shown sometimes when changing roles. Fix theme preference lost after change role. 2020-04-14 20:33:58 +08:00
hengsin c8b8e00202 Merge remote-tracking branch 'origin/release-7.1' 2020-04-06 12:28:46 +08:00
hengsin b82156200a IDEMPIERE-4206 Session timeout shown sometimes when changing roles
Do not create new http session and do not use http redirect.
2020-04-06 11:35:20 +08:00
hengsin db0aafb3dc Merge branch 'origin/release-7.1' 2020-04-03 20:09:59 +08:00
hengsin 61098bdf3c IDEMPIERE-4206 Session timeout shown sometimes when changing roles
Simplify Serverpush Code - remove retries and warning that just slow down
things and doesn't really help.
Change Role - With session invalidated and all components removed, there
isn't need to destroy desktop.
2020-04-03 20:07:16 +08:00
HideakiHagiwara 628103ef94 IDEMPIERE-4226 Wrong tooltip at Tab title 2020-04-02 18:47:02 +02:00
hengsin ee4ec74a88 Merge branch 'origin/release-7.1' 2020-04-02 10:01:29 +08:00
hengsin 99cead1540 IDEMPIERE-4228 Align ServerPush implementation with Executions.schedule JavaDoc 2020-04-02 09:58:01 +08:00
Carlos Ruiz e10a5c9425 Merge release-7.1 into master 2020-04-01 15:27:45 +02:00
hengsin bf8f5ea8c1 IDEMPIERE-4206 Session timeout shown sometimes when changing roles 2020-04-01 17:19:18 +08:00
Carlos Ruiz b6898a8f99 Merge release-7.1 into master 2020-03-21 17:45:25 +01:00
Carlos Ruiz 8cd7b0661b IDEMPIERE-4216 Some text columns are wrongly edited as with length 32767 2020-03-21 16:35:29 +01:00
Carlos Ruiz 1e638f5a28 IDEMPIERE-3786 Number of records in detail grid must not be hardcoded 2020-03-21 11:50:46 +01:00
Carlos Ruiz e875d2cd6c minor - show login information on the new test servers 2020-03-19 10:23:09 +01:00