Commit Graph

15211 Commits

Author SHA1 Message Date
Peter Takács d42aec9b39
IDEMPIERE-5738 - Info Window ID columns are sorted by ID instead of display value (#1863)
* IDEMPIERE-5738 - Info Window ID columns are sorted by ID instead of display value

* IDEMPIERE-5738 - improved parsing logic

- improved parsing logic for parsing display column aliases
- added getByKeyColumns method to MTable

* IDEMPIERE-5738 - requested changes

- replace JOIN with LEFT JOIN
- add AD_Reference_Value_ID to ColumnInfo.java
- check AD_Reference_ID and AD_Reference_Value_ID
- improve parsing

* IDEMPIERE-5738 - simplify 'getTable' logic

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - updating MTable from master

* IDEMPIERE-5738 - bug fix in getTable

* IDEMPIERE-5738 - fix bug if where clause is defined

* IDEMPIERE-5738 - small fixes

- change reference check from idID to isLookup
- fix wron tab spacing of getSQLJoin() method

* IDEMPIERE-5738 - fix unnecessary joins

* IDEMPIERE-5738 - small fixes

- rename joinTable to joinTableForUserOrder
- clear joinTableForUserOrder value in getUserOrderClause method

* IDEMPIERE-5738 - fix error with query criteria

* IDEMPIERE-5738 - fix trl tables, select distinct

- fix problem with translation tables
- fix problem with distinct info windows (error: for SELECT DISTINCT, ORDER BY expressions must appear in select list)

* IDEMPIERE-5738 - change approach from LEFT JOIN to subquery

- approach suggested by Heng Sin

* IDEMPIERE-5738 - support UUID key and composite key tables

* IDEMPIERE-5738 - fix WHERE clause in ORDER BY subquery

- improved ColumnInfo.java by selectClause
- in ORDER BY we need to use InfoColumn.SelectClause

* IDEMPIERE-5738 - small fixes

Requested changes by Heng Sin
2023-06-29 15:11:45 +08:00
Carlos Ruiz 7bf225683c
IDEMPIERE-5781 Any user can destroy a configured SQL Query (#1913)
* IDEMPIERE-5781 Any user can destroy a configured SQL Query

* - fix problem not showing the advanced toolbar back

* - implement suggestion from Heng Sin
2023-06-29 10:58:55 +08:00
Peter Takács 7b42d4acb8
IDEMPIERE-5778 - Focus is not set to Process Modal Dialog in Info Windows (#1916) 2023-06-29 10:56:43 +08:00
Carlos Ruiz a0f1793719
IDEMPIERE-5787 Print Dunning Letters doesn't work with multi-language (#1918) 2023-06-28 23:30:37 +08:00
Carlos Ruiz 2db4184a5d
IDEMPIERE-5780 NPE on StatusBarPanel (#1912) 2023-06-28 10:28:21 +08:00
Carlos Ruiz 509e900a0a
IDEMPIERE-5782 Generated Shipments/MR and Invoices with Invalid Sales Rep (#1914) 2023-06-28 10:21:18 +08:00
Carlos Ruiz 2dbdeb6f77
IDEMPIERE-5783 Support date and number in jasper column lookup (#1915) 2023-06-28 10:20:06 +08:00
Peter Takács b4dcfa11d9
IDEMPIERE-5770 - Sql clauses are not applied on Related Info Window (#1897)
* IDEMPIERE-5770 - Sql clauses are not applied on Related Info Window

* IDEMPIERE-5770 - surround where clause with parenthesis
2023-06-26 22:06:27 +08:00
hengsin 31b2907b0a
IDEMPIERE-5448 2023 June Platform Update (#1911)
* IDEMPIERE-5448 2023 June Platform Update

- update to final tycho 3.0.5 release.

* IDEMPIERE-5448 2023 June Platform Update

- remove obsolete junit dependency and test code.
2023-06-26 10:59:28 +02:00
Carlos Ruiz 83c98b9679
IDEMPIERE-5448 2023 June Platform Update (#1909) 2023-06-24 22:25:33 +08:00
hengsin 206c8eaaf6
IDEMPIERE-5364 Event name is truncated at bottom (#1905) 2023-06-23 12:21:04 +02:00
hengsin 112eadc8fc
IDEMPIERE-5764 [ZOOM] - Window configured in reference does not work (#1906) 2023-06-23 12:20:25 +02:00
Carlos Ruiz 7adbc91505
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive (#1895)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive

* - Support for master/detail reports on UUID based tables

* - Archive button

* - Add test print format for UU Based Table

* - backward compatibility on MArchive.getReportAndDocumentCountByRecordId

* - Backward compatibility with filesystem storage

* - Improve naming of temporary folder for 2Pack

* - Improve query to use correctly the index

* - Improve method to use ID when no UUID

* - Ensure the Record_UU is filled even when called from foreign sources

* - Implement the same provision for exceptional cases on MAttachment, MChat, MLabelAssignment, MPostIt to fill the UUID when not passed (f.e. when created by a plugin)
2023-06-23 11:17:51 +08:00
Carlos Ruiz 7e225c4c8c
IDEMPIERE-5056 Order and Invoice: Tax lookup interface (#1907)
- make the DeliveryViaRule field visible for all orders
2023-06-23 09:52:25 +08:00
Carlos Ruiz 0e2967ea81
IDEMPIERE-5747 When using Generate PO from SO - cannot delete the generated PO, neither the SO lines (#1902) 2023-06-22 14:59:27 +08:00
Carlos Ruiz 827a0ba659
IDEMPIERE-5777 Improve extensibility of WPaySelect (#1903) 2023-06-22 14:58:18 +08:00
Carlos Ruiz 3641e398ca
IDEMPIERE-5776 Cannot generate shipment for an order with multiple lines for same product and Complete Order delivery rule (#1900) 2023-06-22 14:00:27 +08:00
Carlos Ruiz 86207d12ab
IDEMPIERE-5448 2023 June Platform Update (#1901) 2023-06-21 20:53:48 +08:00
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02:00
Carlos Ruiz 4f6b718ab1
IDEMPIERE-5560 Cannot save Material Receipt after filling Order if the User1_ID field is not displayed (#1896) 2023-06-14 16:30:49 +08:00
Nicolas Micoud e89db4b287
IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public (#1894)
* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public

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

* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public

change serialVersionUID
2023-06-14 11:05:25 +08:00
Carlos Ruiz 903e3859b2
IDEMPIERE-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete (#1882)
* IDEMPIERE-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete

* - Backward compatibility - assign mandatory default doc type
2023-06-09 14:04:45 +02:00
Peter Takács f0c87202b4
IDEMPIERE-5407 - Fix Wrong getIdColumnName Validation (#1893)
* IDEMPIERE-5407 - Fix Wrong getIdColumnName Validation

* IDEMPIERE-5407 - patch by Carlos
2023-06-09 10:36:18 +02:00
Carlos Ruiz 632352c1cb
IDEMPIERE-5765 Shipment generated service lines cannot be directly edited because the Locator is empty (#1891) 2023-06-08 11:38:11 +08:00
Carlos Ruiz b0dcdb85d7
IDEMPIERE-5567 - fix stack overflow logging changelog (#1888) 2023-06-08 11:36:12 +08:00
Carlos Ruiz 066cd52b8e
IDEMPIERE-5567 - refactor of some array related methods (#1889) 2023-06-08 11:35:27 +08:00
Carlos Ruiz 7e1bfa1334
IDEMPIERE-5766 Recreate Storage Reservation is creating records for non-stocked products (#1892) 2023-06-08 11:33:02 +08:00
Nicolas Micoud c9ccea5533
IDEMPIERE-5721: Fill AD_ZoomCondition.SeqNo (#1841) 2023-06-07 22:09:27 +02:00
Nicolas Micoud 0cd091a91b
IDEMPIERE-5507: Sync Print format items with Report view columns fix (#1851)
* IDEMPIERE-5507: Sync Print format items with Report view columns fix

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

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Filter print formats based on selected Report View

* IDEMPIERE-5507: Sync Print format items with Report view columns fix

Change the name of the process to a more accurate one
2023-06-07 22:03:31 +02:00
Nicolas Micoud d5d7aa45a2
IDEMPIERE-5749: CreatedBy fields should not be forced to be Search if used from processes/info windows (#1870)
https://idempiere.atlassian.net/browse/IDEMPIERE-5749
2023-06-07 21:59:11 +02:00
Marcos Gabriel de Oliveira Favaretto 43800e2540
IDEMPIERE-5643 - Error during document's workflows are not displayed on Workflow Activities form. (#1756)
* IDEMPIERE-5643 - Allows Workflow Activities form to throw Exceptions if an error occurs after user's approval

* IDEMPIERE-5643 - show message in wf activity

---------

Co-authored-by: matheus.marcelino <matheus.marcelino@devcoffee.com.br>
2023-06-07 21:48:59 +02:00
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