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 be7231e2d5 Fixed: Wrong partyId Accounts Payable (OFBIZ-13063)
be7231e2d5 is described below
commit be7231e2d5a78b1294b56c6603d7744a2eb494a9
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Apr 23 10:37:00 2024 +0200
Fixed: Wrong partyId Accounts Payable (OFBIZ-13063)
Fixes partyId to partyIdFrom for the link to the creditor profile in
ListApReport form
Also uses FormFieldTitle_amountToApply that have foreign translations while
removing AccountingOutstanding added by Pierre (just en and nl
translations)
then used anywhere
---
applications/accounting/config/AccountingUiLabels.xml | 4 ----
applications/accounting/widget/InvoiceForms.xml | 6 +++---
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/applications/accounting/config/AccountingUiLabels.xml
b/applications/accounting/config/AccountingUiLabels.xml
index cb75ffe402..3a514223e8 100644
--- a/applications/accounting/config/AccountingUiLabels.xml
+++ b/applications/accounting/config/AccountingUiLabels.xml
@@ -10436,10 +10436,6 @@
<value xml:lang="zh">经营性现金</value>
<value xml:lang="zh-TW">經營性現金</value>
</property>
- <property key="AccountingOutstanding">
- <value xml:lang="en">Outstanding</value>
- <value xml:lang="nl">Openstaand</value>
- </property>
<property key="AccountingOrderItemWithIdNotFound">
<value xml:lang="ar">لم يتم العثور على بند أمر البيع/الشراء ذو الدليل
${orderItemSeqId}</value>
<value xml:lang="de">Auftragsposition mit Nummer ${orderItemSeqId}
nicht gefunden.</value>
diff --git a/applications/accounting/widget/InvoiceForms.xml
b/applications/accounting/widget/InvoiceForms.xml
index ac857cdc7c..4d20a213ba 100644
--- a/applications/accounting/widget/InvoiceForms.xml
+++ b/applications/accounting/widget/InvoiceForms.xml
@@ -772,7 +772,7 @@ under the License.
<field name="invoiceDate"><display type="date"/></field>
<field name="dueDate"><display type="date"/></field>
<field name="total" widget-area-style="align-text"><display
type="currency" currency="${currencyUomId}"/></field>
- <field name="outstanding" title="${uiLabelMap.AccountingOutstanding}"
widget-area-style="align-text"><display type="currency"
currency="${currencyUomId}"/></field>
+ <field name="outstanding"
title="${uiLabelMap.FormFieldTitle_amountToApply}"
widget-area-style="align-text"><display type="currency"
currency="${currencyUomId}"/></field>
</grid>
<grid name="ListApReport" separate-columns="true" title="Invoice List"
list-name="invoices" target=""
odd-row-style="alternate-row" default-table-style="basic-table
hover-bar" paginate="true" paginate-target="main">
@@ -797,7 +797,7 @@ under the License.
</field>
<field name="partyIdFrom" title="${uiLabelMap.PartySupplier}">
<hyperlink description="${partyNameResultFrom.fullName}
[${partyIdFrom}]" target="/partymgr/control/PartyFinancialHistory"
target-type="inter-app" target-window="_BLANK">
- <parameter param-name="partyId"/>
+ <parameter param-name="partyIdFrom"/>
</hyperlink>
</field>
<field name="invoiceTypeId"
title="${uiLabelMap.CommonType}"><display-entity
entity-name="InvoiceType"/></field>
@@ -805,6 +805,6 @@ under the License.
<field name="invoiceDate"><display type="date"/></field>
<field name="dueDate"><display type="date"/></field>
<field name="total" widget-area-style="align-text"><display
type="currency" currency="${currencyUomId}"/></field>
- <field name="outstanding" title="${uiLabelMap.AccountingOutstanding}"
widget-area-style="align-text"><display type="currency"
currency="${currencyUomId}"/></field>
+ <field name="outstanding"
title="${uiLabelMap.FormFieldTitle_amountToApply}"
widget-area-style="align-text"><display type="currency"
currency="${currencyUomId}"/></field>
</grid>
</forms>