Commit Graph

13784 Commits

Author SHA1 Message Date
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
Carlos Ruiz 84eff33ebf
IDEMPIERE-4700 PackOut is creating index and view data for Dictionary entries when export dictionary is disabled (#578) 2021-02-12 19:12:31 +08:00
hengsin dda6ede13d
IDEMPIERE-4694 Implement thread safe, annotation based osgi event handling (#581)
Fix testFactValidate unit test fail with seed db due to No Cost error
for Azalea Bush
2021-02-12 10:07:00 +01:00
Carlos Ruiz 43dbf6a05a
IDEMPIERE-1026 Button on table to create automatically the window (#577)
Fix issue creating menu on already created window
2021-02-11 09:29:38 +01:00
Carlos Ruiz 92195c08a4
IDEMPIERE-4693 2Pack Hangs in 7.1+ / IDEMPIERE-2767 (#570)
* IDEMPIERE-4693 2Pack Hangs in 7.1+ / IDEMPIERE-2767

* Decrease log level to INFO

* Add javadoc note
2021-02-11 04:33:19 +08:00
hengsin ee77620186
IDEMPIERE-4694 Implement thread safe, annotation based osgi event han… (#571)
* IDEMPIERE-4694 Implement thread safe, annotation based osgi event handling

Make sure the component register in the event handler unit test cases
wouldn't have impact on other unit test cases.
2021-02-10 16:12:16 +01:00
hengsin c757fbaab7
IDEMPIERE-4695 Add document factory base class backed by Map and Lambda functional object (#576)
MappedDocumentFactoryTest fail when running idempiere.unit.test due to
document factory cache.
2021-02-10 16:02:13 +01:00
Martin Schönbeck 5e31c1fdb0
IDEMPIERE-4688 Adding Customs Tariff Number to products (#568)
* group1 and group2 also added to i_product
* Models generated for m_product and i_product, creating m_product from i_product extended with new fields.
2021-02-09 21:09:04 +01:00
Carlos Ruiz 79a3cd8c52
IDEMPIERE-4698 Load/Import Bank Statement issues (#573) 2021-02-09 20:11:00 +01:00
hengsin c159ce5325
IDEMPIERE-4695 Add document factory base class backed by Map and Lambda functional object (#572) 2021-02-09 19:17:15 +01:00
hengsin 3a1d53ea4e
IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing ui.zk, on macos sometimes during work (#574)
Immediately treat jqxhr.status=0 as server not available doesn't work
well on firefox. With Firefox both stop of server and navigate away to
another site provide same jqxhr.onerror event and jqxhr.status of 0.
2021-02-09 19:10:54 +01:00
Nicolas Micoud 91fb2dacb9
IDEMPIERE-4683 : Report : missing logo for PDF output (#562) 2021-02-08 17:29:30 +01:00
hengsin ddd1c40eb2
IDEMPIERE-4690 Add column callout factory base class backed by Map an… (#567)
* IDEMPIERE-4690 Add column callout factory base class backed by Map and Lambda functional object

Fix column callout factory cache.

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-02-06 14:53:59 +01:00
hengsin 1c5a28aa0a
IDEMPIERE-4689 Add process factory base class backed by Map and Lambda functional object (#566) 2021-02-06 14:37:04 +01:00
Carlos Ruiz 0669760711
IDEMPIERE-3340 Adaxa's User Favorite which allow user to organize their menu, create folders (#569)
* Login Automatic Open Sequence -> buttons don't require names
* Login Automatic Open Sequence -> buttons look bad with non-font icons
* Clicking on + on an item of the favourites throws an NPE
* Implement same approach about checking for new button restricted on menu search, menu popup and quick entry popup
2021-02-04 21:39:15 +01:00
Deepak Pansheriya 373225a62c
Idempiere 3340 (#505)
* IDEMPIERE-3340 : User favorite with tree structure

* IDEMPIERE-3340: Marking write operation to safe for cross tenant safe

* IDEMPIERE-3340: Fixing Cross tenant access issue

* IDEMPIERE-3340: refactoring as review comment, Fixing renaming folder issue, Auto launch window shows all items irrespective of access

* Sync with IDEMPIERE-4251

* Sync with IDEMPIERE-4251

* IDEMPIERE-3340: Refactoring as review comment for caching,
 toolbar button restriction method with ID, tooltip messages, font base theme,
 remove double click event, etc.

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-02-04 21:36:25 +01:00
Carlos Ruiz e099498a69
IDEMPIERE-1026 Button on table to create automatically the window (#565)
Solve issue with SeqNo=0
2021-02-02 12:26:15 +01:00
hengsin 0f263f1c79
IDEMPIERE-4675 Add model factory base class backed by Map and Lambda … (#555)
- added interface and default mapped model factory service
- added unit test for default mapped model factory service
2021-02-01 15:29:13 +01:00
hengsin 4009c9c8ca
IDEMPIERE-4679 SvrProcess: ensure unlock and flushBufferLog happens after transaction commit and close (#560) 2021-02-01 15:25:34 +01:00
Carlos Ruiz c5c08a8b87
IDEMPIERE-4658 The operator Dropdown entries for a foreign ID column is corrupted when a search preset is loaded in any window's Advanced Search tab. (#564)
Fix issue discovered:
* Saving a query with LIKE operator, when restored it changes to = operator
2021-02-01 15:20:19 +01:00
Carlos Ruiz e20e195c57
IDEMPIERE-4685 Cross tenant PO reading request detected from session for table AD_User Record_ID (#563) 2021-02-01 16:15:59 +08:00
hengsin 3d70b5dd63
IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing… (#557)
* IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing ui.zk, on macos sometimes during work

* IDEMPIERE-4678 Save log informing Notice created when background job

stop immediately when server is not reachable
2021-01-31 15:56:22 +08:00
Carlos Ruiz fd3fef9e7b
IDEMPIERE-4678 Save log informing Notice created when background job (#559)
* IDEMPIERE-4678 Save log informing Notice created when background job

* Added also a refactor for the INSERT INTO AD_PInstance_Log to use safer binding variables and add method saveEx

* - Implement suggestions from @hengsin
- Add some additional improvements
2021-01-29 08:57:15 +08:00
Carlos Ruiz 9c1c4a54a8
IDEMPIERE-4674 PackIn AD_Image or AD_Archive leave corrupt record when using FileSystem storage provider (#558)
* IDEMPIERE-4674 PackIn AD_Image or AD_Archive leave corrupt record when using FileSystem storage provider

* * Fixes suggested by @hengsin
2021-01-28 21:37:13 +08:00
Carlos Ruiz 4493373b96
IDEMPIERE-4673 PackOut fails to export attachments with File storage provider (#554)
* IDEMPIERE-4673 PackOut fails to export attachments with File storage provider

* Implement similar solution for Image and Archive

* Simplify the nested ifs

Change approach for MAttachment as is not working for Data Single
2021-01-28 20:10:02 +08:00
Nicolas Micoud e32f971587
IDEMPIERE-4677 : Cross Tenant issues with AD_User/Role_OrgAccess (#556) 2021-01-28 12:42:00 +01:00
hengsin f5e9cd9336
IDEMPIERE-4654 Sales Order After Receipt Delivery Rule is not working (#536)
* IDEMPIERE-4654 Sales Order After Receipt Delivery Rule is not working

create shipment if it is fully paid and stock is available
use currencyconvertpayment
- rename after receipt to after payment
- added unit test for invoice payment

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-01-26 19:34:38 +08:00
Diego Ruiz 245b471d06
IDEMPIERE-4672 Improve the StatusBar Menupopup to render HTML text (#553) 2021-01-25 17:01:14 +01:00
hengsin f233e29432
IDEMPIERE-4662 Some problems of sort at window before save (#551)
* IDEMPIERE-4662 Some problems of sort at window before save

* IDEMPIERE-4662 Some problems of sort at window before save

Fixed the sequence of edit field -> sort -> edit field will wrongly
trigger save automatically.
2021-01-25 09:31:21 +01:00
Carlos Ruiz 82e38002f7
IDEMPIERE-4670 RUN_ImportIdempiere can call RUN_SyncDB and sign-database (#552) 2021-01-25 14:14:08 +08:00
hengsin 9370dbb77e
IDEMPIERE-4659 MStorageOnHand and MStorageReservation api improvements (#545) 2021-01-24 17:30:51 +01:00
hengsin 0046696a38
IDEMPIERE-4666 Close is an invalid Document Action for Draft, Invalid and In Progress Order (#547) 2021-01-24 17:25:54 +01:00
hengsin 72d66b8868
IDEMPIERE-4667 Project can not be printed using template print format (#550) 2021-01-24 17:13:47 +01:00
Diego Ruiz 2dbbc93485
IDEMPIERE-4665 SearchQuery should behave the same as the toolbar buttons - role access,advanced button,dynamic display (#548) 2021-01-23 12:32:19 +01:00
Carlos Ruiz 070ce8e7da
IDEMPIERE-4668 update*.bat not included in windows installers (#549) 2021-01-23 14:13:23 +08:00
Nicolas Micoud 9413a8a2f5
IDEMPIERE-4665 : Toolbar: Select Query cannot be hidden (#546) 2021-01-22 11:05:27 +01:00
Carlos Ruiz 6c9e957e81
IDEMPIERE-4664 Cross tenant issue sending email with a System template (#543) 2021-01-22 13:16:36 +08:00
Carlos Ruiz 96393d2356
IDEMPIERE-4657 Search Dialog Columns are duplicated when table is present in multiple window tabs. (#540)
* IDEMPIERE-4657 Search Dialog Columns are duplicated when table is present in multiple window tabs.

* Improve query when different seqno (just check fields from first tab)
2021-01-21 17:27:47 +01:00
Carlos Ruiz 2d76f90f9c
IDEMPIERE-4660 Wrong code in virtual columns broke IDEMPIERE-2356 (#541)
IDEMPIERE-4087
IDEMPIERE-3760
2021-01-21 14:28:15 +01:00
Elaine Tan f3741b8f31
IDEMPIERE-4656 Incorrect rate in the MR postings when the currency type of the order is 'Company' (#537)
* IDEMPIERE-4656 Incorrect rate in the MR postings when the currency type of the order is 'Company'
2021-01-21 11:58:50 +08:00
Carlos Ruiz d81935a128
IDEMPIERE-4658 The operator Dropdown entries for a foreign ID column is corrupted when a search preset is loaded in any window's Advanced Search tab. (#538) 2021-01-20 21:46:35 +08:00
Carlos Ruiz 24ccb86f16
IDEMPIERE-4653 Improve timeout handling of window tab (#539)
* IDEMPIERE-4653 Improve timeout handling of window tab

* Fixed a problem with IDEMPIERE-4130 that was not using role max query records
* GridTable was throwing NPEs because the arrays were disposed before closing
* Lowered log level on MRole to avoid clogging the console (I was testing with INFO level)
* Added more points of control for the timeout exception to give meaningful errors to the user and allow refining the query without closing the Find dialog
* Implemented a control to avoid repeating a slow initial query every time the dialog is open
* Added dialog when the find criteria doesn't return rows and allows the user to refine the query
* When the initial number of records is unknown, show a question mark instead of the count

* * Fix wrong role level pushed in first commit
2021-01-20 21:45:33 +08:00
hengsin e1ba21360f
IDEMPIERE-4653 Improve timeout handling of window tab (#534)
* IDEMPIERE-4653 Improve timeout handling of window tab

* IDEMPIERE-4653 Improve timeout handling of window tab

Fix error with find and refresh.
2021-01-20 13:27:58 +01:00