Commit Graph

13680 Commits

Author SHA1 Message Date
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
hieplq e7fda64110
IDEMPIERE-4504:[JR] can't show QR code on jasper report (org/apache/batik/bridge/UserAgent) (#314)
1. DynamicImport don't need anymore, it's done on jasper engine already
2. seem batik-11 don't exchange object org.w3c.dom.* with svg anymore, so don't need to force it (and jasper) to use "org.w3c.dom.events version 3.0.0"
with this change all batik lib use org.w3c.dom.* from jdk so jasper engine can wire to it, so can see org.apache.batik.bridge.UserAgent

change of (2) enough to resolve this issue, next time when we get it back then down org.w3c.dom.smil to 1.0.0 to get rid of "org.w3c.dom.events version 3.0.0" will help on complete that hell
2020-10-26 18:45:46 +01:00
hengsin 6e9a547049
IDEMPIERE-4128 Matched invoice posting with wrong precision based on transaction currency instead of schema currency (#317)
- minor unit testing improvement
2020-10-26 18:24:57 +01:00
Carlos Ruiz fa86359570
IDEMPIERE-2999 Attribute, Table Direct and date field support (#320)
Fix security issue about non advanced roles
2020-10-26 14:18:33 +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
hengsin 57e4e3fceb
IDEMPIERE-4128 Matched invoice posting with wrong precision based on transaction currency instead of schema currency (#316)
- Fix error in setting the currency for source amount
- Improve unit test to check source amount precision as well
2020-10-22 20:48:07 +08:00
Elaine Tan c4b39eac8c
IDEMPIERE-4128 Matched invoice posting with wrong precision based on transaction currency instead of schema currency (#313)
* IDEMPIERE-4128 Matched invoice posting with wrong precision based on transaction currency instead of schema currency

* IDEMPIERE-4128 Matched invoice posting with wrong precision based on transaction currency instead of schema currency - Added MatchInvTest.testMatReceiptPostingWithDiffCurrencyPrecision test case
2020-10-22 15:40:42 +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 82a5897bb4
IDEMPIERE-3532 Remove hardcoded values for InfoInvoiceWindow (BPartnerID / IsSOTrx) and InfoPaymentWindow (IsSOTrx) (#309)
Fix log message -> GridField.defaultFromSQLExpression: (IsVendor) - Default SQL variable parse failed
2020-10-21 14:53:37 +02:00
Carlos Ruiz 350e9efe65
IDEMPIERE-4503 Hide non-working things in Window Customization (#310) 2020-10-21 14:49:02 +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 00153d7c8d
IDEMPIERE-4494 Security - Tenant customization must be advanced (#304) 2020-10-18 11:47:34 +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 e06938cedc
IDEMPIERE 4211 (#307)
* IDEMPIERE-4211 Schedulers launched twice - problem with RunOnlyOnIP null running on load balancer

add 1 to 3 minute delay to wait for hazelcast service

* IDEMPIERE-4211 Schedulers launched twice - problem with RunOnlyOnIP null running on load balancer

move waiting to background thread
add MONITOR_INITIAL_WAIT_FOR_CLUSTER_IN_SECONDS and
MONITOR_MAX_WAIT_FOR_CLUSTER_IN_SECONDS sysconfig
2020-10-17 22:33:59 +02: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
Carlos Ruiz 9075b6d84b
IDEMPIERE-4495 github code scanning alerts (#305)
* IDEMPIERE-4495 github code scanning alerts

Failure to use secure cookies

* Query built without neutralizing special characters
2020-10-17 14:11:12 +08:00
Carlos Ruiz c0867c01ee
IDEMPIERE-4297 Improve test data (#303)
The GardenWorld Admin Not Advanced role was added as advanced by mistake
2020-10-17 07:16:06 +08:00
Carlos Ruiz fcf7a168b4
IDEMPIERE-4287 Cache API not thread safe and inconsistent with context parameter (#302)
Fix issue with
java.lang.IllegalStateException: PO is Immutable: org.compiere.model.MRecentItem
	at org.compiere.model.PO.checkImmutable(PO.java:1573)
	at org.compiere.model.PO.set_Value(PO.java:733)
	at org.compiere.model.PO.set_Value(PO.java:721)
	at org.compiere.model.X_AD_RecentItem.setAD_Role_ID(X_AD_RecentItem.java:123)
	at org.compiere.model.MRecentItem.addModifiedField(MRecentItem.java:234)
2020-10-17 07:14:51 +08: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 3fa16637aa
IDEMPIERE-4477 Upgrade to Zk 9.5.0 (#300)
update to hot fix release 9.5.0.1
2020-10-15 11:38:03 +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
hengsin 5a83afb565
IDEMPIERE-4287 Fix for AD_Table caching (#296)
fix infinite loop
2020-10-13 12:01:39 +02:00
igorpojzl 4a0b44ac83
IDEMPIERE-4287 Fix for AD_Table caching. (#293) 2020-10-12 21:37:21 +08:00
Diego Ruiz edf407614f
IDEMPIERE-4490 Set default Contact/User in SO, Invoice, M_InOut (#289)
* IDEMPIERE-4490 Set default Contact/User in SO, Invoice, M_InOut

* Ran modelgenerator again with the new field = null

* IDEMPIERE 4490 - Update the migration scripts to 7.1 and set Bill_User_ID to null

* IDEMPIERE 4490 - Update the migration scripts to 7.1

* Change field name from Invoice Address to Invoice Contact / Ship Address to Ship Contact

* IDEMPIERE-4490 Add logic to CalloutOrder.bpartnerBill
2020-10-08 12:17:07 +02:00
Carlos Ruiz e3dc0349ad
IDEMPIERE-4297 Improve test data (#282)
* IDEMPIERE-4297 Improve test data

Create a new accounting schema in Euros
Solve problems with documents not posting:
- Fix date for test conversion rates
- Reactivate price list
- Create required purchase order for matching
Create a default query for Unposted window to show Not Drafted documents
Set accounting to immediate (sync seed DBs - postgresql was immediate, oracle was not)
Reset accounting for GardenWorld, delete all facts and reset posted status of all documents
Inactivate cash journals not used anymore

* IDEMPIERE-4297 Improve test data

Leave the user query for unposted window shared - but not default
2020-10-04 17:15:18 +08:00
Carlos Ruiz 16f1217baa
Merge pull request #286 from hengsin/IDEMPIERE-4475
IDEMPIERE-4475 Can't Run Junit Plugin Test with Eclipse 2020-09
2020-10-04 11:04:05 +02:00
Carlos Ruiz c837ef28f0
IDEMPIERE-4481 Fix problem with oracle script lines starting with @ (#285) 2020-10-04 14:52:53 +08:00
hengsin b0b67a11f0 IDEMPIERE-4475 Can't Run Junit Plugin Test with Eclipse 2020-09
added "org.eclipse.pde.junit.runtime_3.5.700.v20200116-1804"
2020-10-04 14:48:48 +08:00
Carlos Ruiz 41953a8e6b
Merge pull request #284 from CarlosRuiz-globalqss/IDEMPIERE-3862
IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2
2020-10-03 20:24:28 +02:00
Carlos Ruiz 0b35edfacf IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2
Fix view to avoid compilation errors
2020-10-03 20:23:48 +02:00
Carlos Ruiz b28f0ae74a
Merge pull request #283 from CarlosRuiz-globalqss/IDEMPIERE-4083
IDEMPIERE-4083 currency rate by document or by transaction
2020-10-03 20:14:54 +02:00
Carlos Ruiz f106a61be3 IDEMPIERE-4083 currency rate by document or by transaction
Fix wrong pl/sql functions
2020-10-03 20:14:15 +02:00
Carlos Ruiz 72e13cf1f4
IDEMPIERE-3676 Incorrect stop of the schedulers (#280)
Base on patch from NikColonel<polkneket@gmail.com>
2020-10-01 19:15:45 +02:00
hengsin 09a4e917cb
IDEMPIERE-4476 Upgrade to Tycho 2.0 (#281) 2020-10-01 19:15:33 +02:00
Carlos Ruiz a18a861c5e
Update codeql-analysis.yml
Thought it was going to be straight - if it doesn't work this way will revert and do tests in forked repo
2020-10-01 15:21:47 +02:00
Carlos Ruiz 8fa3ebf286
Create codeql-analysis.yml 2020-10-01 14:27:15 +02:00