Commit Graph
83 Commits
Author SHA1 Message Date
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
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 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Erwan de Ferrieres 2181b0b013 Consistency with the page title for the tab menu item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 12:02:08 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Bruno Busco 9e6dd1f56c Replaced PortalPageScreen with the new include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:44:14 +00:00
Bruno Busco 6aa252df3b Added UiLabels resources loading in Porlets.
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Ashish Vijaywargiya 27e6d4fbc3 Applied patch from jira issue - OFBIZ-3872.
Error in Screen Ap -> Invoices -> Commission Run.

The following error screen appears when we click on find button with

partyId - Demo Agent (DemoCustAgent)
fromDate - (set current date)

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/ap/InvoiceScreens.xml#CommissionRun: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection (java.lang.String cannot be cast to java.util.Collection)

Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978806 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 06:13:06 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Vikas Mayur 25c3810fd8 Added payment lookup specific to Account Receivable and Account Payable application. This fix a bug with the payment types that was showing up wrong values in the lookup screen used before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950986 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 13:23:47 +00:00
Vikas Mayur 9740afd145 Added invoice lookup specific to Account Receivable and Account Payable application. This fix a bug with the status and invoice type
that was showing up wrong values in the lookup screen used before.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950936 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 10:24:02 +00:00
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Erwan de Ferrieres e9ef17a182 Correcting decorators' names, as some screens were used in AR and AP components. This is closing OFBIZ-3641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931956 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 14:29:28 +00:00
Erwan de Ferrieres 256028190e Error screen in ap -> reports - OFBIZ-3640 (https://issues.apache.org/jira/browse/OFBIZ-3640)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931045 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:08:22 +00:00
Vikas Mayur 41b9e5f0fe Replaced
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
with
<if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930247 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:36:59 +00:00
Adam Heath b90cb4df78 Fix bad screen definitions, you can't reference a
value(defaultOrganizationPartyId) before it is set.  That variable was
being set by the decorator, which hadn't yet run when the initial
actions were being run for the main screens in these webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918769 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:27:42 +00:00
Bruno Busco 41aeeb3317 Added "create" classes to pertinent buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Bruno Busco eecf528cd6 Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Ashish Vijaywargiya db98a7137d Applied patch from jira issue: OFBIZ-3291 - On PaymentGroup screens records are getting repeated and are not filtered on basis of PaymentGroupTypeId.
Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 12:05:05 +00:00
Bruno Busco 342e9cb614 Accounting application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883139 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:14:11 +00:00
Ashish Vijaywargiya 2a7ac0293a Applied patch from jira issue OFBIZ-3209 - Modify AR/AP main screen to be a portal page.
Modify AR/AP main screen to be a portal page. Show list of "Past Due Invoices" and "Invoices Due Soon" in different portlets in AR/AP.

Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880795 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:27:11 +00:00
Jacques Le Roux 39d105f92f Reverted changes 836044 following Adrian's issue report in https://issues.apache.org/jira/browse/OFBIZ-3206 "Recent Markup Changes Break Layout"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880658 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:27:36 +00:00
Jacques Le Roux 5fc931c191 A patch from Bruno Busco "A new droppingcrumbs theme" (https://issues.apache.org/jira/browse/OFBIZ-3156) - OFBIZ-3156
An updated patch to be used to show correctly the tabbars with this theme.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836044 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:47:44 +00:00
Anil Patel 7af265dd3a Screenlets for Quick view into invoices past due and invoices coming due soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835622 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 22:55:35 +00:00
Hans Bakker 96d54615ca removed default-option='contains' because now set from widget.properties which is the current default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834379 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:12:45 +00:00
Anil Patel 52e7a3ad66 Removed extra container around labels. Apply h1 (or h2, h3) style to label instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834376 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 07:38:24 +00:00
Anil Patel e69b9bc5a2 Removed duplicate definition of CommonPartyDecorator. Added partyDecoratorLocation parameter to ar/ap web.xml file so they can find CommonPartyDecorator.
This issues was discussed on list after r829392 commit in response to patch on OFBIZ-3080.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831920 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 15:32:39 +00:00
Anil Patel 6589d8a4e2 Updated Check Run process to use PaymentMethod of paying organizationParty instead of FinAccount. finAccountId is now fetched from PaymentMethod and finAccount Transaction is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831637 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 04:08:22 +00:00
Jacques Le Roux 88867f30ca A patch from Deepak Dixit "Could not find screen with name [CommonPartyDecorator]." (https://issues.apache.org/jira/browse/OFBIZ-3080) - OFBIZ-3080
Steps to generate error:
1) Go to AP/AR.
2) Select Invoice.
3) Search Invoices.
4) Select an Invoice.
5) Click on Acctg Trans Id

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829392 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 15:49:23 +00:00
Bruno Busco 4740d3a616 Part of OFBIZ-3067 - Menus and form widget files location
Accounting component
Moved forms from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828868 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 21:57:30 +00:00
Bruno Busco ca9d334eee Part of OFBIZ-3067 - Menus and form widget files location
Accounting component
Renamed accounting/widget/Menus.xml to accounting/widget/AccountingMenus.xml
Renamed accounting/widget/ap/Menus.xml to accounting/widget/ap/ApMenus.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828855 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 21:17:14 +00:00
Jacques Le Roux 7f67b52dc1 A patch from Deepak Dixit "AP Main page headings odd positioning." (https://issues.apache.org/jira/browse/OFBIZ-3032) - OFBIZ-3032
If I go to AP (/ap/control/main), the Main page is very odd looking with headings in wrong places compared to Bluelight.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825181 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:30:23 +00:00
Vikas Mayur e86b0284e6 Layout fixes to AP main screen. Applied patch from Deepak Dixit, part of OFBIZ-3035 (https://issues.apache.org/jira/browse/OFBIZ-3035)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825053 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 08:10:55 +00:00
Bruno Busco 0cc834344c Removed the word "Application" from the Application menu title (OFBIZ-3016)
At this stage I did this for the primary applications only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823833 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 09:27:30 +00:00
Ashish Vijaywargiya 50bf262a36 Applied patch from jira issue OFBIZ-2979 - there were a typo - instead of parameter. it would be parameters.
For now jira issue is very slow so I am not able to assign this issue to myself since last 2 hours.
I will close issue by tomorrow.

Thanks Brajesh for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 13:09:13 +00:00
Anil Patel 7dd00f3fb9 Added a screen in AP to find and view Payment Group of type Check Run and Batch Payment Deposits in.
Patch from OFBIZ-2896.
Thanks Ratnesh for implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812743 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:25:48 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Anil Patel 943798a9b9 Add Missing Links for Id in accounting component. Patch from OFBIZ-2826. Thanks Arpit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803543 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:49:29 +00:00
Anil Patel e3218de18f Improvements in the Invoice Generation for commission run functionality. Patch from OFBIZ-2806. Thanks Rishi and Amit for help.
Thanks Eva and Vince for requirements definition.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803508 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 13:48:26 +00:00
Anil Patel 24a0ba1761 Removing redundant entries for location of main decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803134 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:11:53 +00:00
Anil Patel 79a0acba3e Reorganized AR screens. Thanks Surya, Sumit for working on it. Patch from OFBIZ-2803.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802334 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 10:21:28 +00:00
Anil Patel d2bc900cae Streamline behavior of screens in AP. Thanks Surya and Sumit for working on it. Patch from OFBIZ-2803.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802012 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:00:00 +00:00
Anil Patel 8bc1a6ed0e Simple UI enhancements to commissionrun process screens. Thanks Rishi, Arpit for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801893 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 06:39:35 +00:00
Anil Patel 801faba0fc Add dropdown for list of invoice type that have root as PURCHASE_INVOICE. Patch from OFBIZ-2801. Thanks Sumit and Surya.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801562 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 09:27:40 +00:00
Anil Patel 0a2d41a6bc Fix multi select option in form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 06:50:27 +00:00
Anil Patel 0f1f62b2f0 Adding more localization of screen labels. Thanks Arpit, Rishi and Hans for quick reminder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800414 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 15:09:23 +00:00
Anil Patel dac348b258 Adding ability to create Commission invoice from sales invoices. Patch from OFBIZ-2713. Thanks Rishi, Sumit, Awdesh, Amit for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:54:02 +00:00
Anil Patel cd79e41818 Cleaned up create commission invoice process. Added new search parameters to search process.
Thanks Sumit, Rishi, Amit and Awdesh.
Patch from OFBIZ-2713


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796289 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 13:22:26 +00:00