This is an automated email from the ASF dual-hosted git repository. pgil pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 445f4ddaa1 Fixed: Assetmain Groovy tests (OFBIZ-13003) 445f4ddaa1 is described below commit 445f4ddaa1c3dc11ff4c592bf1a5642fcea2b9c1 Author: Gil Portenseigne <gil.portensei...@nereide.fr> AuthorDate: Thu Apr 11 14:38:44 2024 +0200 Fixed: Assetmain Groovy tests (OFBIZ-13003) Fix updateFixedAssetMaint service implementation that require oldStatusId OUT parameter. --- .../org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy index 6cf9e109a6..1428b299ad 100644 --- a/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy +++ b/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy @@ -109,7 +109,7 @@ Map updateFixedAssetMaint() { EntityCondition.makeConditionDate('fromDate', 'thruDate')])) } } - return success() + return success(oldStatusId: oldStatusId) } /**