Commit Graph
49 Commits
Author SHA1 Message Date
Nicolas Malin 7165768251 Implemented: Add a framework method to get main webapp menu with the webapp name
(OFBIZ-10601)

To improve theme management and provide better tools for new themes, we implement a method to obtain the main menu of a webapp.
Instead of just managing a menu, we extend the functionality by offering a method to expose a summary of the webapp, to simplify the navigation.

For this we add a new attribute on webapp definition app-shortcut-screen :

    <webapp name="mywebapp"
            ...
            app-shortcut-screen="component://mycomponent/widget/CommonScreens.xml#ShortcutApp"
            ...
    />

The idea is to define a new purpose screen *Shortcut* that contains what defines a webapp when an action or navigation has been requested. With this screen you can load a menu, a search, a complex description and use all screen powerfulness to resolve what displaying and support by theming

    <screen name="ShortcutApp">
        <section>
            <actions>
                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
            </actions>
            <widgets>
                <decorator-screen name="ShortcutDecorator" location="component://common/widget/CommonScreens.xml">
                    <decorator-section name="body">
                        <include-menu name="MyShortcutAppBar" location="component://mycomponent/widget/CommonMenus.xml"/>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

Each component are self-sufficient to define what shortcuts to display without framework change or knowledge about other component.
Each theme can implement and customize the display rendering at will.

To illustrate an example of implementation we set sub menu for each webapp defined on applications and exploit it on bluelight theme.

Thanks for Dennis Balkir, Jacques Leroux, Leila Mekika and Julien Nicolas for their involvement
2021-01-15 08:56:23 +01:00
Jacques Le Roux 4d646ce052 Improved: Use "Create" instead of "Create New" on the various screens of all
components
(OFBIZ-9905)

As the title says + removes now useless labels

Thanks: Aayush Jain for report, Sourabh Jain for the fix, Pierre Smits and 
Rishi Solanki for comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858291 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 17:56:44 +00:00
Akash Jain f0dc1e14b7 Improved: Invoice in status approved - cancel, applied patch from jira issue with minor changes (OFBIZ-10189)
Thanks, Ingo Wolfmayr for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830449 13f79535-47bb-0310-9956-ffa450edef68
2018-04-28 12:33:44 +00:00
Nicolas Malin 8aa723a98a Implemented: Add PartyPrefDocTypeTpl entity to link official template document to organisational party (OFBIZ-10186)
With this entity we can link a customScreen with an organisational party for a document type like salesinvoice, product quote and so on.
I added screen, form and menu to manage them on the organisation party configuration page accounting/control/ListCompanies
Currently this isn't useful alone but needed for issues OFBIZ-10215, OFBIZ-10216, OFBIZ-10217 that will be completed soon

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1824436 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 09:04:06 +00:00
Michael Brohl 37d3c8bb32 Improved: Consistent menu names
(OFBIZ-8118)(OFBIZ-8122)(OFBIZ-8123)(OFBIZ-8124)(OFBIZ-8125)(OFBIZ-8126)(OFBIZ-8127)(OFBIZ-8128)(OFBIZ-8129)

Menu names should be in camel case to maintain consistency. I've slightly modified the provided patch to eliminate names with "-" or all lower case also.

Thanks: Tanmay Muley for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760059 13f79535-47bb-0310-9956-ffa450edef68
2016-09-09 16:11:55 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +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
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
Pranay Pandey 75635e8421 [OFBIZ-7100] Applied patch from the ticket to fix not working 'Acctg Trans Entries PDF' on payment details screen.
The issue was due to the missing 'util' package and introduced while conversion of Javolution collections (FastMap, FastList) into Java collections.

Thanks Swapnil M Mane for reporting the issue and providing the patch, thanks Deepak Dixit for reviewing the issue and providing comment to avoid any duplicate effort.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745577 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 08:46:00 +00:00
Jacques Le Roux ea10b89ab9 A better fix, thanks to Deepak. I just used "null" instead of "void" which was weird to me (maybe a legacy from BSh)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742097 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 11:29:03 +00:00
Jacques Le Roux 44e7df3d7a Fixes an issue found by chance. This was changed from bsh to groovy by r1613432 but does not work. I tried many variants but none works, all return
groovy.lang.MissingPropertyException: No such property: payment for class: script....
So back to origin :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742018 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 18:12:08 +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
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
Hans Bakker f19c64ed29 adding budget services, screens and forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 06:32:14 +00:00
Hans Bakker 19ff1cb393 missng security check for add accounting company
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494491 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 08:06:52 +00:00
Hans Bakker cecc38b6b6 fixed problem of not able to add accounting company, caused by r1494034 and reported by Pierre at https://issues.apache.org/jira/browse/OFBIZ-5229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494435 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 03:59:17 +00:00
Adam Heath 12934702ec Add AgreementFacilityAppl entity and screens. There is no code that
deals with the data yet, however.  This is modeled after
AgreementProductAppl minus the price.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413810 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:09:17 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Hans Bakker ff9542a4eb update revision 1352768 to use CREATE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:07:58 +00:00
Hans Bakker c512dddd02 allow ACCOUNTING_ADMIN also to do PAYPROC_ADMIN
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352769 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:12:11 +00:00
Hans Bakker f3582a54e4 allow ACCOUNTING_ADMIN also to do MANUAL_PAYMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352768 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:04:50 +00:00
Marco Risaliti 5a2e780587 accounting has dependency on projectmgr (OFBIZ-3564)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128623 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 12:24:25 +00:00
Erwan de Ferrieres e9985a39e3 Adding missing uilabels in menu AccountingAddTax / AccountingConfirmationCancelOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088506 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:43:32 +00:00
Jacques Le Roux 2858c8e36f A patch from Pierre Smits "Accounting: PDF rendering in same browser window as of OFBiz in stead of new windows" (https://issues.apache.org/jira/browse/OFBIZ-4138) - OFBIZ-4138
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063686 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 11:56:46 +00:00
Bruno Busco 0de8449a37 - Replaced FacilityGroupTabBar.ftl with a TabBar menu widget.
- Added proper class style to several menu items.
- Fixed a wrong headerItem setting in ShipmentGatewayConfigScreens.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1026901 13f79535-47bb-0310-9956-ffa450edef68
2010-10-24 21:43:50 +00:00
Hans Bakker 6a35c9bb4d 1. add “Acctg Trans Entries PDF” menu item to “InvoiceSubTabBar”
2. add “Export with Invoice and Payment as PDF” into “FindAcctgTransEntries” screen
3. add these properties to AccountingUiLabels.xml
   - AccountingCostOfGoodsSold = Cost Of Good Sold
   - AccountingGrossMargin = Gross Margin
   - AccountingOperatingExpenses = Operating Expenses
   - AccountingDepreciation = Depreciation
   - AccountingIncomeFromOperations = Income From Operations
   - AccountingCurrentAssets = Current Assets
   - AccountingLongTermAssets = Long Term Assets
   - AccountingTotalAccumulatedDepreciation = Total Accumulated Depreciation
   - AccountingTotalAssets = Total Assets
   - AccountingCurrentLiabilities = Current Liabilities
   - AccountingTotalLiabilitiesAndEquities = Total Liabilities and Equities
   - AccountingExportWithInvoiceAndPaymentAsPdf = Export with Invoice and Payment as PDF
4. change balance sheet PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
5. change trial balance PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
6. change income statement PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
7. add new PDF report to show acctg trans entry of invoice (refer from “Acctg Trans Entries PDF” menu item)
8. add new PDF report to show acctg trans entry of payment (refer from “Acctg Trans Entries PDF” menu item)
9. add new PDF report to show search result of acctg trans entries (show only invoice ID and payment ID columns)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003469 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 10:40:38 +00:00
Scott Gray bb12340bd9 set operation was always returning null because the inline bsh wasn't returning anything
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960143 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 00:48:05 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Hans Bakker c86264ef45 combine 2 invoice menus together in one menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915647 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:06:47 +00:00
Hans Bakker 95feb7e277 slightly better solution: leave disbursement null if no payment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905966 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:01:56 +00:00
Hans Bakker c9b9835bc8 remove exception from log file when payment is not defined
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905961 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:54:44 +00:00
Bruno Busco b90e0394df Added several "button-bar" wrapping divs to have button bars rendered consistently.
Added several "create" class styles for create/new buttons.
All this will be used in a new theme me and Erik Schuessler are working on...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902175 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:00:55 +00:00
Hans Bakker 0b7e302d77 show commission run screen button from ap also in accounting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901966 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 03:17:28 +00:00
Jacopo Cappellato 81990aea5d Another step in the implementation of automatic transactions for fixed assets: implemented screen to setup global mappings for a specific asset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900792 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:31:49 +00:00
Ashish Vijaywargiya 618740ee1f Applied patch from jira issue OFBIZ-3387 - Make AR Payment Groups screens consistent to the best practice.
Thanks Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896404 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 11:37:43 +00:00
Hans Bakker 78fa025e71 extended the OLAP entities with the InventoryItemFact, added birt reports in the facility, Order, and accouning payment components. Please note that before these reports can be used the warehouse needs to be populated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890830 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:34:29 +00:00
Ashish Vijaywargiya 45f5e3d794 Applied patch from jira issue OFBIZ-3339 - Enhance Find Billing Account Screen to follow standard Find/List screen pattern.
Thanks Surya & Ratnesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890792 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:29:13 +00:00
Jacopo Cappellato e6cb4bbb14 Changed position in menu for "Cash Flow Statement" report in order to have income statement, cash flow statement and balance sheet together.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890342 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 14:27:57 +00:00
Ashish Vijaywargiya 12c66e4c2b Applied patch from jira issue OFBIZ-3332 - Implement Comparative Cash Flow Statement.
Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890272 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:02:40 +00:00
Ashish Vijaywargiya e667b5c554 Applied patch from jira issue - OFBIZ-3330 - Restrict Canceled/Frozen Financial Account operation in Financial Account tab.
*  User can not perform following operation for Cancelled or Manually Frozen FinAccount, Provide check on Ui as well as at service level .

   1. Can not assign role from screen https://localhost:8443/accounting/control/EditFinAccountRoles?finAccountId=SC_CHECKING
   2. Can not create transaction from screen https://localhost:8443/accounting/control/EditFinAccountTrans?finAccountId=SC_CHECKING
   3. "Create New Financial Account Reconciliations" button will not display on screen https://localhost:8443/accounting/control/FindFinAccountReconciliations?finAccountId=SC_CHECKING
   4. If FinAccount is frozen or canceled then do not allow user to update the financial account, first user have to change status to active then he/she can update FinAccount Record .

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889604 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 13:02:43 +00:00
Jacopo Cappellato aa321ed509 Enhanced the "Transaction Totals" financial reports with information about opening and closing balances; removed the "Monthly Trial Balance" report because the same (and improved) information is now available in the "Transaction Totals" report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888489 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:14:18 +00:00
Anil Patel 267dc82186 Updated report to show GlAccountBalances by Cost Centers. Now following pattern established by Jacopo in other financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887810 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 00:34:14 +00:00
Jacopo Cappellato 4b2e297c47 New and enhanced financial reports:
* new cash flow statement report from Sumit Pandit; this is a draft and a work in progress and it is only partially working at this stage
* reimplemented the comparative income statement
* misc enhancements to the other financial statements



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887752 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 19:45:59 +00:00
Jacopo Cappellato 8705b6d883 Removed old screen and sorted menu items for financial reports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885716 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:16:18 +00:00
Bilgin Ismet Ibryam 9190cdeb89 Renamed AgreementWorkEffortAppl entity to AgreementWorkEffortApplic in order to change relation types so that assigning WorkEfforts to Agreements is possible w/o specifying an agreementItemSeqId.
Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:17:38 +00:00
Anil Patel 606d9facb9 Adding Find Bank Reconciliations screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835287 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:53:09 +00:00
Bruno Busco 6e50ab451e Ooops a file naming error on my previous commit. Sorry.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828857 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 21:19:03 +00:00