Commit Graph
1065 Commits
Author SHA1 Message Date
Pierre Smits bbe64fa19e Improved: Move edit of invoice header to InvoiceSubTabBar (OFBIZ012440) (#409)
In general, a <object>TabBar menu is intended to give users access to overview related to the <object>. And a <object>SubTabBar menu is intended to give users to actions to be performed on the <object>, like status changes, adding new records, etc.
The menu-item for editing the invoice header (aptly translated as 'Header') is currently located in the InvoiceTabBar menu in AccountingMenus.xml.
Given that this menu-item is intended for users with UPDATE permissions and to give those users access to a screen to edit the data, this menu-item must move to the InvoiceSubTabBar menu

Modified: AccountingMenus.xml
- moved 'edit' menu-item for invoice from InvoiceTabBar menu to InvoiceSubTabBar menu. adjusted label.
2022-01-10 10:23:50 +01:00
Pierre Smits dcef04cfe2 Improved: VIEW permissions FinAccount mutations (OFBIZ-12451) (#410)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the Financial Account mutations screen  sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with):
https://demo-trunk.ofbiz.apache.org/accounting/control/EditFinAccount?finAccountId=ABN_CHECKING
https://demo-trunk.ofbiz.apache.org/accounting/control/FindPaymentsForDepositOrWithdraw

Modified:
- FinAccountScreens.xml: work with permissions, added ref to mutations template for user with VIEW permission
Added:
- Mutations.ftl template.
2022-01-07 09:03:05 +01:00
Pierre Smits 583ccf966d Improved: VIEW permissions BillingAccount (OFBIZ-12457) (#414)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the billing account screen, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/EditBillingAccount?billingAccountId=9010

Modified:
BillingAccountScreens.xml
- screen EditBillingAccount: restructured to work with view permissions
- screen CommonBillingAccountDecorator: added label visible to all billing account screens
- additional cleanup
BillingAccountForms.xml
- added form BillingAccount for users with VIEW permission
- additional cleanup
2022-01-06 17:14:10 +01:00
Pierre Smits a22aff5659 Improved: Invoice - CommonInvoiceDecorator (OFBIZ-12458) (#415)
Modified: InvoiceScreens.xml
- moved invoice menus to pre-body decorator section
- moved label to above menus for the invoice
- additional cleanup
2022-01-06 16:58:46 +01:00
Pierre Smits 6e46892a6f Improved: Agreement - CommonAgreementDecorator (OFBIZ-12462) (#418)
title of an agreement is shown below its menu(s).

Modified: AgreementScreens.xml
moved label involving agreement title to pre-body decorator-section
2022-01-06 16:47:05 +01:00
Pierre Smits 45e89bdd1e Improved: Accounting remove create trigger for objects (OFBIZ-12447) (#404)
With the implementation of the Accounting MainActionMenu, various menu-items and/or other triggers to create an object are now obsolete

modified:
AccountingMenus.xml
- removed 'create' menu-items for invoice and payment
GlScreens.xml
- removed trigger for a new gl transaction.
2021-12-12 17:59:07 +01:00
Pierre Smits 0babdf468f Improved: List and Grid (OFBIZ-11345) (#397)
* Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
InvoiceScreens.xml: from form ref to grid ref , additional cleanup
InvoiceForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

* Improved: List and Grid (OFBIZ-11345)

Modified:
InvoiceScreens.xml: missed ref to ListInvoicePaymentInfo in InvoiceScreens.xml
2021-12-10 11:04:37 +01:00
Jacques Le Roux 2702f93806 Improved: replaces CommonNew by CommonCreate in AccountingMenus
Why Create instead of New (and surely no Create New, which is, at least in
French, a pleonasm, and we have already replaced everywhere)?

Mostly because it's an action so a verb is appropriate.
2021-12-10 09:58:24 +01:00
Pierre Smits e736a5fc70 Improved: Have a Menu in Accounting featuring actions to create the main objects (OFBIZ-11780) (#403)
Currently the create buttons for the main objects of the accounting application are located within find and profile widgets/templates of those objects.
In order to improve the usability of this application, OFBiz and thus the appeal of it for adopters and users, these create buttons/links/etc. should be in a main action menu visible at all times when a user (with the CREATE permission) is working within the application of the component.

Modified:
- AccountingMenus.xml: added MainActionMenu for users with CREATE permission
- AgreementScreens.xml: added ref to MainActionMenu in CommonAgreementDecorator
- BillingAccountScreens.xml: added ref to MainActionMenu in CommonBillingAccountDecorator
- BudgetScreens.xml: added ref to MainActionMenu in various appropriate screens
- CommonScreens.xml: added ref to MainActionMenu in various appropriate screens
- FinAccountScreens.xml: added ref to MainActionMenu in CommonFinAccountDecorator
- FixedAssetScreens.xml: added ref to MainActionMenu in various appropriate screens
- InvoiceScreens.xml: added ref to MainActionMenu in CommonInvoiceDecorator
- PaymentGatewayConfigScreens.xml: added ref to MainActionMenu in GenericPaymentGatewayConfigDecorator
- PaymentGroupScreens.xml: added ref to MainActionMenu in FindPaymentGroup
- PaymentScreens.xml: added ref to MainActionMenu in CommonPaymentDecorator
- TaxAuthorityScreens.xml: added ref to MainActionMenu in CommonTaxAuthorityDecorator
- TransactionScreens.xml: added ref to MainActionMenu in GenericTransactionDecorator
2021-12-10 09:49:36 +01:00
Pierre Smits d538b84164 Improved: VIEW permissions Payment Attributes (OFBIZ-12439) (#396)
Though there is an entity PaymentAttribute this cannot be accessed by user with VIEW permissions when accessing a Payment.
See:
for entity data: https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/PaymentAttribute
test payment: https://demo-trunk.ofbiz.apache.org/accounting/control/paymentOverview?paymentId=8003

Modified:
AccountingMenus.xml
added menu-item for payment attributes to InvoiceTabBar menu
controller.xml
added request-map and view-map for request paymentAttributes
PaymentScreens.xml
added screen for payment attributes
PaymentForms.xml
added grid to display payment attributes
AccountingUiLabels.xml - added label PageTitlePaymentAttributes, used in screen PaymentAttributes
2021-12-09 10:28:18 +01:00
Pierre Smits 25dc02412d Fixed: Weird behaviour with currency symbols (OFBIZ-12443) (#400)
* Fixed: Weird behaviour with currency symbols (OFBIZ-12443)

In some screens the $ currency symbol is not showing well.

Modified:
FinAccountTrans.ftl - fixed a typo
FinAccountForms.xml: ensured that for the monetary amount fields (actualBalance and availableBalance) the correct currencyUomId value is taken
2021-12-09 07:05:05 +01:00
Pierre Smits c9c494982c Improved: VIEW permissions FinAccount transactions (OFBIZ-12438) (#395)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the Financial Account transactions screen  sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with):
https://demo-trunk.ofbiz.apache.org/accounting/control/EditFinAccount?finAccountId=ABN_CHECKING
https://demo-trunk.ofbiz.apache.org/accounting/control/FindFinAccountTrans

Modified:
FinAccountScreens.xml: restructured screen FindFinAccountTrans
FinAccountForms.xml: improved form FindFinAccountTrans

Added:
FinAccountTrans.ftl, for users with VIEW permissions, additional cleanup
FinAccountTransTotals.ftl, improve legibility of code of FinAccountTrans.ftl
2021-12-08 11:21:16 +01:00
Pierre Smits 583c75d6f2 Improved: VIEW permissions and Payment Applications (OFBIZ-12427) (#388)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the Payment Applications screen on a payment, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
This can be observed/tested via:
https://demo-trunk.ofbiz.apache.org/accounting/control/editPaymentApplications?paymentId=8004
https://demo-trunk.ofbiz.apache.org/accounting/control/editPaymentApplications?paymentId=8003
etc.

modified: PaymentScreens.xml
restructured screen EditPaymentApplications in order to work for users with VIEW and/or CREATE/UPDATE
permissions, additional cleanup
2021-12-08 09:15:30 +01:00
Pierre Smits 3aaa1f81e0 Improved: VIEW permissions FinAccount roles (OFBIZ-12435) (#393)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the Financial Account Roles screen  sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.

See (test with): [https://demo-trunk.ofbiz.apache.org/accounting/control/EditFinAccount?finAccountId=ABN_CHECKING]

Modified:
FinAccountScreens.xml - restructured EditFinAccount
FinAccountForms.xml - added FinAccountRoles form, restructured ListFinAccountRoles
2021-12-07 17:29:36 +01:00
Pierre Smits 8182ef0c4f Improved: VIEW permissions - Financial Account Overview (OFBIZ-12434) (#390)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the Financial Account overview screen, sees editable fields and/or triggers (to requests) reserved for users with 'CREATE' or 'UPDATE' permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/EditFinAccount?finAccountId=ABN_CHECKING

Modified:
FinAccountScreens.xml - reworked EditFinAccount screen to work with permissions, additional clean up.
FinAccountForms.xml - added form to be used for VIEW permission users
2021-12-07 10:31:19 +01:00
Pierre Smits 878495aa2f Improved: User with only 'VIEW' permissions and invoice payments (OFBIZ-12384) (#386)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the payments screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.
To see (test): https://demo-trunk.ofbiz.apache.org/accounting/control/editInvoiceApplications?invoiceId=demo10001

Modifiied: InvoiceScreens.xml
restructured EditInvoiceApplications screen to work with user's permissions, additional clean-up
2021-12-06 16:34:34 +01:00
Pierre Smits 033ab16de7 Improved: VIEW permissions Commission Run (OFBIZ-12433) (#384)
* Improved: VIEW permissions Commission Run (OFBIZ-12433)

Currently, when using a userId with only VIEW permission, the Commission Run trigger (menuItem) presents a screen to search and find invoices applicable for the underlying service of creating commission invoices.
On the result shown, the user has access to triggers (functionalities) reserved for users with CREATE/UPDATE permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/CommissionRun and from date= 12/1/1999 12:00:00 AM

Modified:
InvoiceScreens.xml (in AP) - screen CommissionRun
- restructured the screen to show result based on permissions
- added reference to template for users with VIEW permissions

Added:
CommissionRunSearchResult.ftl template for users with VIEW permissions

* Improved: VIEW permissions Commission Run (OFBIZ-12433)

Currently, when using a userId with only VIEW permission, the Commission Run trigger (menuItem) presents a screen to search and find invoices applicable for the underlying service of creating commission invoices.
On the result shown, the user has access to triggers (functionalities) reserved for users with CREATE/UPDATE permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/CommissionRun and from date= 12/1/1999 12:00:00 AM

Modified:
InvoiceScreens.xml (in AP) - screen CommissionRun
- restructured the screen to show result based on permissions
- added reference to template for users with VIEW permissions

Added:
CommissionRunSearchResult.ftl template for users with VIEW permissions
2021-12-06 12:35:17 +01:00
Pierre Smits 73cca10f39 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
2021-12-04 11:11:25 +01:00
Pierre Smits 32c4b6b883 Improved: VIEW permissions - invoice notes (OFBIZ-1243 1) (#383)
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.
2021-12-04 09:07:33 +01:00
Pierre Smits 1f87fa9281 Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428) (#378)
* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)

Though there is an entity InvoiceContactMech, 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/InvoiceContactMech
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001

Modified:
AccountingMenus.xml
- added menu-item for contact mechs to InvoiceTabBar menu
controller.xml
- added request-map and view-map for request invoiceContactMech
InvoiceScreens.xml
- added screen for invoice contact mech(s)
InvoiceForms.xml
- added grid to display contact mech details

* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)

Though there is an entity InvoiceContactMech, this cannot be accessed by user with VIEW permissions when accessing an invoice.

modified:
AccountingUiLabels.xml - added label PageTitleInvoiceContactMech, used in screen InvoiceContactMech
2021-12-03 14:25:04 +01:00
Pierre Smits b2623276ef Fixed: Payment Applications shows wrong label translation (OFBIZ-12425) (#376)
See: https://demo-trunk.ofbiz.apache.org/accounting/control/editPaymentApplications?paymentId=8004 compared to https://demo-stable.ofbiz.apache.org/accounting/control/editPaymentApplications?paymentId=8004
With changes committed under  https://github.com/apache/ofbiz-framework/commit/4aa2d714328447787455abcd5887ca99bcbf1152 the label used changed, see below
-                                <container><label style="h1" text="${uiLabelMap.AccountingPayment} ${uiLabelMap.AccountingApplications}"/></container>
+                                <container><label style="h1" text="${uiLabelMap.AccountingPayment} ${uiLabelMap.AccountingPaymentsApplications}"/></container>

giving the resulting change from 'Payment Applications' for the section/screenlet (as inline with the menu-item with translation 'Applications') to 'Payment Payments'

modified: EditPaymentsApplications screen in PaymentScreens.xml
changed label combination for a more suitable label.
2021-12-02 13:40:52 +01:00
Pierre Smits 10288beed3 Improved: VIEW permissions and invoice content (OFBIZ-12418) (#365)
Though there is an entity InvoiceContent, this cannot be accessed by user with VIEW permissions when accessing an invoice.

Modified:
- AccountingUiLabels.xml - added page title translation for

Modified:
InvoiceScreens.xml
- added screen InvoiceContent to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceContent to be used by screen InvoiceContent
AccountingMenus.xml
- added menu-item invoiceContent to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceContent
AccountingUiLabels.xml
- added label definition for PageTitleInvoiceContent
2021-12-02 07:34:12 +01:00
Pierre Smits b5a83af913 Improved: List and Grid (OFBIZ-11345) (#364) (#375)
Fixes a bug: in screen EditPaymentApplications, reference to form ListPaymentsNotApplied, while the form was adjusted into a grid.
2021-12-01 20:54:23 +01:00
Jacques Le Roux 1d476cc139 Improved: List and Grid (OFBIZ-11345) (#364)
Fixes a bug: Attribute 'type' is not allowed to appear in element 'grid'.
2021-12-01 08:44:38 +01:00
Pierre Smits 4517846748 Improved: List and Grid (OFBIZ-11345) (#371)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.

Modified:
ReportFinancialSummaryScreens.xml: from form ref to grid ref , additional cleanup
ReportFinancialSummaryForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-30 17:49:49 +01:00
Jacques Le Roux 4aa2d71432 Improved: Rename invoiceApplications menu-item label to Payments (OFBIZ-12405)
Application(s) is generic (also used within contexts elsewhere) in OFBiz.
Users have a better perception of context when looking at a menu-item Payments
in the screen of an invoice, than seeing Applications.
The additional benefit for developers is that with the implemented change the
tech come closer to the language of the user

jleroux: after a discussion with Pierre in the Jira, being more in favour of
using "Payments applications" (for instance the related screen is named
EditPaymentApplications), I had a look at
https://www.linguee.fr/francais-anglais/search?query=%22Payments%20applications%22
which was not much conclusive.

In a 1st attempt, using Google translate, I tried to translate few languages
based on a French translation:
        <value xml:lang="ar">طلبات المدفوعات </value>
        <value xml:lang="de">Zahlungsaufzeichnungen</value>
        <value xml:lang="en">Payments application</value>
        <value xml:lang="es">Registros de pago</value>
        <value xml:lang="fr">Enregistrement des paiements</value>
        <value xml:lang="hi-IN">अनुप्रयोग</value>
        <value xml:lang="it">Registri di pagamento</value>

I finally think that Pierre's is right and we could simply use Payments there
rather than Applications and even "Payments applications" (could be debated...)

So I just changed the French and English labels and the labels names of
AccountingApplicationSuccess to AccountingPaymentApplicationSuccess
and AccountingApplications to AccountingPaymentsApplications

I let the users of other languages to decide what to put there or discuss if
they see an interest.

Thanks: Pierre for report and suggestion
2021-11-30 12:16:23 +01:00
Pierre Smits c1603b2c73 Improved: List and Grid (OFBIZ-11345) (#368)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified:
GlobalGlAccountsScreens.xml: from form ref to grid ref , additional cleanup
GlobalGlAccountsForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-29 18:44:19 +01:00
Pierre Smits 3854cc72a3 Improved: List and Grid (OFBIZ-11345) (#366) (#367)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified:
FixedAssetScreens.xml: from form ref to grid ref , additional cleanup
FixedAssetForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-29 17:03:28 +01:00
Pierre Smits 9a5c957285 Improved: List and Grid (OFBIZ-11345) (#366)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

modified:
GlScreens.xml: from form ref to grid ref , additional cleanup
GlForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-29 09:00:54 +01:00
Pierre Smits efcf07c79e Improved: List and Grid (OFBIZ-11345) (#364)
According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Associating lists in screens with grids in forms.
modified:
ApScreens.xml: from form ref to grid ref
ArScreens.xml: from form ref to grid ref
PaymentScreens.xml: from form ref to grid ref
PaymentForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-28 17:58:21 +01:00
Pierre Smits e529f2c328 Improved: VIEW permissions and invoice attributes (OFBIZ-12417) (#363)
* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)

Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.

Modified:
InvoiceScreens.xml
- added screen InvoiceAttributes to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceAttributes to be used by screen InvoiceAttributes
AccountingMenus.xml
- added menu-item invoiceAttributes to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceAttributes

* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)

Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.

I forgot to add the translation for the page title

modified: AccountingUiLabels.xml
added label definition for PageTitleInvoiceAttributes
2021-11-28 17:57:09 +01:00
Pierre Smits 28899b4c32 Improved: User with only 'VIEW' permissions - Accounting Payments (OFBIZ-12397) (#353)
* Improved:  'VIEW' permissions - Accounting Payments (OFBIZ-12397)

modified:
PaymentTabBar - removed editPayment menu-item
PaymentSubTabBar
- added CREATE/UPDATE permission condition to menu-item createNew
- added editPayment menu-item
- added CREATE/UPDATE permission condition to menu-item statusToSend
- added CREATE/UPDATE permission condition to menu-item setPaymentStatus
- added CREATE/UPDATE permission condition to menu-item statusToCancelled
- added CREATE/UPDATE permission condition to menu-item statusToConfirmed
- added CREATE/UPDATE permission condition to menu-item printAsCheck
- added CREATE/UPDATE permission condition to menu-item statusToVoid

* Improved: 'VIEW' permissions - Accounting Payments (OFBIZ-12397)

Modified: CommonPaymentDecorator
added PaymentSubTabBar

* Improved: 'VIEW' permissions - Accounting Payments (OFBIZ-12397)

modified: PaymentScreens.xml
screen CommonPaymentDecorator
- removed permission (handled at lower level)
- moved PaymentSubTabBar to pre-body section
screen FindPayment
- removed decorator-section menu-bar (handled by menu PaymentSubTabBar in CommonPaymentDecorator)
Screen NewPayment
- changed decorator section from main-decorator to CommonPaymentDecorator

* Improved: 'VIEW' permissions - Accounting Payments (OFBIZ-12397)

Modified: PaymentScreens.xml
removed triggers from screen PaymentOverview, handled by menu-items in PaymentSubTabBar.
2021-11-28 14:23:00 +01:00
Pierre Smits 7b88918c3e Improved: 'VIEW' permissions and invoice time-entries (OFBIZ-12416) (#362)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the items screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.

modified: InvoiceScreens.xml
restructured screen EditInvoiceTimeEntries, to show appropriate content based on the permissions of the user
2021-11-28 14:19:14 +01:00
Pierre Smits ead726c0ab Improved: lists and grids (OFBIZ-11345) (#350)
Associating lists in screens with grids in forms.
modified:
TaxAuthorityScreens.xml.xml: from form ref to grid ref , additional cleanup
TaxAuthorityForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up
2021-11-28 14:13:46 +01:00
Pierre Smits d3f659bf4c Improved: User with only 'VIEW' permissions and invoice items (OFBIZ-12415) (#361)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the items screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.
See https://demo-trunk.ofbiz.apache.org/accounting/control/listInvoiceItems?invoiceId=demo10001

modified: InvoiceScreens.xml
restructured screen EditInvoiceItems, to show appropriate content based on the permissions of the user
2021-11-28 12:14:46 +01:00
Pierre Smits 0ed94eb7a8 Improved: User with only 'VIEW' permissions and invoice terms ( OFBIZ-12414) (#360)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the terms screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.

Modified: InvoiceForms.xml
added grid 'InvoiceTerms' for displaying records of the list invoiceTerms for users with 'VIEW" missions

Modified: InvoiceScreens.xml
restructured screen InvoiceTerms, to show appropriate content based on the permissions of the user
2021-11-27 20:10:50 +01:00
Pierre Smits 2d49b0cf63 Improved: 'VIEW' permissions - Accounting InvoiceRoles (OFBIZ-12413) (#359)
Modified: InvoiceScreens.xml
Introduced
restructured screen InvoiceRoles, to show appropriate content based on the permissions of the user
2021-11-27 13:14:53 +01:00
Pierre Smits 252e2750eb Improved: removal triggers from screen present as menu-items (OFBIZ-12406) (#358)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the InvoiceOverviews screen sees triggers (intended for users with 'CREATE' or 'UPDATE' permissions).
Such triggers are already available via menu-items associated the screen.

modified: InvoiceOverview screen in InvoiceScreens.xml
2021-11-27 11:27:20 +01:00
Pierre Smits a58dd360a6 Improved: redundancy removal (OFBIZ-12404) (#356)
modified: InvoiceScreens.xml
removed redundant property-maps for Party and Product labels
2021-11-26 09:01:36 +01:00
Pierre Smits edd4162995 Improved: list and grids (OFBIZ-11345) (#349)
* Improved: Lists and grids (OFBIZ-11345)

changed:
BudgetForms.xml: changed forms with list attributed to grids, additional cleanup
BudgetScreens.xml: changed form reference for lists to grid reference

* Improved: Lists and grids (OFBIZ-11345) (#348)

changed: FinAccountForms.xml: changed forms with list attributed to grids, additional cleanup
FinAccountScreens.xml: changed form reference for lists to grid reference
2021-11-18 15:35:05 +01:00
Pierre Smits 5e2c889a3d Improved: Lists and grids (OFBIZ-11345) (#348)
changed:
BudgetForms.xml: changed forms with list attributed to grids, additional cleanup
BudgetScreens.xml: changed form reference for lists to grid reference
2021-11-18 13:19:20 +01:00
Pierre Smits aa86b0ebc4 Improved: menu-items InvoiceSubTabBar (OFBIZ-12382) (#342)
A user with only 'VIEW' permissions should not see menu-items intended for users with 'CREATE' or 'UPDATE' permissions

Modified:
AccountingMenus.xml: conditions of several menu-items under menu 'InvoiceSubTabBar'
2021-11-15 16:49:48 +01:00
Pierre Smits 0a64e7b688 Improved: location of 'sendPerEmail' menu-item (OFBIZ-12381) (#341)
modified:
AccountingMenus.xml: moved menu item from InvoiceTabBar to InvoiceSubTabBar
2021-11-15 09:07:39 +01:00
Pierre Smits 8cdfc8e095 Improved: view permission vis a vis editinvoice (OFBIZ-12380) (#340)
added:
- AccountingMenus.xml: added permission conditions to 'editInvoice' menu-item
- InvoiceScreens.xml: added permission conditions to EditInvoice scrreen, reworked fail-widget
2021-11-14 17:19:13 +01:00
holivier 874e2dd03c Fixed: online help links don't get where they should (OFBIZ-12328)
Correction for content and accounting AR & AP
2021-09-28 20:54:13 +02:00
Priya Sharma 91694d8a1b [Fixed] Possibly currency display bug in 'Find Invoices' (OFBIZ-12177) (#302)
- Since the method InvoiceWorker.getInvoiceTotal takes care of the conversion, it is redundant to convert it again on the screen, which results in mismatch of the currency and the amount.

Thanks: Suraj, Jacques, Rajadurai for the review and Andrei Stan for reporting.
2021-05-31 18:24:37 +05:30
Aditya Sharma e97f45c381 Fixed: removed unused asmselect files and unused variable asm_asmListItemPercentOfForm (OFBIZ-10113)
asm select library is already replaced with select2 library, but the library files still exist in code base unused.
asm_asmListItemPercentOfForm varaible was used to set the width of the selected items which were displaced distictly from select fields. With select2, the selected items display inside the input field so it is no more needed

Thanks Jacques Le Roux for reporting it
2021-05-12 11:57:54 +05:30
Jacques Le Roux 79c991e7f8 Fixed: Invalid Currency symbol in income statement csv export (OFBIZ-12108)
1. Navigate to URL: accounting/control/IncomeStatement?organizationPartyId=Company
2. In income statement section click on export as csv button.
3. The exported csv has correct balance but with invalid currency symbol.
4. On screen USD $ symbol is shown and in csv some other currency symbol is shown.

Thanks: Lalit Dashora for report, Praveen Sharma for the fix
2021-03-28 13:29:29 +02:00
Jacques Le Roux 3ba8531595 Fixed: createGlReconciliation throws an error (OFBIZ-10675)
https://demo-trunk.ofbiz.apache.org/accounting/control/createGlReconciliation
When entering an amount and submitting the data an error is thrown.

jleroux:
EditFinAccountReconciliation form extends EditGlReconciliation. There
glReconciliationId and reconciledBalance fields are already present.
So adding them in EditFinAccountReconciliation  is wrong. On the other hand the
display of reconciledBalance is better in EditFinAccountReconciliation.
So I moved it there.

Thanks: Pierre Smits for report and Mohammed Rehan Khan for initial patch
2021-03-18 10:25:47 +01:00
Jacques Le Roux 738e5bdbfc Fixed: createGlReconciliation throws an error (OFBIZ-10675)
See accounting/control/EditFinAccountReconciliations?finAccountId=ABN_CHECKING

Removes the unwanted condition to include duplicate reconciledBalance filed
which was the cause of the issue.

Thanks: Pierre Smits for report, Mohammed Rehan Khan for the fix
2021-03-18 10:25:47 +01:00