[ofbiz-framework] branch trunk updated: Reverted: Error in deleting Financial Account (OFBIZ-12153)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Reverted: Error in deleting Financial Account (OFBIZ-12153)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux 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 2ff0aec  Reverted: Error in deleting Financial Account (OFBIZ-12153)
2ff0aec is described below

commit 2ff0aec54e741aaf64c53738a622e4c0f47dc425
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Mar 2 16:53:45 2021 +0100

    Reverted: Error in deleting Financial Account (OFBIZ-12153)
   
    Reverts commit 91275afaa2582581a4d50c6bcd33fdc761c62eb8
---
 applications/accounting/servicedef/services_finaccount.xml | 3 +--
 applications/accounting/widget/FinAccountForms.xml         | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/applications/accounting/servicedef/services_finaccount.xml b/applications/accounting/servicedef/services_finaccount.xml
index ddc207f..8c600ab 100644
--- a/applications/accounting/servicedef/services_finaccount.xml
+++ b/applications/accounting/servicedef/services_finaccount.xml
@@ -48,10 +48,9 @@ under the License.
         <attribute name="replenishPaymentId" type="String" mode="OUT" optional="true"/>
         <attribute name="replenishLevel" type="BigDecimal" mode="OUT" optional="true"/>
     </service>
-    <service name="deleteFinAccount" default-entity-name="FinAccount" engine="entity-auto" invoke="update">
+    <service name="deleteFinAccount" default-entity-name="FinAccount" engine="entity-auto" invoke="delete">
         <description>Delete a Financial Account</description>
         <auto-attributes mode="IN" optional="false" include="pk"/>
-        <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="updateFinAccountBalancesFromTrans" engine="simple"
         location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="updateFinAccountBalancesFromTrans">
diff --git a/applications/accounting/widget/FinAccountForms.xml b/applications/accounting/widget/FinAccountForms.xml
index 8b4dcf3..f2e2922 100644
--- a/applications/accounting/widget/FinAccountForms.xml
+++ b/applications/accounting/widget/FinAccountForms.xml
@@ -76,7 +76,6 @@ under the License.
         <field name="deleteLink" title=" " widget-style="buttontext">
             <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteFinAccount" also-hidden="false">
                 <parameter param-name="finAccountId"/>
-                <parameter param-name="thruDate" value="${nowTimestamp}"/>
             </hyperlink>
         </field>
     </form>