Commit Graph

14026 Commits

Author SHA1 Message Date
Carlos Ruiz 44edbf4b07
IDEMPIERE-4742 Delete button on detail tab is not disabled for processed records (#636) 2021-03-29 15:23:52 +02:00
Andreas Sumerauer 0fb7bc9a35
IDEMPIERE-4745 Fixes order by SQL generation error (#638)
Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-03-25 20:46:28 +01:00
Diego Ruiz da171627ed
IDEMPIERE-4743- Fixed Shift+Alt+N to save and create in detail (#639) 2021-03-25 20:30:49 +01:00
Diego Ruiz 7d1fec61fb
IDEMPIERE-4723 - Clean up MIssue*/MJournal*/MLandedC*/MLanguage/MLdapProcessor/Mloc*/MLookip*/Mlot* classes code (#635) 2021-03-23 10:19:34 +08:00
Carlos Ruiz c8fd9a8805
IDEMPIERE-4736 FHCA-2461 IDEMP - ad_column table - Framework query improvement (#628)
* IDEMPIERE-4736 FHCA-2461 IDEMP - ad_column table - Framework query improvement

* * Rename migration scripts to normal convention
2021-03-16 17:03:40 +08:00
Diego Ruiz 86bbb08bff
IDEMPIERE-4723 - Clean up MInOut*/MInterest* classes code (#632) 2021-03-16 08:30:23 +08:00
Carlos Ruiz 43cbc2f297
IDEMPIERE-4738 Password for user System cannot be changed (#633)
IDEMPIERE-4287
2021-03-16 08:29:45 +08:00
Carlos Ruiz ba0cc46c6c
IDEMPIERE-4731 No default salesrep_id in PO/SO,Invoice when using 'Change Role' (#631) 2021-03-15 21:20:38 +08:00
Elaine Tan 27f21e0384
IDEMPIERE-4696 Wrong GL Currency Balancing in payment allocation for payment reverse/accrual (#621)
* IDEMPIERE-4696 Wrong GL Currency Balancing in payment allocation for payment reverse/accrual
2021-03-15 21:18:25 +08:00
Diego Ruiz 61478ad594
IDEMPIERE-4723 - Clean up dead code on MInvoice*/MInventory* classes (#625)
* IDEMPIERE-4723 - Clean up dead code on MInvoice*/MInventory* classes

* IDEMPIERE-4723 - Clean up useless if in MInvoiceLine
2021-03-15 17:43:02 +08:00
Carlos Ruiz bef5e5ed3f
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#630)
* Fix hardcoded reference to EMail scope in the processToken method
2021-03-12 18:11:22 +01:00
Carlos Ruiz 1ffe76b595
IDEMPIERE-4733 2Pack - -Cannot export and import data from one client to another client (#626)
* IDEMPIERE-4733 2Pack - -Cannot export and import data from one client to another client

* Fix Cross tenant PO reading request ...

* IDEMPIERE-4733

* Add control for importing records with official IDs, to show a clearer message to the user
2021-03-12 11:37:59 +01:00
Carlos Ruiz 2e4daa8930
IDEMPIERE-4566 Translation Import/Export - output message is not visible (#624)
* Fix problem with wrong management of parameters when changing from Import to Export
* Delete the deprecated class, this is unused (IDEMPIERE-4723)
2021-03-12 10:45:39 +01:00
Nicolas Micoud 1cab7864f5
IDEMPIERE-4732 : WSearchEditor - make lookup, infoPanel and adwindow (#623)
* IDEMPIERE-4732 : WSearchEditor - make lookup, infoPanel and adwindow protected
2021-03-11 17:37:14 +08:00
Carlos Ruiz c60f420cec
IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window (#618)
* IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window

* Revert "IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window"

This reverts commit 74d5d07bea748f6405bfb6988a01fab1f605f720.

* Implement suggestion from @hengsin
2021-03-10 20:09:55 +08:00
Deepak Pansheriya f8f17d5b85
IDEMPIERE-4729: Fixing cross tenant error reported issue when submitting field suggestion (#622) 2021-03-10 12:48:43 +01:00
Elaine Tan c7854316be
IDEMPIERE-4263 Wrong matched invoice GL posting (currency balancing) in alternate schema for vendor credit memo if > 1 credit memo line (#619)
* IDEMPIERE-4263 Wrong matched invoice GL posting (currency balancing) in alternate schema for vendor credit memo if > 1 credit memo line
2021-03-10 18:09:13 +08:00
Diego Ruiz e7681a767a
IDEMPIERE-4723 - Clean up dead code on MOrder* classes (#620) 2021-03-10 17:56:24 +08:00
Carlos Ruiz 8264a9abfa
IDEMPIERE-4692 Mandatory range parameters : "To" style not updated after being filled manually (#616)
* IDEMPIERE-4692 Mandatory range parameters : "To" style not updated after being filled manually

* based on patch from Anozi Mada
* Add javadoc explaining new columnname notation in IProcessParameterListener
* Change BankTransferParameterListener to illustrate better usage of columnname - as example
2021-03-09 10:56:38 +01:00
Carlos Ruiz 14d982abae
IDEMPIERE-4714 email password changes being displayed in the change log (#615)
* IDEMPIERE-4714 email password changes being displayed in the change log

* * minor fix adding a line to script
2021-03-09 15:00:12 +08:00
Carlos Ruiz 5cd9820511
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#614)
* Add oauth2 folder to deploy to server
2021-03-06 17:10:49 +01:00
Carlos Ruiz c03fefea79
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#613)
* Avoid NPE when calling the servlet without parameters
2021-03-06 16:22:31 +01:00
Carlos Ruiz 371afa054a
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#612)
* Minor fix for typo in process name
2021-03-06 15:41:51 +01:00
Carlos Ruiz 408841a68d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#611)
* Fixing broken setup scripts in server
2021-03-06 12:42:48 +01:00
Carlos Ruiz 5f2d71347d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593)
* IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system)

WIP - initial version working on zk with google apps mail using OAuth2 Authorization Code Flow and Client Type = web application

* Enable imap reading with OAuth2 in RequestEMailProcessor
* Simplify the code - tested plain and OAuth2 can use the same methods
* Add +SCOPE parameter to AddAuthorizationForm according to IDEMPIERE-4713
* Rename the form AddAuthorizationMailForm to AddAuthorizationForm as is now more generic

* IDEMPIERE-4713
* Rename migration scripts to make it newer than IDEMPIERE-4713
* Add list of scopes attended by a credential
* Change form to accept other scopes, if no scope parameter is passed, then a list is shown, change the menu to fix the EMail scope
* Add MAuthorizationAccount.refreshAndGetAccessToken
* Add translation for messages

* make call generic oauth, avoid using specific google API

* Tests with microsoft as OAuth2 provider
* Add record for microsoft as provider
* Increase size of tokens
* Define mandatory and secure columns
* Update refresh token when it comes on the refresh call
* Revoke endpoint is optional

* Change the approach to a process instead of a form (WIP)
* Implement servlet to process the OAuth2 code

* Solve context suggestion from hengsin

* Implement the form in an automatic popup approach for running on zkwebui

* i18n - add translations for all messages that are shown to user
* on the form opted for click to avoid the problem with browsers forbidding popups
* clean spaces and tabs on line endings

* avoid logging and copy of the secure columns

* Fix problem reported by @d-ruiz about hidden NPE when SMTP Authentication is disabled

* Add writing to AD_PInstance_Para and AD_PInstance_Log the results of processing the servlet
* Control to avoid using the same authorization URL twice
2021-03-06 11:49:39 +01:00
hengsin 9d6500672d
IDEMPIERE-4719 Create Oomph project setup model (#610)
* IDEMPIERE-4719 Create Oomph project setup model

add oomph setup files and mvn verify launch configuration

* IDEMPIERE-4719 Create Oomph project setup model

Fix project setup model.
2021-03-05 10:45:14 +01:00
hengsin b0a1841dde
IDEMPIERE-4719 Create Oomph project setup model (#609)
add oomph setup files and mvn verify launch configuration
2021-03-04 21:58:33 +08:00
Carlos Ruiz 41bf7ef3e6
IDEMPIERE-4488 Remove .classpath from repository (#608)
Fix project definition for migration folder - is not java nature
2021-03-04 13:55:47 +01:00
hengsin 1971b4f0dc
IDEMPIERE-4488 Remove .classpath from repository (#607)
* IDEMPIERE-4488 Remove .classpath from repository

* IDEMPIERE-4488 Remove .classpath from repository

add ignore for .classpath

* IDEMPIERE-4488 Remove .classpath from repository

remove ".settings/org.eclipse.jdt.core.prefs"

* IDEMPIERE-4488 Remove .classpath from repository

fix false status report for /bin and .project
2021-03-03 00:02:03 +01:00
hengsin 3beccdf38e
IDEMPIERE-4722 Remove constraint that idempiere source folder must be… (#606)
* IDEMPIERE-4722 Remove constraint that idempiere source folder must be used as Eclipse workspace

use project_loc of org.adempiere.base instead of workspace_loc
integrate additional fix from Carlos
2021-03-02 20:51:20 +08:00
hengsin 6b79859231
IDEMPIERE-4718 Import Existing Maven Projects doesn't import the org.idempiere.p2.targetplatform project (#605) 2021-03-02 20:40:04 +08:00
Nicolas Micoud 2c340390cf
IDEMPIERE-4716 : set InfoPanel onDoubleClick method protected (#604) 2021-02-25 06:20:07 +08:00
Carlos Ruiz 47f7180eff
IDEMPIERE-4713 Allow definition of context variables to inject on menu and window definition (#600)
* IDEMPIERE-4713 Allow definition of context variables to inject on menu and window definition

* * Implement prefix "+" as suggested by @hengsin
* Clear the variable

* * Fix scope of methods and fix interface as suggested by @hengsin

* * Implement changes suggested by @hengsin
* Add control for clicking on new button on Favourites and menu
2021-02-23 16:24:39 +01:00
Carlos Ruiz ed68a01c74
IDEMPIERE-4710 NPE in ProcessInfo.getLastServerRebootDate() (#603)
* Add logging for possible severe issue
2021-02-23 13:04:39 +08:00
Nicolas Micoud bd7600fcd9
IDEMPIERE-4710 : NPE in ProcessInfo.getLastServerRebootDate() (#597) 2021-02-22 10:56:32 +08:00
Diego Ruiz 60bcc24bb4
Idempiere 4084 (#599)
* IDEMPIERE-4084 Fixed DynamicDisplay on overflow buttons

* IDEMPIERE-4084 Clean unused code
2021-02-22 10:54:30 +08:00
Carlos Ruiz d188e563fc
IDEMPIERE-4358 Rename table issue (#590)
* IDEMPIERE-4358 Rename table issue

Rename the table also in whereclause and orderbyclause in AD_Tab and AD_Ref_Table

* * Fix issue with Sequence reported by @d-ruiz
* Improve log messages

* * Improve reference message
2021-02-19 17:52:33 +01:00
Nicolas Micoud a292fea5d9
IDEMPIERE-4712 : set MInvoice setReversal(boolean) method public (#598) 2021-02-19 22:05:16 +08:00
Carlos Ruiz 192354098c
IDEMPIERE-4705 Add grid toggle button to Detail Pane (#596)
Move to 8.2
2021-02-18 20:16:45 +01:00
Diego Ruiz 3c220b6681
IDEMPIERE-4084 Improve button access logic (#592) 2021-02-18 19:46:43 +01:00
hengsin b1d3f9c8fd
IDEMPIERE-4705 Add grid toggle button to Detail Pane (#594) 2021-02-18 19:38:46 +01:00
hengsin 4ebf81b1d2
IDEMPIERE-4704 Add base interface and class that uses generic type and lambda function for osgi factory that create new instance by class name or a string key (#595)
Fix unit test error when running through maven/jenkin (mvn verify
-DskipTests=false)
2021-02-18 18:22:07 +01:00
Deepak Pansheriya 5ca8d44d48
IDEMPIERE-4606: Adding support for generic method to get model using … (#580)
* IDEMPIERE-4606: Adding support for generic method to get model using UUID

* IDEMPIERE-4606: Refactoring as per Hengsin's review comment.

* IDEMPIERE-4606: reverting issue in IMappedModelFactory.

* IDEMPIERE-4606: Fixing compilation errors

* IDEMPIERE-4606: Resetting ModelFactory Class to original, removed instance variable m_uuid and used to pass UU.

* IDEMPIERE-4606: Dropping constructor with UU argument from PO class.

* IDEMPIERE-4606: Refactoring as per Hengsin's feedback

* IDEMPIERE-4606: Correcting Java doc and updating serialized version.

* IDEMPIERE-4606: Fixing uuID passing

* IDEMPIERE-4606: Moving check for blank argument at top
2021-02-17 12:46:51 +08:00
Carlos Ruiz 2c899d3b49
IDEMPIERE-4083 currency rate by document or by transaction (#589)
Fix problem with callout message
2021-02-16 20:39:19 +08:00
hengsin 5e60c443d2
IDEMPIERE-4704 Add base interface and class that uses generic type and lambda function for osgi factory that create new instance by class name or a string key (#585) 2021-02-16 11:24:31 +01:00
hengsin 4b20720932
IDEMPIERE-4690 Add column callout factory base class backed by Map and Lambda functional object (#587)
Refactoring. Add unit test for gridtab and callout.
2021-02-16 11:20:42 +01:00
hengsin c91a13ee88
IDEMPIERE-4681 Can't use hidden column in display logic (#561)
* IDEMPIERE-4681 Can't use hidden column in display logic

* IDEMPIERE-4681 Can't use hidden column in display logic

handle @ColumnName:0@ and @ColumnName.xyz@
2021-02-16 11:14:30 +01:00
Andreas Sumerauer 6acc8e235d
IDEMPIERE-4702 Messagebox enhancement: Esc key closes Dialog with cancel (#586)
action

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-02-16 08:41:41 +08:00
Carlos Ruiz ff88459dc9
IDEMPIERE-4703 Cross tenant issue on sort tabs (#584) 2021-02-14 10:06:59 +08:00
Diego Ruiz 51a081cbe7
IDEMPIERE-4701 Env.parseVariable is parsing boolean values wrong (#582) 2021-02-12 15:58:40 +01:00