Commit Graph

14312 Commits

Author SHA1 Message Date
Carlos Ruiz 6f5d7edf87
IDEMPIERE-5168 column AD_AuthorizationAccount.AccessToken is short on some case (#1165)
Fix ORA-22858: invalid alteration of datatype
2022-02-07 10:45:44 +01:00
Carlos Ruiz 3177c05b51
IDEMPIERE-4297 Improve test data / fix some wrong data in GardenWorld seed (#1162)
Co-authored-by: Chuck Boecking <chuck@chuboe.com>
2022-02-07 10:17:59 +01:00
Diego Ruiz 8a2622d2ef
IDEMPIERE-4580 - Add hero of december 2021 to the credits (#1160) 2022-02-05 16:41:06 +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 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 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
Nicolas Micoud 35220381f7
IDEMPIERE-5170 : Reverse Prepare Payment process (#1148)
* IDEMPIERE-5170 : Reverse Prepare Payment process

* Move button to toolbar (oracle)

* Move button to toolbar (postgresql)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-02-01 12:54:07 +01:00
Deepak Pansheriya 19681ec33d
IDEMPIERE-5175: on GL Journal Batch window, DateAct on line defaulted from GL Journal Batch instead of Journal (#1152) 2022-02-01 12:11:48 +01:00
Tony Snook 2ce19a23cb
IDEMPIERE-5155 fix intermittant Inventory Test failure by sorting MStorageOnHand return value (#1153) 2022-01-30 15:57:32 +08: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
Carlos Ruiz 7689183b49
IDEMPIERE-4931 Running jobs never stop (#1143)
* IDEMPIERE-4931 Running jobs never stop

* Set back default to empty when user preference is None
2022-01-26 09:54:22 +08:00
Tony Snook dc181deff8
IDEMPIERE-5165 Remove references to deprecated services accounts (#1145) 2022-01-26 09:53:24 +08:00
Tony Snook bfecd412a2
IDEMPIERE-5063 Improve Unit Tests - MatchInv Tests (#1144)
- Add MatchInv test using standard costing and check Invoice Price Variance 
- General improvements using assertEquals where appropriate and
  comparing actual values rather than just >0
- minor fixes to MProduct test
2022-01-26 09:51:56 +08:00
hengsin 0db580a7a0
IDEMPIERE-5163 2022-01 Platform update (#1142) 2022-01-25 15:58:06 +01:00
hengsin f934d62efc
IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial (#1141)
* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial

* IDEMPIERE-5155 Inventory Document: Auto picking of storage record should ignore record with Serial

add unit test
2022-01-21 12:10:30 +01:00
Carlos Ruiz 06e9071a82
IDEMPIERE-4962 Performance: change PostgreSQL native dialect mode default to true / revert partially f4894c4cb (#1138)
Regression for problem solved at IDEMPIERE-4465 Native Postgres - Error on Convert Layer
Revert the changes on Convert_PostgreSQL and Convert_PostgreSQLTest
Fix the Convert_PostgreSQLTest to allow testing native and non-native cases
2022-01-19 21:06:20 +08:00
Saulo José Gil ad8b9a3f63
IDEMPIERE-5126 Virtual column lazy loading - Propagate new constructor (#1136)
Added new constructor PO(Properties, int, String, String...) to most
model classes.
2022-01-19 14:04:09 +01:00
Deepak Pansheriya 16d06fb1b1
IDEMPIERE-2853: Fixing bug of usage of isSortTab flag on display logic (#1139)
* IDEMPIERE-2853: Fixing bug of usage of isSortTab flag on display logic

* Update 202201190848_IDEMPIERE-2853.sql

* Update 202201190848_IDEMPIERE-2853.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-19 13:17:41 +01:00
Nicolas Micoud d3b9d99e81
IDEMPIERE-3044 : Add IsHighVolume on Tab (#1140)
* IDEMPIERE-3044 : Add IsHighVolume on Tab

* Update 202201191000_IDEMPIERE-3044.sql

* Update 202201191000_IDEMPIERE-3044.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-19 12:51:11 +01:00
Tony Snook c8c0ae317e
IDEMPIERE-5159 Remove hard coded rounding in Doc_Production (#1137)
- plus multiple improvements to production unit tests
2022-01-19 11:09:03 +08:00
Carlos Ruiz 0d7f775f1a
IDEMPIERE-5126 Virtual column lazy loading - Generate full model (#1135) 2022-01-16 11:51:25 +01:00
Carlos Ruiz 1702a5f1e0
Revert "IDEMPIERE-5126 Virtual column lazy loading - move scripts to iD10 (#1123)" (#1134)
Move back scripts to i9
This reverts commit 1c8948d462.
2022-01-16 10:52:45 +01:00
Carlos Ruiz 847e2a5238
IDEMPIERE-5146 Load/Import Bank Statement issues (#1125)
* Add org.compiere.model.MBankStatementLoader.getLastSavedLine() to allow further processing of the saved I_BankStatement record on plugins
* Increase size of columns:
        I_BankStatement.EftMemo -> 4000
        I_BankStatement.Memo -> 4000
        C_BankStatementLine.EftMemo -> 4000
        C_BankStatementLine.Memo -> 4000
        I_BankStatement.LineDescription -> 1000
        C_BankStatementLine.Description -> 1000
        I_BankStatement.EftTrxType -> 255
        C_BankStatementLine.EftTrxType -> 255
        I_BankStatement.EftReference -> 255
        C_BankStatementLine.EftReference -> 255
        I_BankStatement.ReferenceNo -> 255
        C_BankStatementLine.ReferenceNo -> 255
* Add process "Create Payment" on bank statement header to process all lines with pending payments to create
2022-01-15 17:25:30 +01:00
Carlos Ruiz 35d426bb9a
IDEMPIERE-1555 fix old typo (#1133) 2022-01-15 17:04:45 +01:00
hengsin f2b70f7747
IDEMPIERE-5153 Cost Adjument Line Before Save: Update current cost price (#1131) 2022-01-15 16:55:39 +01:00
Nicolas Micoud a891ca988a
IDEMPIERE-5152 : Add title on broadcast messages (#1130)
* IDEMPIERE-5152 : Add title on broadcast messages

* Broadcast messages : use all the width of the panel to display the message

* IDEMPIERE-5152 : Add title on broadcast messages

* IDEMPIERE-5152 : Add title on broadcast messages - model class for v9

* IDEMPIERE-5152 : Add title on broadcast messages - improve mobile usage

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

* Delete pr1130_PR.txt

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-15 16:12:03 +01:00
kappapiana d3625f2790
Update LICENSE.md (#1132)
* Update LICENSE.md

* Remove Compiere also in the HTML version
2022-01-14 10:02:43 +08:00
Carlos Ruiz 327b32dc53
IDEMPIERE-5148 PackOut DataSingle for Column doesn't create the column in the target database (#1126) 2022-01-14 09:46:01 +08:00
Carlos Ruiz 5cebb50f58
IDEMPIERE-5149 Database lock in Translation Import/Export (#1127) 2022-01-14 09:34:58 +08:00
Carlos Ruiz e9f85bd985
IDEMPIERE-5147 Fix QueryTest.testPaging failing - IDEMPIERE-5004 (#1129)
Co-authored-by: hengsin <hengsin@gmail.com>
2022-01-12 13:12:22 +01:00
Saulo José Gil a9c4b932c4
IDEMPIERE-5025 Easier usage of process parameters (#1128)
Fix assignment of boolean parameters.
2022-01-12 08:18:34 +01:00
Nicolas Micoud a5b5494294
IDEMPIERE-4903 : Add double click events on WTreeMaintenance (#1122)
* IDEMPIERE-4903 : Add double click events on WTreeMaintenance

* IDEMPIERE-4903 : Add double click events on WTreeMaintenance

Fix errors, detail in ticket

* peer review and tests

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-11 18:02:50 +01:00
hengsin 916a5a9233
IDEMPIERE-4849 Nonsensical code in MProduction.createLines() (#1116) 2022-01-11 17:15:25 +01:00
hengsin ccdb4868f1
IDEMPIERE-5138 Storage Cleanup Fixes (#1117)
* IDEMPIERE-5138 Storage Cleanup Fixes

* IDEMPIERE-5138 Storage Cleanup Fixes
2022-01-11 16:49:53 +01:00
hengsin 5843303a4d
IDEMPIERE-5144 MMatchPO: add validation for currency conversion of invoice price (#1119) 2022-01-11 16:24:32 +01:00
hengsin 9fd648b3e8
IDEMPIERE-5145 MMatchInv: add IsReversal method (#1120) 2022-01-11 16:20:19 +01:00
Nicolas Micoud c38414a876
IDEMPIERE-5135 : Add a link in a Broadcast message to open a record - fix link (#1121)
missing </a> in the link
2022-01-11 16:16:03 +01:00
igorpojzl 60f76d9edf
IDEMPIERE-5147 Improve Query.first() methods - performance (#1124)
* IDEMPIERE-5147  Improve Query.first() methods - performance

* IDEMPIERE-5147 Query Fix move buildSQL

* IDEMPIERE-5147 Query Fix sql value.

* IDEMPIERE-5147 DB paging Optimalizayion Patch

* IDEMPIERE-5147 Query test fix
2022-01-11 16:10:55 +01:00
Carlos Ruiz 1c8948d462
IDEMPIERE-5126 Virtual column lazy loading - move scripts to iD10 (#1123) 2022-01-07 15:34:27 +01:00
Tony Snook 0cf1055692
IDEMPIERE-5063 Improve Unit Tests - fix ProductionTest RollUp test (#1115)
- set mulch product category to Standard Costing category, so that the standard cost of the component is compared to the standard cost of the parent, mulchx.
2022-01-06 09:57:41 +08:00
hengsin 1a47a1959d
IDEMPIERE-5137 Login page reload continuously using http (#1110)
* IDEMPIERE-5137 Login page reload continuously using http

add https check to index.zul

* IDEMPIERE-5137 Login page reload continuously using http

- add jetty-http-forwarded.xml for reverse proxy configuration
2022-01-05 21:23:38 +08:00
Saulo José Gil 0eb89932fd
IDEMPIERE-5126 Virtual column lazy loading (#1095)
* IDEMPIERE-5126 Virtual column lazy loading

Virtual columns are now loaded only whenever their respective getters are invoked. This functionality works irrespective of the PO constructor used.

Query class now uses lazy loading by default as well.

* IDEMPIERE-5126 Virtual column lazy loading

Have the model generator ignore virtual columns with the @SQL prefix, as
their generated getters would always return null.

* IDEMPIERE-5126 Virtual column lazy loading

Added quoting to virtual column names

* IDEMPIERE-5126 Virtual column lazy loading

Reload virtual columns if the record was reloaded.

* IDEMPIERE-5126 Virtual column lazy loading

Fixed class cast exception in unit test.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Fine-grained virtual column loading support for Query.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Improved support for the constructor PO.PO(Properties, int, String,
String...).

* IDEMPIERE-5126 Virtual column lazy loading

Refactoring. Reduced size of messages sent and received from database
engine when lazy loading virtual columns. Other minor changes.

* IDEMPIERE-5126 Virtual column lazy loading

Added testing assertions.

* IDEMPIERE-5126 Virtual column lazy loading

Silenced Eclipse warnings.
2022-01-05 21:14:50 +08:00
Nicolas Micoud 2fe6f5bba5
IDEMPIERE-5136 : Set Messages at tenant level (#1113)
* IDEMPIERE-5136 : Set Messages at tenant level

* IDEMPIERE-5136 : Set Messages at tenant level : remove loop of clients to load messages

* IDEMPIERE-5136 : Set Messages at tenant level : fix migration scripts + fix imports

* IDEMPIERE-5136 : Set Messages at tenant level - callout to fill fields

* IDEMPIERE-5136 : Set Messages at tenant level - language field must be mandatory

* IDEMPIERE-5136 : Set Messages at tenant level - callout to fill fields (used at tenant level only)

* IDEMPIERE-5136 : Set Messages at tenant level - add IsActive check + close pstmt

* IDEMPIERE-5136 : Set Messages at tenant level - patch from Carlos

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

* IDEMPIERE-5136 : Set Messages at tenant level - check for active records on Trl table

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-01-05 11:34:20 +01:00
gsjeffen 860cbf2aba
InfoGeneralPanel don’t show column headers when opened (#1094)
All infowindows show the column headers, but this is not the case of lookup search, that uses InfoGeneralPanel. This should be enabled in order to get a consisting look and feel of iDempiere.

This was not captured in the ticket IDEMPIERE-4863 “Enable save column width in WListBox” where the use of WListbox in the infoWindows where implemented.

Examples of these lookups are RMA on Customer Returns, Cash Plan Line on Sales Order.
2022-01-05 15:08:30 +08:00
Nicolas Micoud 887d75067b
IDEMPIERE-3561 QuickEntry panel doesn't use ZoomCondition (#1102)
* IDEMPIERE-3561

* IDEMPIERE-3561

fix logic for isSOTrx = N

* IDEMPIERE-3561 - move migration scripts to i9 folder
2022-01-05 15:00:35 +08:00
Nicolas Micoud 79763f8626
IDEMPIERE-5135 : Add a link in a Broadcast message to open a record (#1105)
* IDEMPIERE-5135 : Add a link in a Broadcast message to open a record

Credits go to devcoffee - sorry i didn't find Matheus Marcelino's github account

Co-Authored-By: muriloht <5605206+muriloht@users.noreply.github.com>

* IDEMPIERE-5135 : Add a link in a Broadcast message to open a record

fix suggested by hengsin

Co-authored-by: muriloht <5605206+muriloht@users.noreply.github.com>
2022-01-05 10:19:55 +08:00