Improved: VIEW permissions - invoice notes (OFBIZ-12431)#383
Conversation
Though there is an entity InvoiceNote, this cannot be accessed by user with VIEW permissions when accessing an invoice. See: for entity data:https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceNote test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001 Modified: AccountingMenus.xml - added menu-item for invoice notes to InvoiceTabBar menu, reordered menu-items alphabetically controller.xml - added request-map and view-map for request invoiceNotes InvoiceScreens.xml - added screen for invoice notes InvoiceForms.xml - added grid to display InvoiceNote records AccountingUiLabels.xml - added label for page title invoice notes.
|
Kudos, SonarCloud Quality Gate passed!
|
|
Hi Pierre, It works but you forgot to (at least) mention the (right) changes in AccountingMenus::editInvoiceApplications and EditInvoiceTimeEntries. It's OK but please rather open specific issues for these kind of changes. It's much work for reviewers/committers to understand what is really done, TIA |
|
Good morning Jacques, Are you referring to the alphabetically reordering of certain menu-items in the InvoiceTabBar menu? If you are, I suggest you pay attention to the first 2 lines beneath 'modified in both commit and PR message. |
|
I meant the "add" of |








Though there is an entity InvoiceNote, this cannot be accessed by user with VIEW permissions when accessing an invoice.
See:
for entity data:https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceNote
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001
Modified:
AccountingMenus.xml
controller.xml
InvoiceScreens.xml
InvoiceForms.xml
AccountingUiLabels.xml