Commit Graph

3132 Commits

Author SHA1 Message Date
Carlos Ruiz f784d469b4
IDEMPIERE-5269 Allow save a record in a read only search field (#1297)
* IDEMPIERE-5269 Allow save a record in a read only search field

* IDEMPIERE-5269 integrate patch suggested by Heng Sin
2022-04-23 13:08:38 +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
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 f18d221b41
IDEMPIERE-5266 - AD_Column Caching changes (#1290) 2022-04-12 15:42:35 +08:00
igorpojzl ef929dfae5
IDEMPIERE-5256 Add Cache to MSession (#1282) 2022-04-07 09:33:41 +08:00
PeterTakacs300 d65acb3dbd
IDEMPIERE-4753 Make printing filename configurable - bug (#1278) 2022-04-05 10:37:46 +08:00
Carlos Ruiz 190240ae4c
IDEMPIERE-5249 product info window doesn't show list and standard price if pricelist selected when starting. #resolve (#1276) 2022-04-05 10:32:52 +08:00
Carlos Ruiz 1eae34965f
IDEMPIERE-4753 Make printing filename configurable / peer review (#1274) 2022-03-31 15:01:09 +02: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 7254b851cf
IDEMPIERE-5239 : Add ConfirmPanel.getMap method (#1260) 2022-03-22 13:08:47 +08:00
Deepak Pansheriya 38fd810122
IDEMPIERE-4973 : Render Quick info only when help panel (Right side P… (#1243)
* IDEMPIERE-4973 : Render Quick info only when help panel (Right side Panel) open

* IDEMPIERE-4973: Fixing issue pointed by hengsin
2022-03-17 09:27:59 +08:00
Carlos Ruiz a3e75538d2
IDEMPIERE-5230 DesktopImpl.warn: UUID recycle is enabled and it's better to disable it by specifying a library property 'org.zkoss.zk.ui.uuidRecycle.disabled' with true to prevent some unwanted widget uuid reusing at client side accidentally. #resolve (#1247) 2022-03-15 18:43:54 +08: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 316d488ac5
IDEMPIERE-4744 Minor improvements to Quick Form / Shortcut Shift+Alt+Q (#1238) 2022-03-14 19:46:34 +01:00
Carlos Ruiz 2c08060361
IDEMPIERE-4744 Minor improvements to Quick Form / Stay in Parent tab (#1239) 2022-03-14 19:05:02 +01:00
Anozi Mada 3cc23af0fe
IDEMPIERE-5218 Add notification for visual feedback (#1240) 2022-03-10 21:28:27 +08:00
Carlos Ruiz 299454d5df
IDEMPIERE-5223 Allow attachment preview for xml and json (#1231) 2022-03-08 12:25:46 +08:00
Carlos Ruiz d3e74faa32
IDEMPIERE-5222 Add Attach button to report viewer (similar to Archive but with Attachment) (#1230) 2022-03-08 12:22:30 +08:00
hengsin 73c63e2cf2
IDEMPIERE-5202 Implement auto save of current tab (#1226)
* IDEMPIERE-5202 Implement auto save of current tab

- Table/List Editor: auto drop upon focus works better for auto save.
Without auto drop upon focus, auto save is trigger for every arrow
up/down key stroke.

* IDEMPIERE-5202 Implement auto save of current tab

- Auto open the dropdown list upon pressing of up/down arrow key
- Do not auto move focus to next field
2022-03-05 21:50:04 +01: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
Carlos Ruiz 063788242c
IDEMPIERE-5218 Improvements for Record Info dialog (#1219)
* IDEMPIERE-5218 Improvements for Record Info dialog #resolve #comment Permalink as a button + new button Copy SELECT

* Use navigator.clipboard and PO.get_WhereClause - as suggested by Heng Sin
2022-03-04 09:51:43 +08:00
hengsin e3555e5fff
IDEMPIERE-5219 Sales Order Window: initial focus not on header tab's field (#1222) 2022-03-03 16:30:35 +01: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 10d4399b0d
IDEMPIERE-5211 Restore field focus after opening of dialog or navigate to other tab (#1214)
- Fix for cancelling of Report and Record Access dialog
2022-03-03 16:15:09 +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
hengsin 96b91f96ae
IDEMPIERE-5215 Listener for MENU_TREE_FILTER_CHECKED_QUEUE event queue not remove when user perform change role (#1216) 2022-03-03 15:33:55 +01:00
hengsin 2d70269daf
IDEMPIERE-5211 Restore field focus after opening of dialog or navigate to other tab (#1208) 2022-03-02 07:12:54 +01:00
Diego Ruiz b1d1ac2bba
IDEMPIERE-5210 - Login Event Handler not redirecting to login page after error (#1207) 2022-03-01 19:09:45 +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
Nicolas Micoud 5fdc5464b6
IDEMPIERE-5188 : Reset content of color field (#1177)
* IDEMPIERE-5188 : Reset content of color field

* IDEMPIERE-5188 : Reset content of color field - cleaner way but does not work

* IDEMPIERE-5188 : Reset content of color field - new editor

* IDEMPIERE-5188 : Reset content of color field - open color picker from button and popup menu

* IDEMPIERE-5188 : Reset content of color field - integrate patch from hengsin

Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>

* IDEMPIERE-5188 : Reset content of color field - messages/icons

* IDEMPIERE-5188 : Reset content of color field - remove unnecessary changes

* IDEMPIERE-5188 : Reset content of color field - headers

* IDEMPIERE-5188 : Reset content of color field - remove ColorBox.java

* IDEMPIERE-5188 : Reset content of color field - changes suggested by hengsin

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2022-02-25 19:31:02 +08:00
Carlos Ruiz 56cd099ca2
IDEMPIERE-5205 PO is Immutable: org.compiere.model.MCtxHelpMsg (#1203) 2022-02-25 16:46:25 +08:00
PeterTakacs300 4a7c9c601e
IDEMPIERE-3831 - css style replaces the entire style, instead of append (#1194)
* IDEMPIERE-3831 - css style replaces the entire style, instead of append

* IDEMPIERE-3831 - added listcell.getStyle() check

* IDEMPIERE-3831 - append style with function ZkCssHelper.appendStyle(component, style)
2022-02-23 06:46:51 +08:00
Carlos Ruiz f7f554627c
IDEMPIERE-5195 SEARCH FAILURE FOR SAVED QUERIES + IDEMPIERE-4658 #resolve (#1191)
- Fix issue reported in IDEMPIERE-5195 saving wrongly Yes/No values as true/false
- Fix also wrong recover of timestamps just as dates (ignoring the time part)
- Fix also IDEMPIERE-4568 reopened, adding wrongly operators
2022-02-18 13:35:44 +08:00
Nicolas Micoud c525d47759
IDEMPIERE-5179 : Search fields : use reference table to determine which image to show (#1157) 2022-02-12 14:26:39 +08:00
Nicolas Micoud 08ce41253b
IDEMPIERE-5185 : Add RoleType in context (#1173) 2022-02-12 14:20:52 +08:00
hieplq 2238f39916
IDEMPIERE-5189:WAutoCompleterCity shift one value when choose item on list with item more (...) (#1181) 2022-02-12 14:16:08 +08:00
Anozi Mada 5598f47b49
IDEMPIERE-4561 Font Icons not used in several points #3 (#1176)
* IDEMPIERE-4561 Font Icons not used in several points #3

(cherry picked from commit ba469f1bf60a9e838fbcce7b061bf9b0a9f9fbd3)

* IDEMPIERE-4561 Font Icons not used in several points #3

(cherry picked from commit 0db485636889725293f7b8b340518a7c8a9f4519)
2022-02-12 13:57:19 +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 c90afc0948
IDEMPIERE-5174 Disable System User (#1172)
* IDEMPIERE-5174 Disable System User - change approach to replace System user instead of removing it

* restore login-info.zul
2022-02-08 20:10:33 +08:00
Nicolas Micoud 3d02760c68
IDEMPIERE-4785 : Wasted space on Home page (#1167) 2022-02-08 11:03:12 +08:00
Anozi Mada 6a16667792
IDEMPIERE-4561 Font Icons not used in several points (#1169)
* IDEMPIERE-4561 Font Icons not used in several points #2

* IDEMPIERE-4561 Font Icons not used in several points #2
2022-02-08 11:02:23 +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
hengsin 5a98f91a8a
IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#1164)
Fix desktop doesn't timeout after access through http
2022-02-07 11:47:20 +01:00
Carlos Ruiz 497c93fc63
IDEMPIERE-5137 Login page reload continuously using http (#1158)
Improve error message, change:
   This request has been blocked, the content must be served over HTTPS
by
   Direct http:// is forbidden - please use https:// instead with the SSL port used in your installation

Improve indentation of the whole script (readability)
Change EOL character to unix
2022-02-04 15:42:07 +01:00
Carlos Ruiz 68db1fd3b7
IDEMPIERE-5156 Editing a multi-line field in grid destroys the new line separator (#1155) 2022-02-04 11:35:00 +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
hengsin 8780884ef3
IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#1151)
Fix "zkoss.removeDesktop:70: Removing non-existent desktop: [Desktop
z_7zm:/index.zul]" warning at server log.
2022-01-28 15:27:38 +01:00