Commit Graph

15130 Commits

Author SHA1 Message Date
hengsin 2911b1f421
IDEMPIERE-5762 org.idempiere.test-feature should include org.idempiere.test (#1884) 2023-06-07 21:30:34 +02:00
hengsin acab52e9a9
IDEMPIERE-5763 Improve reliability of stopping a scheduler (#1885) 2023-06-07 21:28:32 +02:00
Peter Takács f832d496e3
IDEMPIERE-5754 - Check PInstance_ID before Process Lock DB Update, PInstance 0 on createPricelist (#1874)
* IDEMPIERE-5754 - Check PInstance_ID before Process Lock DB Update, PInstance 0 on createPricelist

* IDEMPIERE-5754 - improve AD_PInstance_ID check on SvrProcess unlock

* IDEMPIERE-5754 - revert legacy check
2023-06-07 16:59:18 +08:00
Peter Takács 4b445e3107
IDEMPIERE-5753 - Date Picker doesn't set time on first date in Quick Mode (#1873) 2023-06-07 06:39:07 +08:00
Peter Takács 34aa34d55f
IDEMPIERE-5755 - Empty value preference logs false parsing error on Dates (#1875) 2023-06-07 06:33:39 +08:00
Diego Ruiz 5602a15f04
IDEMPIERE-5759 - Fixed potential NPE when sending a null orderclause (#1880) 2023-06-07 06:32:03 +08:00
Carlos Ruiz 6c853381a1
IDEMPIERE-5756 2PackActivator: should check Adempiere.isStarted instead of getThreadPoolExecutor (#1878) 2023-06-07 06:30:57 +08:00
Carlos Ruiz 08c6d0aaa0
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1881)
- Fix issues created with latest change - not able to create new records in Zero ID tables (C_DocType, AD_User, etc)
2023-06-06 15:19:46 +02:00
Carlos Ruiz 0ae48988bd
IDEMPIERE-5758 Improve extensibility of ReplenishReportProduction (#1879) 2023-06-06 12:34:48 +02:00
hengsin d51fc4fb8c
IDEMPIERE-5756 2PackActivator: should check Adempiere.isStarted instead of getThreadPoolExecutor (#1876) 2023-06-05 15:07:41 +02:00
Diego Ruiz c36a5c0368
IDEMPIERE-5751 - Displayed Linked Order field in Purchase and Sales O… (#1877)
* IDEMPIERE-5751 - Displayed Linked Order field in Purchase and Sales Order windows when the field is not null

* IDEMPIERE-5751 - Move scripts to iD10 folder
2023-06-05 14:42:22 +02:00
hengsin 97abbc7ed0
IDEMPIERE-5742 Info Product Window: Footer cut off after execution of query (#1872)
- Fix issue with process info dialog.
2023-06-05 13:45:33 +02:00
Peter Takács bb695cb79a
IDEMPIERE-5645 - fix NPE on report Script columns (#1871) 2023-06-02 10:57:48 +08:00
Peter Takács 66e0d4200e
IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes (#1808)
* IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes

* IDEMPIERE-5697 - fix javadoc

* IDEMPIERE-5697 - add PInstanceLogType to AD_PInstance_Log

* IDEMPIERE-5697 - implement Status Log Type

- implement Status Log Type
- fix javadoc

* IDEMPIERE-5697 - definition changes

- rename log type 'Tail' to 'Progress' as Chuck Boecking suggested
- make ad_pinstance_log_uu the primary key as Heng Sin suggested

* IDEMPIERE-5697 - updateLog method with UUID

* IDEMPIERE-5697 - requested changes

- split insert and update
- fix wrong javadoc
- small fixes

* IDEMPIERE-5697 - requested changes

- fix javadoc
- fix migration scripts

* IDEMPIERE-5697 - balance API

- rename methods in SvrProcess: saveLog -> saveProgress, saveStatus; updateLog -> updateStatus
- remove progress and status methods that take table and record id arguments, there is no need to save them in separate fields with there log types

* IDEMPIERE-5697 - balance API

- exchange logic between Progress and Status log types
- modify method names in ProcessInfo based on SvrProcess

* IDEMPIERE-5697 - pr 1808 patch by Heng Sin

- fix oracle migration script
2023-06-01 14:11:25 +08:00
hieplq dfe2fff6cd
IDEMPIERE-5723 NPE when allocate has both AR and AP invoice (#1842)
* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice

base on patch from gauravsontakke

* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice (fix code review)

https://github.com/idempiere/idempiere/pull/1842#pullrequestreview-1429618616

* IDEMPIERE-5723 NPE when allocate has both AR and AP invoice (check Accrual)

createInvoiceGainLoss isn't yet test for non accrual so at check for accrual to consistent with above code
2023-06-01 13:15:48 +08:00
Carlos Ruiz 116b5b4db1
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix issue reported by Murilo (#1868) 2023-06-01 11:52:35 +08:00
Nicolas Micoud 579f4837a9
IDEMPIERE-5748: currencyrate - date is not truncated (#1869)
* IDEMPIERE-5748: currencyrate - date is not truncated

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

* IDEMPIERE-5748: currencyrate - date is not truncated

fix scripts - the SELECT register_migration_script part was missing
2023-05-31 17:32:27 +02:00
Carlos Ruiz fde6e0a1d1
IDEMPIERE-5687 Base Price List (#1858) 2023-05-31 17:24:14 +02:00
Carlos Ruiz 013ba190fd
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar (#1865)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar

- add support for AD_Attachment, CM_Chat, AD_PostIt and AD_LabelAssignment for UUID based tables

* - Better deprecated message
- Better deprecated management for constructors

* - Fix non unique exception on ad_changelog
- Fix to save changelog just ID on insert and not the UUID for ID based tables
2023-05-31 10:39:10 +08:00
hengsin 7336dc967d
IDEMPIERE-5744 MDashboardPreference.getForSessionQuery: add client filter and remove order by ad_client_id (#1866) 2023-05-31 00:36:42 +02:00
Carlos Ruiz cab41a623b
IDEMPIERE-4836 Adding Access tab on Document Status (Activity) - fix issue with native sequence (#1867) 2023-05-31 00:01:49 +02:00
Carlos Ruiz aa0f27f31a
IDEMPIERE-5739 Allow Inventory Valuation Report for more than one warehouse (#1857) 2023-05-30 09:37:03 +08:00
Carlos Ruiz 03b4d0bf2f
IDEMPIERE-5683 Exception: NO Data found for Record_ID (#1864)
Fixing - Because of the ordering of scripts - the latest changes on IDEMPIERE-5683 destroyed changes on IDEMPIERE-5567
2023-05-29 16:57:07 +02:00
Carlos Ruiz d45c0fa248
IDEMPIERE-5735 Useless code in GridTable.dataSave (#1853)
* IDEMPIERE-5735 Useless code in GridTable.dataSave

* - Solve issue with saving zero ID records on UI

* - remove unnecessary row - don't need to read again PO because gridTable.getPO returns now correctly POs with zero ID
2023-05-29 22:27:40 +08:00
hengsin cc831e41d8
IDEMPIERE-5743 Info Window: Add Optional Auto Collapsed Parameter Panel option (#1862) 2023-05-29 15:41:37 +02:00
Peter Takács 8096d6e420
IDEMPIERE-5216 - HTML report Record ID Trl fix (#1840)
* IDEMPIERE-5216 - HTML report Record ID Trl fix

* IDEMPIERE-5216 - HTML report Record ID Trl fix

* IDEMPIERE-5216 - add fallback if Trl not found

* IDEMPIERE-5216 - fix inconsistancy in logic

- DataEngine.java uses the Env.isBaseLanguage method

* IDEMPIERE-5216 - fix inconsistancy in logic

* IDEMPIERE-5216 - fix javadoc
2023-05-29 20:56:55 +08:00
hengsin 6db8752c93
IDEMPIERE-5740 Dashboard Views Gadget doesn't translate *24.png image name to z-icon name (#1859) 2023-05-29 14:44:20 +02:00
hengsin 295454b6e9
IDEMPIERE-5741 Text editor dialog not using ThemeManager.isUseCSSForWindowSize() correctly (#1860) 2023-05-29 14:42:50 +02:00
hengsin 568421360b
IDEMPIERE-5742 Info Product Window: Footer cut off after execution of query (#1861) 2023-05-29 14:40:54 +02:00
Peter Takács 31365e24e9
IDEMPIERE-5730 - Context is not parsed in exception message logs thrown from processes (#1845) 2023-05-29 16:22:03 +08:00
Carlos Ruiz 430823153f
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items (#1856)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items

- Implement support for recent items for UUID based tables
- Refactor MRecentItem for better performance

* - fixes
2023-05-29 16:16:18 +08:00
Carlos Ruiz 281333e8b9
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules (#1852)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules

* - change warning by IllegalArgumentException
- change package visibility to protected

* - remove unnecessary code - the Model Cascade is calling the deleteModelCascade for children too

* - Implement SysConfig AD_CHANGELOG_SAVE_UUID
- reorganize MSysConfig (there were entries out of order)

* - Add index for performance on AD_ChangeLog.Record_UU

* - Enable change log for tables with multi-key (like _Trl or _Access)

* - Enable saving change log for AD_ClientInfo

* - when updating a record that doesn't have UUID - assign one
2023-05-28 23:47:30 +08:00
Peter Takács 1ff182e605
IDEMPIERE-5737 - Change Report's "No Rows" log level (#1855) 2023-05-25 22:35:06 +08:00
Carlos Ruiz 3fa63cf37e
IDEMPIERE-5174 Disable System User - Allow to assign password on new created users (#1854) 2023-05-25 22:32:57 +08:00
Carlos Ruiz 4a1dcb265b
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1837)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix Record UUID editor

* - Separate WRecordEditor and WRecordUUIDEditor for ID and UUID

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

- integrate patch from Heng Sin

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-05-21 19:39:08 +08:00
Carlos Ruiz 7c41f997b2
IDEMPIERE-5733 Obsolete libraries in org.adempiere.ui.zk/lib #resolve (#1849)
- Upgrade org.outerj.daisy from 1.1.15 to 1.2.2
- Upgrade com.googlecode.owasp-java-html-sanitizer from 20200713.1 to 20220608.1
- Upgrade diff_match_patch.java with latest github location
2023-05-21 16:32:07 +08:00
Carlos Ruiz e54bc2be38
IDEMPIERE-5728 Create UU key for RV_Unprocessed and RV_UnPosted (#1844) 2023-05-21 16:22:34 +08:00
Carlos Ruiz 2e38742ec9
IDEMPIERE-5720 Multi select product on orders is broken (#1835) 2023-05-20 22:41:20 +08:00
Carlos Ruiz e945e7e3c8
IDEMPIERE-5724 Cannot add Related Info Window to Info Product (#1838) 2023-05-20 22:11:18 +08:00
Carlos Ruiz df06938191
IDEMPIERE-5731 NPE when using Query.list() with a view (#1846) 2023-05-20 09:55:07 +08:00
Carlos Ruiz 8edf4c730f
IDEMPIERE-5667 Recent Items not Refreshing when Deleting Records in Grid View (#1847)
IDEMPIERE-5667 #resolve
2023-05-20 09:54:24 +08:00
Carlos Ruiz 531aa73ea1
IDEMPIERE-4639 Cross tenant issues with context help (#1848) 2023-05-20 09:53:49 +08:00
hengsin c05d2cefa9
IDEMPIERE-5726 2Pack: TableElementHandler should reset Table cache after commit of transaction (#1843) 2023-05-20 09:50:13 +08:00
Carlos Ruiz d2426c5ebd
IDEMPIERE-5683 ModelForeignKeyTest throwing error when parallel tests (#1836)
* IDEMPIERE-5683 ModelForeignKeyTest throwing error when parallel tests

* - Add Isolated annotation as suggested by Heng Sin
2023-05-17 08:23:09 +08:00
Carlos Ruiz d734cafd9b
IDEMPIERE-5712 Tests are leaving records in the database (#1827)
* IDEMPIERE-5712 Tests are leaving records in the database

* - add transaction

* - add cleanup for records committed out of transaction
2023-05-16 16:32:15 +08:00
Carlos Ruiz 089f491363
IDEMPIERE-5491 Info Window - implement Select/DeSelect All buttons (FHCA-4016) - Fix NPE (#1834) 2023-05-16 16:29:28 +08:00
Carlos Ruiz 5d367cbc29
Revert "IDEMPIERE-5714 - Archive Viewer - Created By field shows cross tenant data (#1829)" (#1833)
This reverts commit 2c4e66f8e2.
2023-05-11 22:59:22 +08:00
hengsin 39a5bd813d
IDEMPIERE-5719 PackInHandler.dumpUnresolvedElements include elements that doesn't have any unresolve properties (#1832) 2023-05-11 16:26:48 +02:00
hengsin cc90586aa0
IDEMPIERE-5717 MColumn.getForeignKeyConstraint doesn't always generate unique foreign key constraint name (#1830) 2023-05-11 12:43:00 +02:00
hengsin 6716cace06
IDEMPIERE-5718 PoFiller.setTableReference sometime failed to load MColumn instance (#1831) 2023-05-11 12:37:37 +02:00