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 73cca10 Improved: VIEW permissions - invoice overview term triggers
(OFBIZ-12429) (#382)
73cca10 is described below
commit 73cca10f39cafae7c12cd6b421e4b0b816e81dae
Author: Pierre Smits <[email protected]>
AuthorDate: Sat Dec 4 11:11:25 2021 +0100
Improved: VIEW permissions - invoice overview term triggers (OFBIZ-12429)
(#382)
Currently, when using a userId with only VIEW permission, the section terms
shows triggers to term line items in the invoice overview. This should not be,
as those triggers on the line items are reserved for users with CREATE/UPDATE
permissions.
See (test with):
https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001
Modified:
invoiceScreens.xml.xml
- adjusted form ref to grid ref for invoice term records
---
applications/accounting/widget/InvoiceScreens.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/accounting/widget/InvoiceScreens.xml
b/applications/accounting/widget/InvoiceScreens.xml
index 37701d0..c3885e7 100644
--- a/applications/accounting/widget/InvoiceScreens.xml
+++ b/applications/accounting/widget/InvoiceScreens.xml
@@ -248,7 +248,7 @@ under the License.
<include-form name="InvoiceRoles"
location="component://accounting/widget/InvoiceForms.xml"/>
</screenlet>
<screenlet
title="${uiLabelMap.PartyTerms}">
- <include-form name="ListInvoiceTerms"
location="component://accounting/widget/InvoiceForms.xml"/>
+ <include-grid name="InvoiceTerms"
location="component://accounting/widget/InvoiceForms.xml"/>
<include-form
name="ListInvoicePaymentInfo"
location="component://accounting/widget/InvoiceForms.xml"/>
</screenlet>
</container>