Commit Graph

3024 Commits

Author SHA1 Message Date
Carlos Ruiz 83b383788e
IDEMPIERE-4889 Performance - Attachment management (#798)
* IDEMPIERE-4889 Performance - Attachment management

* IDEMPIERE-4889 Performance - Attachment management

Implement suggestion from hengsin

* IDEMPIERE-4889 Performance - Attachment management
2021-07-28 11:01:38 +08:00
Diego Ruiz 40e411f693
IDEMPIERE-4723 - Clean up code -> MP* classes (#796) 2021-07-27 13:34:04 +08:00
hengsin 8f758ed904
IDEMPIERE-1994 Ability to organise process and report parameters by F… (#791)
* IDEMPIERE-1994 Ability to organise process and report parameters by Field Group functionality

* IDEMPIERE-1994 Ability to organise process and report parameters by Field Group functionality

Fix collapsed by default not working.
2021-07-24 11:05:49 +02:00
Diego Ruiz 02d5263742
IDEMPIERE-4723 - Clean up code -> MI/MPa classes (#793) 2021-07-24 13:26:36 +08:00
Carlos Ruiz 298dbab9d0
IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#792)
Add preview for CSV on attachment window
2021-07-24 13:06:53 +08:00
Nicolas Micoud a4dfd191ec
IDEMPIERE-4858 : CreateTable process (#774)
* IDEMPIERE-4858 : CreateTable process

* IDEMPIERE-4858 : CreateTable process - fixes

Changes following Carlos's remarks - see details in the ticket

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

* IDEMPIERE-4858 : CreateTable process - fixes migration scripts

See details in ticket

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

* IDEMPIERE-4858 : CreateTable process - various fixes

fix migration scripts names / constants in uppercase / remove check of table length

* IDEMPIERE-4858 : CreateTable process - various fixes

default value for EntityType param / replace numeric name/value params by boolean ones / enhance creation of system element (name/print name/description)
see https://idempiere.atlassian.net/browse/IDEMPIERE-4858?focusedCommentId=47325

* IDEMPIERE-4858 : CreateTable process : optional columns

* IDEMPIERE-4858 : CreateTable process : remove wrong temporary migration scripts

* IDEMPIERE-4858 : CreateTable process :

add org.adempiere.base.process as required plugin (and not as imported package)
add missing content on migration scripts

* IDEMPIERE-4858 : CreateTable process : fixes / reordering / renaming

Failed creating Description column: ** Fill mandatory fields: : Length
Value and DocumentNo are not usually mandatory
Some minor reordering and renaming of variables

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

* IDEMPIERE-4858 : CreateTable process : can be used to add columns on existing table

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

* IDEMPIERE-4858 : CreateTable process - fix default value for TableName parameter

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

* IDEMPIERE-4858 : CreateTable process  - restore default value for Description, Name and AccessLevel parameters

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-07-23 15:37:22 +02:00
Diego Ruiz 3f52286bbe
IDEMPIERE-4723 - Clean up code -> MD/ME/MG/MF classes (#787) 2021-07-23 14:18:03 +08:00
hengsin 162c48ec4c
IDEMPIERE-4873 Jasper Report Starter Refactoring (#779) 2021-07-22 11:42:07 +02:00
hengsin 2975ff6429
IDEMPIERE-4881 CSS style anomaly - display logic (#786)
Fix regression (empty expression evaluation) introduce by previous
patch.

Pushing this through as the previous change set introduce a significant regression.
2021-07-20 21:47:17 +08:00
hengsin 6169d09924
IDEMPIERE-4881 CSS style anomaly - display logic (#782)
Fix equal evaluation for numeric expression
2021-07-20 11:25:08 +02:00
hengsin 287f41a067
IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#780)
Fix preview of xlsx not working at attachment viewer
2021-07-16 11:15:40 +02:00
hengsin 3dcef18868
IDEMPIERE-4841 Info Window: Implement auto hide empty columns (#781) 2021-07-15 17:03:33 +02:00
igorpojzl de2b29d129
IDEMPIERE-4871 Added Data Type for Script Column (#776)
* IDEMPIERE-4871 Added Data Type for Script Column

* IDEMPIERE-4871 Script Column -Fix Script Evaluation Data Type
2021-07-14 08:06:27 +08:00
Nicolas Micoud 19cfc2d07d
IDEMPIERE-4874 : Process customization must have effect on Menu and Tab title (#778) 2021-07-11 13:56:31 +08:00
Carlos Ruiz 0b3e307d86
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#773)
Make the table and record ID from MPInstanceLog accessible
related to IDEMPIERE-4678 too
2021-07-07 19:46:58 +02:00
Carlos Ruiz 16032399fa
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#772)
Save the ad_pinstance_log record out of the method to independize it from the pinstance
2021-07-07 19:25:08 +02:00
Carlos Ruiz 287f6bf91f
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#771)
* IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system)

Split processToken in two public methods to allow calling from external interfaces

* Add suggestion from druiz
2021-07-07 17:30:33 +02:00
Nicolas Micoud 8ef060d938
IDEMPIERE-3732 : MRefList.getList cannot allow to choose order by (#746)
* IDEMPIERE-3732 : MRefList.getList cannot allow to choose order by

* @nmicoud IDEMPIERE-3732 : MRefList.getList cannot allow to choose order by - ASP filter

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
2021-07-07 10:44:07 +02:00
Deepak Pansheriya 72ba9fd9d3
IDEMPIERE-4837:on Product Info, only defaulting price list when window has UserPriceListInProductInfo ctx variable set. (#754) 2021-07-05 21:27:41 +02:00
Patric Massing bb2bbc710c
IDEMPIERE-4828-posting of Allocation with a AR Credit Memos with disc… (#745)
* IDEMPIERE-4828-posting of Allocation with a AR Credit Memos with discount, the tax-correction has the wrong sign

* IDEMPIERE-4828 - posting of Allocation with a AR Credit Memos with discount, the tax-correction has the wrong sign

check for DocBaseType
2021-07-05 21:02:44 +02:00
hengsin 93bc73c257
IDEMPIERE-4865 Find window enhancements (#766) 2021-07-05 20:37:28 +02:00
hengsin d7c0ebf980
IDEMPIERE-2682 Html Report >> locking/freeze header row (#761)
* IDEMPIERE-2682 Html Report >> locking/freeze header row

Fix printing
2021-07-05 20:24:42 +02:00
Diego Ruiz a74694f81e
IDEMPIERE-4723 - Clean up dead code -> MC* classes (#762) 2021-07-05 19:51:58 +08:00
Nicolas Micoud fbc4feaf08
IDEMPIERE-4860 : MRole.updateAccessRecords insert active records based on deactivated objects (#758) 2021-07-02 10:33:35 +08:00
Nicolas Micoud ffc9bf12fb
IDEMPIERE-4861 : GenerateModel / Reference List / Use Value for ordering (#759) 2021-07-02 10:31:21 +08:00
Carlos Ruiz 361edea318
IDEMPIERE-4578 generic DocAction (#736)
* IDEMPIERE-4578 generic DocAction

* IDEMPIERE-4578 generic DocAction

* IDEMPIERE-4578 generic DocAction

Refactor generic docaction implementation to a separate delegate class.
This should make it easier for any model class to implement the
DocAction interface using the DocActionDelegate class.

* IDEMPIERE-4578 generic DocAction

add generic type support

* IDEMPIERE-4578 generic DocAction

generic type should implements DocAction

* IDEMPIERE-4578 generic DocAction

Co-authored-by: hengsin <hengsin@gmail.com>
2021-07-02 10:25:30 +08:00
Carlos Ruiz 0e58005d6f
IDEMPIERE-4853 Process to copy a Packout definition (FHCA-859) (#756)
* IDEMPIERE-4853 Process to copy a Packout definition (FHCA-859)

* IDEMPIERE-4853 Process to copy a Packout definition (FHCA-859)

Do not copy inactive details (as suggested by hengsin)
2021-07-01 22:14:46 +08:00
hengsin 10812c486d
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#748)
* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix comparison operator not working for timestamp value
2021-06-29 16:36:50 +02:00
hengsin c33d0528a7
IDEMPIERE-4850 JasperReport: Implement ResourceBundle backed by AD_Message and AD_Element (#747)
* IDEMPIERE-4850 JasperReport: Implement ResourceBundle backed by AD_Message and AD_Element
2021-06-29 12:20:11 +02:00
Nicolas Micoud 0e6e5efc7d
IDEMPIERE-4829 - Add SeqNoGrid on UserDefWindow (#718)
* IDEMPIERE-4829 - Add SeqNoGrid on UserDefWindow

* IDEMPIERE-4829 : scripts moved to i8.2z
2021-06-28 16:11:42 +02:00
Nicolas Micoud e813d2cca4
IDEMPIERE-4843 : MInvoice.setBPartner method retrieves inactive contacts (#744) 2021-06-28 16:04:57 +02:00
hengsin adc9999d89
IDEMPIERE-2937 Html Report - Suppress Null checkbox doesn't work (#734) 2021-06-28 13:54:33 +02:00
hengsin df704cb236
IDEMPIERE-4227 Unable to use 2 print format item with the same AD_Column_ID and different formatting (#740)
* IDEMPIERE-4227 Unable to use 2 print format item with the same AD_Column_ID and different formatting

Fix function column
2021-06-28 13:47:20 +02:00
Andreas Sumerauer 0bfeb8c0b0
IDEMPIERE-4847 TableIndexValidate: include only active columns in table index (#741)
* TableIndexValidate: include only active columns in table index

* simplified MTableIndex.getColumns()

* MTableIndex.createDDL() - restored space positioning

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-06-26 19:32:50 +08:00
Andreas Sumerauer 73b389652f
IDEMPIERE-4849: fix for MProduction.createLines() storage issue (#743)
* fix for MProduction.createLines/( storage issue

* extended if clause to cover storage lines with the same AsiID

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-06-26 13:18:54 +08:00
hengsin ded9693163
IDEMPIERE-4835 Grid View: Implement optional hide empty column feature (#727)
* IDEMPIERE-4835 Grid View: Implement optional hide empty column feature

* IDEMPIERE-4835 Grid View: Implement optional hide empty column feature

- fix issue with save width saving 0px width to
ad_tab_customization.custom
- added ad_tab_customization.IsAutoHideEmptyColumn
2021-06-19 09:24:08 +02:00
hengsin d832d1f352
IDEMPIERE-4565 Report (XLSX output) : add header (#729)
sync xls and xlsx output
2021-06-18 22:22:36 +02:00
Diego Ruiz d5845fcffe
IDEMPIERE-4723 - Clean up dead code -> MA*/MB* classes (#726) 2021-06-18 10:34:11 +08:00
Nicolas Micoud 715bf4f856
IDEMPIERE-4833 : Impossible to display a report based on a table when no parameter (#721) 2021-06-16 15:30:09 +08:00
Diego Ruiz 756cf807f2
IDEMPIERE-4743 - Clean up dead code (#722) 2021-06-16 15:10:41 +08:00
hengsin e7ea517b99
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#717)
Regenerated source with correct antlr4 version to remove deprecation
warnings.
2021-06-11 17:14:49 +08:00
hengsin d7153575e6
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#716)
* IDEMPIERE-4824 Boolean Logic Expression Enhancements

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix handling of conditional variable (i.e @VariableName:DefaultValue@)

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix unit test launch configuration
2021-06-10 23:08:22 +08:00
Diego Ruiz 5811f87f19
IDEMPIERE-4743 - Clean up ImageDBStorageImpl, Lookup, M_Element, MAccount, MAcctProcessor,MAcctSchema,MAcctSchemaDefault,MAcctSchemaElement classes (#714) 2021-06-10 15:49:49 +08:00
Carlos Ruiz a4f67eb852
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#705)
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement suggestions from Heng Sin

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Fix security warning advised by github/CodeQL

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement an incremental delay in zk when the validation code is wrong (to avoid brute-force attacks)
As suggested by Ricardo Santana:
* ensures one-time only use of an OTP
* Log failures in AuthFailure.log

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

* Log failures in AuthFailure.log - add case for login with email
* Implement incremental delay also for login panel
2021-06-08 19:49:46 +08:00
igorpojzl 3e64dc6737
IDEMPIERE-4479 - Allow define columnSql in AD_Field (#710)
* IDEMPIERE-4479 - Allow define columnSql in AD_Field

* IDEMPIERE-4479 Added View Update, ColumnSql fix FieldLength

* IDEMPIERE-4479 Updated AD_Field Model

* IDEMPIERE-4479 MFIeld update model logic

* IDEMPIERE-4479 Move Migration scripts to 8.2
2021-06-04 10:03:05 +02:00
Carlos Ruiz d9826c775f
IDEMPIERE-4813 Process Customization Cross Tenant Error (#707)
* Implement for Window, Process and Info Window Customization:
  * Change to non-updateable the columns that have related children
  * Change default to NULL in role, user and language
  * Disable the autofilling of name, description and help
2021-06-03 15:40:30 +02:00
igorpojzl 6da6bc1d85
IDEMPIERE-4796 Request EMail Processor - Html email processing type parameter (#696)
* IDEMPIERE-4796 EmailSrv Parse Html Images

* IDEMPIERE-4796  Request EMail Processor - Html email processing type parameter

* IDEMPIERE-4796 Migration Scripts Added

* IDEMPIERE-4796 Added Register_Migration_Script

* IDEMPIERE-4796 Html Attachment Type Variable Logic Update

* IDEMPIERE-4796 ImageList null check added
2021-06-03 21:05:22 +08:00
igorpojzl d45ee838e3
IDEMPIERE-4815 FIX Check C_Country_ID when getting cached data. (#708) 2021-06-03 16:19:54 +08:00
hengsin b928043646
IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#700)
* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

- Fixed some dependency issues
- Uses guava mediatype class

* minor - fix NPE when empty CSV

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-05-29 11:54:12 +02:00
Carlos Ruiz 6d78119006
IDEMPIERE-4800 Performance - avoid multiple for in GridTab.getParentTabNo (#699) 2021-05-27 14:38:02 +08:00