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 4ad9397b9b Improved: In main accounting page, replace invoice type by 
description (OFBIZ-13084)
4ad9397b9b is described below

commit 4ad9397b9b7f6bc1b817f604485c97d25fa04e6b
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu May 9 19:13:34 2024 +0200

    Improved: In main accounting page, replace invoice type by description 
(OFBIZ-13084)
    
    The invoice type is hardcoded in the 4 related screens in 
InvoiceScreens.xml by
    invoiceTypeId. This replaces that by the description in InvoiceForms.xml
---
 applications/accounting/widget/InvoiceForms.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/accounting/widget/InvoiceForms.xml 
b/applications/accounting/widget/InvoiceForms.xml
index 1a36da00c8..85a8d3b368 100644
--- a/applications/accounting/widget/InvoiceForms.xml
+++ b/applications/accounting/widget/InvoiceForms.xml
@@ -767,7 +767,7 @@ under the License.
                 <parameter param-name="partyId"/>
             </hyperlink>
         </field>
-        <field name="invoiceTypeId" 
title="${uiLabelMap.CommonType}"><display-entity 
entity-name="InvoiceType"/></field>
+        <field name="description" sort-field="true"><display 
size="100"/></field>
         <field name="statusId" 
title="${uiLabelMap.CommonStatus}"><display-entity 
entity-name="StatusItem"/></field>
         <field name="invoiceDate"><display type="date"/></field>
         <field name="dueDate"><display type="date"/></field>
@@ -800,7 +800,7 @@ under the License.
                 <parameter param-name="partyIdFrom"/>
             </hyperlink>
         </field>
-        <field name="invoiceTypeId" 
title="${uiLabelMap.CommonType}"><display-entity 
entity-name="InvoiceType"/></field>
+        <field name="description" sort-field="true"><display 
size="100"/></field>
         <field name="statusId" 
title="${uiLabelMap.CommonStatus}"><display-entity 
entity-name="StatusItem"/></field>
         <field name="invoiceDate"><display type="date"/></field>
         <field name="dueDate"><display type="date"/></field>

Reply via email to