Commit Graph
69 Commits
Author SHA1 Message Date
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
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 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 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 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
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
Jacques Le Roux ec2b84341e Reverted: "Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)"
This reverts commit 17eb2e4cf7.

It does not work when using <<target="javascript:........>>
I could change those cases but it's easier and safer to simply revert back to
target-type!

Thanks: James for report
2020-12-18 11:08:32 +01:00
Jacques Le Roux 17eb2e4cf7 Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)
Same for sub-hyperlink
2020-12-11 16:52:04 +01:00
Akash Jain 3f07bb8103 Improved: Improvements in Find Invoice screen (OFBIZ-9643)
Thanks, Renuka Srishti for reporting the issue.
2020-08-03 15:57:49 +05:30
Pawan Verma 3b7e63744c Improved: Expansion of form widget field disabled atrribute with xsd improvement (#141)
(OFBIZ-10432)

1. Added disabled attribute support in ModelFormField with xs:boolean type
2. Removed specific field level disabled attribute support for CheckField and TextField
3. Modified existing usage of disabled attribute as per new implementation.

Thanks: Rishi for the report and Taher, Gil and Jacques for the feedback
2020-05-19 17:37:24 +05:30
Pawan Verma adb60c2a9e Improved: Purchase Invoice creation should be limited for parties with roleTypeId = SUPPLIER
(OFBIZ-11024)

Added new LookupSupplier and used it.

Thanks: Pierre, Rohit, Jacques, Nicolas for your contribution.
2020-05-05 13:48:54 +05:30
Suraj Khurana cb4ca226f0 Improved: Converted all TimeEntry related CRUD services from simple to entity-auto (#99)
(OFBIZ-11624)
Also, removed unused services named unlinkInvoiceFromTimeEntry, whcih simply clears TimeEntry field, so used updateTimeEntry instead.
2020-05-04 10:42:26 +05:30
Suraj Khurana 0269e7b05f Improved: Sales Invoice creation should be limited for customer parties only.
(OFBIZ-11023)
Thanks Pierre Smits for reporting and Rohit Hukkeri for the patch
2020-04-29 17:05:04 +05:30
Michael Brohl db92854bce Improved: Translate invoice type dropdown
(OFBIZ-10191)

Thanks Ingo Wolfmayr for reporting and providing the patch.
2020-02-01 19:07:58 +01:00
Jacques Le Roux 148be77060 Improved: Have the ability to edit/remove terms of an invoice
(OFBIZ-9290)

Currently the user has the ability to add terms to an invoice, 
but doesn't have the functions to edit or remove existing terms.

jleroux: Based on Akshay Modak's patch, which was, mmm..., imperfect

Thanks: Pierre Smits for report, Akshay Modak for initial patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857076 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 10:29:10 +00:00
Suraj Khurana c907c0d1f0 Fixed:Invoice date is not displayed on findInvoice screen.
(OFBIZ-10620)
When an invoice is created, current date is set as invoice date which can be viewed on FindInvoice screen, it was not rendering due to incorrect xml tag used.
Thanks Arpit Mor for reporting and Deepak Nigam for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851130 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 05:25:41 +00:00
Nicolas Malin a1b7e5a23d Improved: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
With service rate minilang conversion to groovy, I renamed deleteRateAmount and deletePartyRate to expireRateAmount and expirePartyRate for more coherence between the service process and the name. The previous service naming have been kept to set them as deprecated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799252 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 18:27:14 +00:00
Wei Zhang b2669b6c84 Fixed: reversed key and description of Taxable Flag drop-down on Add a new invoice Item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768811 13f79535-47bb-0310-9956-ffa450edef68
2016-11-09 02:02:03 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Pranay Pandey 0d7bf0d87b Improved: Accounting-AR List form column alignment.
(OFBIZ-8449)

Thanks: Aditi Patidar for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765029 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 09:34:48 +00:00
Divesh Dutta 38c5ba5993 Improved: Convert search criteria on status into multi select pattern for Accounting Component
(OFBIZ-7546)

Added Check box for status fields on Find Invoice, Find Payments and Find Purchase Invoices forms.

Thanks: Mohammad Kathawala for the patch and Swapnil Shah for reporting the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761134 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:58:41 +00:00
Michael Brohl 923b980f29 Improved: Accounting: Consistent form name.
(OFBIZ-8045)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761077 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:27:26 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Nicolas Malin 98187c33e6 Track userLogin on invoice status change, use EntityStatus concept related to issue OFBIZ-7611. Improvement follow by issue OFBIZ-7617. Thanks Nameet Jain for this proposal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751543 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 19:32:05 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Arun Patidar d3ede84d95 Applying patch from jira ticket OFBIZ-7201.
===============================================================================
Fixed different forms, screens and services affected due to removal of parentTypeId from 'PURCHASE_INVOICE' and 'SALES_INVOICE' InvoiceType data.
==============================================================================
Thanks Anurag Chandak for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747223 13f79535-47bb-0310-9956-ffa450edef68
2016-06-07 13:18:40 +00:00
Jacques Le Roux b92b1c0f69 A patch from Pierre Smits for "Adding Uom descriptor for selection and display in invoice forms" https://issues.apache.org/jira/browse/OFBIZ-7032
Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742103 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 11:38:42 +00:00
Jacques Le Roux e012e37b59 A patch from Pierre Smits for "Have the ability to add terms to invoices" https://issues.apache.org/jira/browse/OFBIZ-6865
Currently in UI there is no way that terms can be added to an invoice.

jleroux: Works well, links to edit/delete a Term, for instance from the list at "createInvoiceTerm" request would be welcome...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727894 13f79535-47bb-0310-9956-ffa450edef68
2016-02-01 07:18:35 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Adrian Crum d5d4b3bbec Fixed a bug in the Find Invoice screen where the invoice currency was being ignored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629426 13f79535-47bb-0310-9956-ffa450edef68
2014-10-04 17:25:27 +00:00
Ashish Vijaywargiya f4fc6c4962 Applied bug fix from jira issue - OFBIZ-3537 - Not all sales invoice item types are showing in listInvoiceItems screen.
Thanks Arun Patidar for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626409 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:08:51 +00:00
Jacopo Cappellato ecfc14a6bc ${bsh: to ${groovy: scriptlet conversions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613432 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:28:20 +00:00
Jacques Le Roux 90204837e7 Better to reuse what I introduced in r1547719, did not read my comment enough, amount can be null...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 21:03:21 +00:00
Jacques Le Roux 1de1e504c0 Fixes a bug I introduced with r1547719, simplifies another case
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606225 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 20:59:48 +00:00
Jacques Le Roux eba5ff475c Fixes an issue when no amount have been specified while creating an invoice item
Better groovy scriplets (elvis operator)
I believe using BigDecimal for both fields quantity and total can't hurt
Increases size of both fields quantity and total 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547719 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 07:24:26 +00:00
Jacques Le Roux 83c6338646 Fixes an issue reported by Christian Carlow at "Invoice Item type drop down empty when creating new invoice item" https://issues.apache.org/jira/browse/OFBIZ-5415
jleroux: Rather than what proposed Christian I used the same best practice than in r1527171

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547717 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 06:55:59 +00:00
Jacques Le Roux 26285fdb52 Fixes an issue with InvoiceItemTypes reported by Christian on dev ML following proposed Nicolas's solution.
I did not get further enough to add missing labels, like InvoiceItemType.description.SINVOICE_HEAD_ADJ, etc.
So when missing the default English description set in data seed is used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1527171 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 09:24:33 +00:00
Hans Bakker ff9107cb25 replace groovy file with new view and add orderitemSeqId to invoiceitemlist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 03:08:25 +00:00
Hans Bakker 518757a033 enforce encoding on text input fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502088 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 02:44:45 +00:00
Hans Bakker 0e01510dc0 another bsh scriplet causing a logerror, change to groovy solved it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495277 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 03:19:32 +00:00
Hans Bakker e8a588f95e total gave error in log when quantity was blank and 0 still gave the total of quantity 1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 01:41:06 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Christian Geisert dcb74a8441 show localized description in invoice item type drop-down
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338699 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:30:52 +00:00
Hans Bakker 4501f0984a pagenr and size not remembered after deletion of an item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153359 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 06:39:49 +00:00
Hans Bakker 8742d6a206 reverted a unwanted partly commit in r1153352
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153356 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 06:16:45 +00:00
Hans Bakker 8bdf6bade1 Because these back-end applications do not have a website and probably never will remove the website records and definitions in web.xml as an experiment for the accounting, order, product and party component. if there are no problems others will follow....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153352 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:51:54 +00:00