Commit Graph

3253 Commits

Author SHA1 Message Date
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 ab0db6e9aa
IDEMPIERE-5232 : Chart field at tenant level - filter datasource (System and current tenant only) (#1263) 2022-03-25 11:52:12 +01:00
hengsin 3090f2384b
IDEMPIERE-5056 Order and Invoice: Tax lookup interface (#1253)
* IDEMPIERE-5056 Order and Invoice: Tax lookup interface

* IDEMPIERE-5056 Order and Invoice: Tax lookup interface

- add default value for MSysConfig.getValue call.
2022-03-23 15:00:08 +01:00
hengsin d4532196a2
IDEMPIERE-5083 add FREIGHTCOSTRULE_CustomerAccount (#1261) 2022-03-22 19:27:04 +01:00
Nicolas Micoud 22c238e0d2
IDEMPIERE-5232 : Chart field at tenant level (#1249)
* IDEMPIERE-5232 : Chart field at tenant level

* IDEMPIERE-5232 : Chart field at tenant level - Change AccessLevel to System+Client

* IDEMPIERE-5232 : Chart field at tenant level - migration scripts to iD10

* IDEMPIERE-5232 : Chart field at tenant level - DataSource tab must be advanced

* IDEMPIERE-5232 : Chart field at tenant level - fix migration scripts

* IDEMPIERE-5232 : Chart field at tenant level - fix script
2022-03-22 18:57:53 +01:00
Layda Salas e3a44d924d
IDEMPIERE-2975 Password Validator translations (Passay lib) / integrating patch from Tomáš Švikruha (#1259) 2022-03-19 11:56:37 +01:00
hengsin 0f0ee411eb
IDEMPIERE-5089 Add MSysConfig.ALLOW_REVERSAL_OF_RECONCILED_PAYMENT (#1254) 2022-03-18 14:48:11 +01:00
Nicolas Micoud 98f31bc3eb
IDEMPIERE-5237 : Add tablename on log when a column is missing (#1258) 2022-03-18 14:39:37 +01:00
Diego Ruiz 4f5c3360fc
IDEMPIERE-5233 - Invoice created from the Commission Run window cannot be easly found after created (#1256) 2022-03-18 14:37:31 +01:00
Nicolas Micoud a7ab3a8345
IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO (#1255)
* IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO

* IDEMPIERE-5235 : Usage of MOrg.getOfClient without PO

changes suggested by @hengsin
2022-03-18 14:42:12 +08:00
PeterTakacs300 ccda5e4495
IDEMPIERE-5225 - HTML Report minification (#1237)
* IDEMPIERE-5225 - HTML Report minification

* IDEMPIERE-5225 - SysConfig added

* IDEMPIERE-5225 - minification default set to true
2022-03-17 15:36:02 +01:00
Carlos Ruiz 24836a7c6c
IDEMPIERE-5231 Create Payments from Bank Statement is not taking into account Discounts (#1248)
* IDEMPIERE-5231 Create Payments from Bank Statement is not taking into account Discounts #resolve

* - Remove misleading closing message
2022-03-15 15:11:06 +01: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 1a51e92c42
IDEMPIERE-4586 Update translation of Client to Tenant (#1233)
* IDEMPIERE-4586 Update translation of Client to Tenant

* Exclude AD_Ref_List.Name from the update as it impacts too many constants generated in X_ classes

* * update the Updated column too so that it is easier to trace back which records have been updated (as suggested by Heng Sin)

* * Update some additional messages that becomes duplicated (as reported by Nicolas)

* * Add updates to AD_Tab.CommitWarning (as reported by Nicolas)
2022-03-12 16:59:32 +01:00
hengsin 9d0eea8fe3
IDEMPIERE-5094 Implement validation for costing level change ( Accounting Schema and Product Category Accounting ) (#1235) 2022-03-11 12:43:22 +01:00
Layda Salas ad70efcfa1
IDEMPIERE-1474 The class org.compiere.model.MPaymentValidate is not using translated error messages #resolve #fixversion 10 (#1234) 2022-03-09 10:35:37 +08:00
Carlos Ruiz 299454d5df
IDEMPIERE-5223 Allow attachment preview for xml and json (#1231) 2022-03-08 12:25:46 +08:00
Layda Salas dfb366f363
IDEMPIERE-1450 Translation missing for Matching Purchase Order #resolve #fixversion 10 (#1225) 2022-03-08 12:18:09 +08:00
PeterTakacs300 b4abd26307
IDEMPIERE-5216 - HTML Report - replace Record_ID with Identifier column (#1217)
* IDEMPIERE-5216 - HTML Report - replace Record_ID with Identifier column

* IDEMPIERE-5216 - multiple identifiers case fixed

* IDEMPIERE-5216 - NVL added
2022-03-08 11:38:54 +08: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
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 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
Nicolas Micoud 673db27766
IDEMPIERE-5217 : Default values in mail templates (#1218) 2022-03-03 14:54:32 +01:00
PeterTakacs300 32f26f8752
IDEMPIERE-5206 - HTML Report CSS style - add AD_FieldStyle_ID on AD_PrintFormatItem table (#1206)
* IDEMPIERE-5206 - HTML Report CSS style - add AD_FieldStyle_ID on AD_PrintFormatItem table

* IDEMPIERE-5206 - migration scripts

* IDEMPIERE-5206 - AD_FieldStyle_ID check, styleBuilder check added

* IDEMPIERE-5206 - moved the added code block to the right place
2022-03-03 16:13:39 +08:00
Carlos Ruiz 72ee50fcf5
IDEMPIERE-5212 Cross tenant PO writing in MFAUnregister #resolve #fixversion 10 #comment Solve Cross tenant PO (#1209) 2022-03-01 19:18:47 +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
Carlos Ruiz a38aefe92e
IDEMPIERE-5198 Print Format Cache do not reload Print Format Items (#1197)
* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items

* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / add reset(int id) for the cache

* IDEMPIERE-5198 Print Format Cache do not reload Print Format Items / change cache key from String to StringBuilder

Co-authored-by: hengsin <hengsin@gmail.com>
2022-02-25 16:45:33 +08:00
igorpojzl c7465f8121
IDEMPIERE-5204 Cache the list/array of mreflist for AD_Reference_ID (#1202)
* IDEMPIERE-5204 Cache the list/array of mreflist for AD_Reference_ID

* IDEMPIERE-5204 Use StringBuilder for better performance
2022-02-25 16:44:28 +08:00
PeterTakacs300 3423e02780
IDEMPIERE-5091 - Before Save Set Default Locator From Product Or Warehouse when creating m_inout programatically (#1043)
* IDEMPIERE-5091 - Before Save Set Default Locator From Product Or Warehouse when creating m_inout programatically

* IDEMPIERE-5091 - inefficient methods replaced

Co-authored-by: Igor Pojzl <igor.pojzl@cloudempiere.com>
2022-02-23 06:50:48 +08:00
hengsin 193dd936e5
IDEMPIERE-5199 Refactoring: Move SQL code at AbstractProcessCtl and ServerProcessCtl to MPInstance (#1198) 2022-02-22 12:35:27 +01:00
igorpojzl 1156cd35fe
IDEMPIERE-5193 GridTable MaxQueryRecords Limit - Performance (#1189)
* IDEMPIERE-5193 GridTable MaxQueryRecords Limit - Performance

* IDEMPIERE-5193 Use Database Paging

* IDEMPIERE-5193 Fix Not Updating SQL variable
2022-02-22 12:28:02 +01:00
Carlos Ruiz bedf226a21
IDEMPIERE-5191 SEARCH FAILURE BY DATE AND HOUR / IDEMPIERE-4962 IDEMPIERE-4724 (#1188) 2022-02-18 13:32:45 +08:00
Carlos Ruiz 622727f9c9
IDEMPIERE-5192 Expand Detailed Zoom Across button to more references (#1185) 2022-02-16 15:33:14 +08:00
Carlos Ruiz 1dac88e6e9
IDEMPIERE-2580 Error with taxes and country groups (#1186) 2022-02-15 19:38:57 +01:00
Carlos Ruiz 0e66985292
IDEMPIERE-5190 Improve migration script generator (#1183) 2022-02-14 06:43:25 +08:00
Carlos Ruiz 69d11d0370
IDEMPIERE-4893 NPE on PDF report of Test record (#1180)
- Fix NPE trying to print any HTML content in PDF as form using internal engine
- Fix problem printing HTML content as plain text
2022-02-12 20:27:12 +08:00
Carlos Ruiz 26aac62a4a
IDEMPIERE-5174 Disable System User (#1174) (#1182)
Fix wrong comparison changed in commit a9c4f7b - test case failing
Improve traceability of unit test
2022-02-12 12:29:20 +01:00
Nicolas Micoud 08ce41253b
IDEMPIERE-5185 : Add RoleType in context (#1173) 2022-02-12 14:20:52 +08:00
Tony Snook 0ee5faec8e
IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema … (#1175)
* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema when currency blank on header
- also add check to unit test

* IDEMPIERE-5184 Cost Adjustment sets incorrect cost for other schema
- add currency id check to minventory before save
2022-02-12 11:27:15 +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 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
Carlos Ruiz 037872d3e7
IDEMPIERE-4863 Enable save column width in WListBox (#1171)
Do not use centralized ID for AD_USERPREFERENCE_ID and AD_WLISTBOX_CUSTOMIZATION_ID
2022-02-08 10:55:39 +08:00
Tony Snook 78b7dc32d0
IDEMPIERE-5173 fix Accounting fact quantity incorrect (#1150)
* IDEMPIERE-5173 fix Accounting fact quantity incorrect
- also add unit tests

* IDEMPIERE-5173 remove c_uom_id check

* IDEMPIERE-5173 Use MMatchInv.isReversal() in preference to MMatch.getReversal_ID() > 0

* IDEMPIERE-5173 Update isReversal() method 
- add new test for is Reversal() when reversing a credit memo
2022-02-05 15:47:52 +08:00
Carlos Ruiz 824e1bb2da
IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client (#1146)
* IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client

* Fix wrong SQL - thanks to HiepLq

* Fix wrong parameters - thanks to HiepLq
2022-02-04 11:28:18 +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
igorpojzl a32263c71f
IDEMPIERE-5171 GridTable duplicate WhereClause Fix (#1147)
* IDEMPIERE-5171 GridTable duplicate WhereClause Fix

* IDEMPIERE-5171 GridTable Remove old commented code
2022-02-02 10:53:48 +01:00
Nicolas Micoud 81bb438237
IDEMPIERE-1104 : SysConfig for posting using bank statement line date (#1149)
* IDEMPIERE-1104 : SysConfig for posting using bank statement line date

* IDEMPIERE-1104 : SysConfig for posting using bank statement line date - compare periods using IDs

* @nmicoud IDEMPIERE-1104 : SysConfig for posting using bank statement line date

change method's name and javadoc
2022-02-01 17:37:20 +01:00
Tony Snook dc181deff8
IDEMPIERE-5165 Remove references to deprecated services accounts (#1145) 2022-01-26 09:53:24 +08:00