From d9ab3dc402d7b3f43d8229184e62493a015cf046 Mon Sep 17 00:00:00 2001 From: Pierre Smits Date: Tue, 16 Nov 2021 14:15:01 +0100 Subject: [PATCH] Improved: Invoice Payments for user with 'VIEW' permission (OFBIZ-12384) renamed CreateApplicationList.groovy to InvoicePayments.groovy adjusted reference in acc-invoices.adoc regarding invoice payments renamed HELP_editInvoiceApplications.adoc to HELP_invoicePayments.adoc AccountingMenus.xml: - changed menu-item for invoice payments (name and label and link for better perception alignment) InvoiceScreens.xml: re screen InvoiceOverview - removed redundant property-map references - adjusted groovy script reference to new file name. - removed link definitions in screenlets (duplicate of menu-items related to the invoice) - adjusted references to invoice payment definitions in InvoiceForms.xml for better perception alignment re screen for invoice payment - renamed screen from 'InvoiceApplication' to 'InvoicePayments' - adjusted references to titleProperty, tabButtonItem and helpAnchor for better perception alignment - adjusted groovy script reference to new file name. - added conditions for CREATE and UPDATE permission to the start section - adjusted reference to the form (grid) to update existing invoice payments (for users with CREATE or UPDATE Permissions) - adjusted reference to the form (grid) for invoice payments (for users with CREATE or UPDATE Permissions) InvoiceForms.xml - renamed 'ListInvoiceApplications' to 'InvoiceOverviewApplications. Changed from form definition to grid definition, adjusted field order. - renamed 'EditInvoiceApplications' to 'InvoicePayments' for user with VIEW permission. Changed from form definition to grid definition. adjusted field order. - added 'UpdateInvoicePayments for user with 'CREATE' or 'UPDATE' permissions. controller.xml - adjusted requests related to invoice payments for better perception alignment - renamed view-map related to invoice payments for better perception alignment. --- .../accounting/config/AccountingUiLabels.xml | 6 +- ...tionList.groovy => InvoicePayments.groovy} | 0 ...cations.adoc => HELP_invoicePayments.adoc} | 0 .../docs/asciidoc/_include/acc-invoices.adoc | 2 +- .../webapp/accounting/WEB-INF/controller.xml | 18 +++--- .../accounting/widget/AccountingMenus.xml | 4 +- .../accounting/widget/InvoiceForms.xml | 42 +++++++++----- .../accounting/widget/InvoiceScreens.xml | 57 +++++++------------ 8 files changed, 61 insertions(+), 68 deletions(-) rename applications/accounting/groovyScripts/invoice/{CreateApplicationList.groovy => InvoicePayments.groovy} (100%) rename applications/accounting/src/docs/asciidoc/_include/{HELP_editInvoiceApplications.adoc => HELP_invoicePayments.adoc} (100%) diff --git a/applications/accounting/config/AccountingUiLabels.xml b/applications/accounting/config/AccountingUiLabels.xml index 7514b78e949..a4eb1482ddd 100644 --- a/applications/accounting/config/AccountingUiLabels.xml +++ b/applications/accounting/config/AccountingUiLabels.xml @@ -24357,16 +24357,16 @@ Listas de Roles de Presupuesto 预算角色列表 - + قائمة تطبيقات تعديل الفاتورة Rechnungszuordnungen auflisten - List Edit Invoice Applications + Invoice Payments Lista Editar Aplicaciones de Factura Liste des assignations à la facture संपादित चालान अनुप्रयोग की सूची Aggiorna Applicazioni Fattura 請求編集申請一覧 - Toon edit factuurtoewijzingen + Factuurbetalingen Listar Edições das Apliicações de Fatura Actualizeaza Aplicatii Factura Список ред. приложений накл. diff --git a/applications/accounting/groovyScripts/invoice/CreateApplicationList.groovy b/applications/accounting/groovyScripts/invoice/InvoicePayments.groovy similarity index 100% rename from applications/accounting/groovyScripts/invoice/CreateApplicationList.groovy rename to applications/accounting/groovyScripts/invoice/InvoicePayments.groovy diff --git a/applications/accounting/src/docs/asciidoc/_include/HELP_editInvoiceApplications.adoc b/applications/accounting/src/docs/asciidoc/_include/HELP_invoicePayments.adoc similarity index 100% rename from applications/accounting/src/docs/asciidoc/_include/HELP_editInvoiceApplications.adoc rename to applications/accounting/src/docs/asciidoc/_include/HELP_invoicePayments.adoc diff --git a/applications/accounting/src/docs/asciidoc/_include/acc-invoices.adoc b/applications/accounting/src/docs/asciidoc/_include/acc-invoices.adoc index 8a2c0bc9c7c..01230652a0c 100644 --- a/applications/accounting/src/docs/asciidoc/_include/acc-invoices.adoc +++ b/applications/accounting/src/docs/asciidoc/_include/acc-invoices.adoc @@ -56,7 +56,7 @@ include::HELP_editInvoice.adoc[leveloffset=+2] include::HELP_newInvoice.adoc[leveloffset=+2] -include::HELP_editInvoiceApplications.adoc[leveloffset=+2] +include::HELP_invoicePayments.adoc[leveloffset=+2] include::HELP_listInvoiceItems.adoc[leveloffset=+2] diff --git a/applications/accounting/webapp/accounting/WEB-INF/controller.xml b/applications/accounting/webapp/accounting/WEB-INF/controller.xml index 9e56720ddaa..9d01385b5c3 100644 --- a/applications/accounting/webapp/accounting/WEB-INF/controller.xml +++ b/applications/accounting/webapp/accounting/WEB-INF/controller.xml @@ -213,21 +213,21 @@ under the License. - + - + - + - - + + - + - - + + @@ -2627,7 +2627,7 @@ under the License. - + diff --git a/applications/accounting/widget/AccountingMenus.xml b/applications/accounting/widget/AccountingMenus.xml index 4f2f8a1510a..50503afc918 100644 --- a/applications/accounting/widget/AccountingMenus.xml +++ b/applications/accounting/widget/AccountingMenus.xml @@ -171,7 +171,7 @@ under the License. - + @@ -183,7 +183,7 @@ under the License. - + diff --git a/applications/accounting/widget/InvoiceForms.xml b/applications/accounting/widget/InvoiceForms.xml index 48b81c9a545..c6fabb223cf 100644 --- a/applications/accounting/widget/InvoiceForms.xml +++ b/applications/accounting/widget/InvoiceForms.xml @@ -188,23 +188,22 @@ under the License. -
- - - - + + - - + + + -
+
@@ -501,30 +500,43 @@ under the License. -
+ + + + - + + + - + + + + + + + - + - +
-
@@ -535,7 +547,7 @@ under the License.
-
diff --git a/applications/accounting/widget/InvoiceScreens.xml b/applications/accounting/widget/InvoiceScreens.xml index 312fc311c31..86e329f8b23 100644 --- a/applications/accounting/widget/InvoiceScreens.xml +++ b/applications/accounting/widget/InvoiceScreens.xml @@ -182,8 +182,6 @@ under the License.
- - @@ -205,7 +203,7 @@ under the License. -