Commit Graph

15350 Commits

Author SHA1 Message Date
Carlos Ruiz b5acb53ee2
IDEMPIERE-5860 Recent Item of Window Customization is usually empty (#2017)
* IDEMPIERE-5860 Recent Item of Window Customization is usually empty

* - move to iD10

* - apply the same for Process and Info Window Customization
2023-09-20 21:48:58 +08:00
Carlos Ruiz 93c275722c
IDEMPIERE-5857 Cross tenant on Reset Password (#2015)
* IDEMPIERE-5857 Cross tenant on Reset Password

* - Change logic following suggestion from Heng Sin
2023-09-20 11:24:00 +08:00
Carlos Ruiz 7c486df524
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2013)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix for MAttachment.get
- discovered while testing rest endpoing api/v1/models/testuu/{uuid}/attachments/zip

* - remove the deprecated message
- use UU just when there is no ID
2023-09-19 22:24:09 +08:00
Carlos Ruiz 7e5a1d89ee
Revert "IDEMPIERE-5826 iDempiere REST can insert/update an invalid foreign key (#1969)" (#2014)
This reverts commit db833e3665.
2023-09-19 22:21:08 +08:00
Nicolas Micoud 4c4981533e
IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule (#2012)
* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

serial update

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

 if getPaymentRulePO() is null, we fall back to getPaymentRule()
2023-09-19 21:04:18 +08:00
hieplq 1d724b00f2
IDEMPIERE-5855:IDEMPIERE-4183 happen again by update spring library (spring resouce load from web only) (#2010) 2023-09-19 21:00:01 +08:00
Zuhri Utama 28fe98ba11
IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry (#1989)
* IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry

* IDEMPIERE-3590 : added translation

* IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry

* IDEMPIERE-3590 : remove unused class
2023-09-18 14:45:26 +02:00
Zuhri Utama 1efe7a4ac5
IDEMPIERE-4697 : temporary filename "adempiere_" (#2000)
* IDEMPIERE-4697 : get temp filename based on config "TEMP_FILENAME" if exists

* IDEMPIERE-4697 : temporary filename "adempiere_"

* IDEMPIERE-4697 : set default value and change from adempiere to idempiere
2023-09-18 14:44:21 +02:00
Carlos Ruiz d665c2b051
IDEMPIERE-5854 Error when trying to call ServerReportCtl.runJasperProcess with a process info without a transaction name (#2009) 2023-09-15 14:21:34 +02:00
Carlos Ruiz 209663d32a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2008)
- MappedModelFactory check and register UUID constructor
2023-09-14 20:18:46 +08:00
Vitor Henrique Dos Santos d7d4504271
IDEMPIERE-5852 Change broadcastmessage column size (#2002)
* IDEMPIERE-5852 Change broadcastmessage column size

* IDEMPIERE-5852 Patch applied
2023-09-14 14:13:24 +02:00
Carlos Ruiz 5dfd3cca8f
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2006)
- fix for broken PackIn on AD_Menu.Parent_ID
2023-09-13 12:37:27 +02:00
Peter Takács 826b47d6a4
IDEMPIERE-5803 - Toolbar does not check if overlapped widow is closing with shortcut (#1997) 2023-09-13 12:51:22 +08:00
hengsin 39d159d44a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2005)
- Fix unit test errors
2023-09-13 12:48:54 +08:00
hengsin c941938869
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003) (#2004)
- Fix migration script error
2023-09-13 11:10:42 +08:00
Carlos Ruiz 7c8fe24435
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003)
- Implement support to run processes on UUID based tables
- Added SvrProcess.getRecord_UU and getRecord_UUs support
- Added TestUUChangeActive process as toolbar button on "Test UU Based Table" window - supports single and multi
- Added AD_PInstance.AD_Table_ID and AD_PInstance.Record_UU
- NOTE: the migration script tries the best to fill AD_PInstance.AD_Table_ID from different sources, but at the end is very possible that some records will be left with empty table
- The MPInstance constructors that don't manage AD_Table_ID were marked as deprecated to ease discovering the missing parts in plugins
2023-09-13 10:59:21 +08:00
Peter Takács fa7a8d46bf
IDEMPIERE-5772 - Info Window Ctx - Paging Issue (#1952)
* IDEMPIERE-5772 - Info Window Ctx - Paging Issue

* IDEMPIERE-5772 - Info Window Ctx - Paging Issue

* IDEMPIERE-5772 - update javadoc

* Fix trying to access nonexistent field error

* IDEMPIERE-5772 - Fix bug in maintaining user selection order
2023-09-13 10:41:56 +08:00
Carlos Ruiz 9678c01664
IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record (#1988)
- Set Model Cascade for Record_ID column in AD_WF_Activity, AD_WF_EventAudit and AD_WF_Process
2023-09-12 17:59:02 +08:00
Carlos Ruiz c0a1756043
IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1994)
* IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)

IDEMPIERE-5174 / Revert changes from IDEMPIERE-4386

* - remove the same now unnecessary method on MMFARegistration
2023-09-06 09:44:09 +08:00
Nicolas Micoud 51c3bf5e0c
IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms (#1970)
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms

https://idempiere.atlassian.net/browse/IDEMPIERE-5827

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : scripts on iD11

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms - remove changes related to Info Window

* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : remove changes related to Info Window

* Update oracle/202308101331_IDEMPIERE-5827.sql

* Update postgresql/202308101331_IDEMPIERE-5827.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-05 15:43:01 +02:00
Nicolas Micoud f0bdcbb913
IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWin… (#1993)
* IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWindow_ID

https://idempiere.atlassian.net/browse/IDEMPIERE-5844

* Update oracle/202309041344_IDEMPIERE-5844.sql

* Update postgresql/202309041344_IDEMPIERE-5844.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-05 13:15:01 +02:00
hengsin db4f715537
IDEMPIERE-5841 AD_Note created by Request causing Cross Tenant (#1991) 2023-09-05 16:02:28 +08:00
Carlos Ruiz 3500070d1e
IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)
IDEMPIERE-5174 / IDEMPIERE-3737
2023-09-04 10:43:08 +08:00
Nicolas Micoud 562283fe48
IDEMPIERE-5760: Manage mail.smtp.timeout using SysConfig (#1982)
https://idempiere.atlassian.net/browse/IDEMPIERE-5760

https://github.com/idempiere/idempiere/pull/1883 + changes requested by Carlos (migration script)
2023-09-02 16:38:13 +02:00
Carlos Ruiz eee6f449c3
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1985)
- Fix issue caused by last changes - the *SelectionGrid fields are not working because they don't have a formal Reference
2023-09-01 10:41:41 +08:00
Carlos Ruiz fd986b4130
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - MigraID (#1986)
Fixes for the MigraID process:
- Add management for AD_Tree_Favorite_Node
- Add management for multi-IDs fields (comma separated IDs or UUIDs)
- Add management for AD_Package_UUID_Map
- Fix issues with UUID based tables
2023-09-01 10:40:25 +08:00
Carlos Ruiz 25ea69c62d
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - CleanOrphanCascade (#1987)
Fixes for the CleanOrphanCascade process:
- add management for AD_Tree_Favorite_Node
- remove management for AD_Package_UUID_Map (in the end this is unnecessary to take care of orphans in this table)
- implement management for Record_UU columns
- fix problem with UUID based tables
2023-09-01 10:38:57 +08:00
hengsin 158648ccdb
IDEMPIERE-5570 Zk: Improve readability of code (#1984) 2023-08-29 11:40:20 +02:00
Zuhri Utama b7f1499d13
apply suggestion from kazumasa asato. tested and working properly (#1981) 2023-08-29 14:15:14 +08:00
Zuhri Utama 9c08235079
IDEMPIERE-4539 Process Popup has extra width when moving by mouse (#1979)
* set width on class process-model-dialog to set base width on 600px

* added css for media screen < 600px

* update version for idempiere.theme.default
2023-08-28 16:39:56 +08:00
Carlos Ruiz 954b3b2fec
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1976)
- Fix 2Pack to work with UUID based tables
- Implement ability for PackOut/PackIn multi ID columns
2023-08-26 09:49:39 +08:00
Carlos Ruiz c1d8a50b12
IDEMPIERE-5837 Collect all System Properties of iDempiere in one class (#1980) 2023-08-26 09:39:53 +08:00
Deepak Pansheriya e902ce13bc
IDEMPIERE-5768 : committing osgi service definition XML file for default credit manager factory. (#1975) 2023-08-23 19:37:48 +08:00
Deepak Pansheriya 18f925fd2f
IDEMPIERE-5768 : Adding Credit manager factory to override or extend … (#1949)
* IDEMPIERE-5768 : Adding Credit manager factory to override or extend credit management

* IDEMPIERE-5768 : Fixing as as per code review comments from Hengsin

* IDEMPIERE-5768: Use component annotation instead of xml service definition

* IDEMPIERE-5768: Adding Unit tests and Making return type of CheckCreditStatus to be object instead of String.

* IDEMPIERE-5768: Fixing as per code review comment.

* IDEMPIERE-5768: Removed explicit rollback from test cases
2023-08-23 09:39:24 +08:00
Carlos Ruiz 5aba739d37
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1963)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- fix issues with archive reporting on UU based tables

* - implement change log in time line mode for UUID based tables

* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

* Fixes and improvements for MoveClient
  * Fix for oracle not being able to insert AD_WF_Node (CLOB column)
  * Add management for UUID based tables
  * Add management for weak foreign key Fact_Acct.Line_ID
  * Add management for weak foreign key AD_Tree_Favorite_Node.Parent_ID
  * Add management for Record_UU columns
  * Add management for ChosenMultipleSelectionTable and ChosenMultipleSelectionSearch
  * Improve javadoc

* - Test and add support for SelectionGrid

* - fix error inserting a wrong UUID when it was set before by a Record_UU

* - Fix problem validating orphans in UUID based tables
2023-08-22 20:08:33 +08:00
Carlos Ruiz 7cd514e60a
IDEMPIERE-2533 Calendar (Event) - Create request has wrong Dyn Validation (#1971) 2023-08-21 15:48:40 +08:00
Deepak Pansheriya 3559371414
IDEMPIERE-5828: Setting ASI from invoice to credit memo on InvoceCreateCreditMemo Process (#1972) 2023-08-21 14:20:02 +08:00
Marcos Gabriel de Oliveira Favaretto 094dee35dc
IDEMPIERE-5831 - Fix onZoom events to be executed once a click for Broadcast Messages (#1974) 2023-08-21 13:06:40 +08:00
Carlos Ruiz db833e3665
IDEMPIERE-5826 iDempiere REST can insert/update an invalid foreign key (#1969) 2023-08-15 16:51:44 +08:00
hengsin 66b7b20619
IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window (#1962)
* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- Fix process info log & error not shown
- Fix re-run missing context variable from menu

* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- turn off auto close after zoom
2023-08-09 16:00:00 +02:00
Diego Ruiz 3791149ddc
IDEMPIERE-5824 - Fixed wrong entity type is set when creating a tab in an existing window using the Create Window, Tab & Field from Table process (#1968) 2023-08-09 14:36:48 +02:00
Diego Ruiz f1a0f7aac1
IDEMPIERE-5823 - Improve MUserMail constructors to behave equally in every case (#1967) 2023-08-09 12:56:10 +08:00
hengsin e46d57e1ea
IDEMPIERE-5812 Reversal of Material Receipt for a Closed PO leave quantity ordered of product in a bad state (#1964) 2023-08-08 14:02:28 +02:00
Carlos Ruiz 472032fa44
IDEMPIERE-5821 Credit Memos are commissioning positive (#1965) 2023-08-04 14:41:30 +08:00
hengsin 03c6187fde
IDEMPIERE-5813 Change Role must close session like Logout does (#1959)
* IDEMPIERE-5813 Change Role must close session like Logout does

* IDEMPIERE-5813 Change Role must close session like Logout does
2023-08-01 19:14:26 +02:00
Carlos Ruiz 159fbbd04c
IDEMPIERE-5732 Cache reset should happens after commit of transaction (#1850)
* IDEMPIERE-5732 Cache reset should happens after commit of transaction

* IDEMPIERE-5732 Cache reset should happens after commit of transaction

* - minor defensive programming

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-08-01 19:53:11 +08:00
Marcos Gabriel de Oliveira Favaretto f919931eaf
IDEMPIERE-5802 - Includes access validation for ASI Dialog (#1945)
* IDEMPIERE-5802 - Includes access validation for ASI Dialog

* IDEMPIERE-5802 - Implements use of MRole.getWindowAccess instead of Query

* IDEMPIERE-5802 - Fix name and access for 'isAllowedToCreate' variable
2023-08-01 10:57:52 +08:00
Carlos Ruiz 6e0645f90c
IDEMPIERE-5818 AD_Session cache is not working (#1960) 2023-08-01 10:46:28 +08:00
hengsin 890862de47
IDEMPIERE-4416 invalidating a purchase order doesn't remove connectio… (#1942)
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, make MiniTableImpl usable outside of test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, move business and sql logic from Match to model class.
- add more unit test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- set M_InOut.C_Order_ID to null

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- update unit test for setting of M_InOut.C_Order_ID to null.
2023-07-31 15:20:26 +02:00
Carlos Ruiz 0da6a2ab44
IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436) / fix broken jenkins (#1958) 2023-07-29 18:33:35 +02:00