Commit Graph
370 Commits
Author SHA1 Message Date
Nicolas Malin 0d334c4cea Set viewIndex and viewSize as optionnal and if they aren't present resolve viewSize from widgets.properties and set viewIndex to one. related issue OFBIZ-6523, this allow to remove hard-code on link that call findOrder service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686691 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 08:20:11 +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
Nicolas Malin 371d19a06c Add orderRoleInfo screen to display on vieworder all role associate to this order. Came from issue OFBIZ-6044, thanks to Pierre Smiths for this suggestion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686671 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:06:33 +00:00
Christian Carlow 1dd09ed536 Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
https://issues.apache.org/jira/browse/OFBIZ-6463

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Christian Carlow 1393413594 Fixing consolidated partyId field of r1683879 so that <display-entity> also-hidden="true", otherwise updateCustRequestParty throws error related to primary key
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683949 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:15:50 +00:00
Christian Carlow c943d1526b Replaced submit button uiLabelMap.CommonSubmit text with CommonCreate at order/widget/ordermgr/CustRequestForms.xml#EditRequestRole to improve user understanding that the form only allows creations
https://issues.apache.org/jira/browse/OFBIZ-6465

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683880 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:50:32 +00:00
Christian Carlow 0b92520145 Consolidated name and partyId fields of order/widget/ordermgr/CustRequestForms.xml#ListRequestRoles by removing name and turning partyId into <display-entity> and converting name <hyperlink> as its <sub-hyperlink>
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683879 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:41:07 +00:00
Christian Carlow 738a14f53f Added custRequestDate to ordermgr/control/FindRequest ListRequestList because it appears as a find field in FindRequests form.
https://issues.apache.org/jira/browse/OFBIZ-6447

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683637 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:43:48 +00:00
Christian Carlow 2b72533640 ordermgr/control/FindRequest ListRequestList productStoreId rendered as <display-entity> with storeName as the description and <sub-hyperlink> with link text as [${productStoreId}]
https://issues.apache.org/jira/browse/OFBIZ-6446 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683619 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 19:57:58 +00:00
Christian Carlow 4089f658f4 Removing unnecessary <display-entity> key-field-name and description attributes added in r1683580 suggested by Nicolas Malin on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 16:57:55 +00:00
Christian Carlow ee65d52710 Added ListRequestList <display-entity> for custRequestTypeId so the description would be displayed instead of the id value to match the find field.
https://issues.apache.org/jira/browse/OFBIZ-6445

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683580 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:54:47 +00:00
Christian Carlow 6c18f2a28a All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value searches
https://issues.apache.org/jira/browse/OFBIZ-6315



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683578 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:37:34 +00:00
Jacques Le Roux 8901e90da5 A patch from Pierre Smits "Replacing bsh code with groovy Code in ORDER screens, forms and menus" https://issues.apache.org/jira/browse/OFBIZ-6340
jleroux: The quote part has been already handled at OFBIZ-6351



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679697 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 08:00:32 +00:00
Deepak Dixit c5685bd1d3 Applied patch from jira issue OFBIZ-6351 -
ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

Also fixed similar bsh issue for ListQuoteAdjustments form as well.

Thanks Christian Carlow for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679689 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 06:11:13 +00:00
Jacques Le Roux fb3a2adcc5 Fixes a bug, and get rid of some more bsh scriptlets
2015-01-23 18:19:10,216 |http-bio-8443-exec-6 |FlexibleStringExpander        |W| Error evaluating scriptlet [${bsh:isPromo!=null&&isPromo.equals("Y")}]; error was: java.lang.IllegalArgumentException: Error ru
nning bsh script [isPromo!=null&&isPromo.equals("Y")]: javax.script.ScriptException: Sourced file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : Attempt to resolve method: equals() on undefi
ned variable or class name: isPromo : at Line: 1 : in file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : isPromo .equals ( "Y" )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654273 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 17:23:12 +00:00
Ashish Vijaywargiya 44ce4114b6 Applied patch from jira issue - OFBIZ-4668 - CommunicationEventAndRole entity: Field with name custRequestDate not found.
==============================================================================
when displaying this portal page:
https://localhost:8443/myportal/control/main?portalPageId=MYPORTAL_EMPLOYEE0&parentPortalPageId=MYPORTAL_EMPLOYEE

this message is thrown to the console:
Message: Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the CommunicationEventAndRole entity: Field with name custRequestDate not found in the CommunicationEventAndRole Entity
==============================================================================
Thanks Mridul for the contribution and thanks Erwan for creating the issue. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632801 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 14:38:46 +00:00
Jacques Le Roux e3fc7fd412 Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.

This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacopo Cappellato 4e25f81233 Fixed field name in edit customer request screen; thanks to james yong for the report in OFBIZ-3474
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609167 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:19:53 +00:00
Jacques Le Roux 785a767c3e Fixes https://issues.apache.org/jira/browse/OFBIZ-5633 "Inline style being applied to Order Manager > Find Orders"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1593952 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 12:56:21 +00:00
Jacques Le Roux e6d2a2035b Fixes a bug reported by Rong "Error when search Requirements" https://issues.apache.org/jira/browse/OFBIZ-5571
jleroux: I simply replaced bsh by groovy. I also spotted a typo: facilityIdId 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 18:20:26 +00:00
Jacques Le Roux ede1994465 A patch from Leon for "NPE thrown out while rendering disabled menu item" https://issues.apache.org/jira/browse/OFBIZ-5451
The method "renderLink" of new class MacroMenuRenderer calls the WidgetWorker.determineAutoLinkType. When menuItem.getDisabled() is true, the link target will be set to null and NPE occurs.

jleroux: This was related with r1517353 and r1537833. The Leon's patch fixes r1517353 and this commits also reverts r1537833


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553887 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 18:55:53 +00:00
Jacques Le Roux 69d654c4ff I was quite confused when at r1522664 I reverted those changes in ReportSreens
Slightly improves labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538081 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:11:47 +00:00
Jacques Le Roux 9f59f8f0cc A temporary workaround which removes "disabled-style="disabled" in the createOrder menu item condition (in ViewQuote)
The only effect is to remove the disabled item

This is due to r1517353 which introduced a NPE in MacroMenuRenderer.java



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537833 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 06:14:09 +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
Jacques Le Roux a2e67c7770 Following Jacopo's message on dev ML: http://markmail.org/message/yuogfjxddq2mum45
This reverts changes done for OFBIZ-5297


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522664 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:07:12 +00:00
Jacques Le Roux ba5dc0cfea For "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
The quickInitDataWarehouse BI button used these dates (set in BI main screen)

<set field="fromDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
<set field="thruDate" value="2010-01-01 00:00:00.0" type="Timestamp"/>

This generated 1000+ records. I set 10 years ahead (from sept. 2013) in a new bi.properties file used by the BI main screen. So it generates only 3000+ records (and others related in BI DB) which is still reasonable. A message, placed at the top of the Order Reports page, informs users that for 4 Birt reports s/he needs 1st to run the data warehouse init using the BI button. Also this message clarifies the range, to be certain that in 10 years people will still easily know what to change...

I have also replaced a lot of labels and added English and French translations (by-product: some labels cleaning in CommonUiLabels.xml)

I did not do the same for the accounting paymentReport and ViewFacilityInventoryHistoryReport facility Birt reports which only need translation. 
I noticed that there are no ways to get to ViewFacilityInventoryHistoryReport from UI though!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521589 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:08:29 +00:00
Jacques Le Roux 3e7431c26f Fixes https://issues.apache.org/jira/browse/OFBIZ-5272 "Sales by Store report generates an error"
jleroux: I vaguely remember a change related to ignore-if-null and ignore-if-empty. Anyway replacing ignore-if-null by ignore-if-empty does the trick, which makes sense

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512573 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:46:55 +00:00
Jacques Le Roux c7c772f8fc A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499918 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 06:57:03 +00:00
Hans Bakker ad53a69f28 now you can also (next to the payment method type) enter the payment on the sales order using the payment method used by the related receiving accounting company
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494466 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 05:59:13 +00:00
Christian Geisert fa0080cd08 Improved/corrected German translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1468127 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 15:45:32 +00:00
Jacques Le Roux 44868190ac Fixes "XML file containg Byte order mark" reported by Youssef Khaye at https://issues.apache.org/jira/browse/OFBIZ-5099
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1421662 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 04:13:02 +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
Adam Heath 26ed25cdea DEPRECATION: applications/order: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343485 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:13:04 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 137fed08aa A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
Split Into Multiple Shipment Button is not working on quick checkout page


jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +00:00
Jacques Le Roux 5e1557183e Adrian suggested to removes all left-text-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340391 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:42:20 +00:00
Jacques Le Roux b4cc50a2ac Adrian suggested to removes all style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340389 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:39:47 +00:00
Jacques Le Roux 608b923cfd Adrian suggested to removes all default-widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340388 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:38:25 +00:00
Jacques Le Roux 3e7b774156 Adrian suggested to removes all default-tooltip-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:37:35 +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
Hans Bakker 7a1ece1c21 productsummary screen is used both in order and ecommerce. Alternative urls should only be used in the ecommerce, not in the order component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327853 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 07:49:30 +00:00
Jacques Le Roux 9a9b96356d Improves the LookupBulkAddProducts form by disabling the amount field when Product.requireAmount field is not "Y"
No needs to use return there. I also tried a simple UEL expression (ie removing groovy interpretation by removing "groovy:"), it did not work

This really shows that, at least OOTB, only one possible syntax should be used, else it's only confusing more!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 19:54:38 +00:00
Jacques Le Roux 8b373ccbe7 Improve the LookupBulkAddProducts form by disabling the amount field when Product.requireAmount field is not "Y"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1302195 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 18:33:09 +00:00
Jacopo Cappellato e5f967c4b7 OFBIZ-4710 Applied modified patch from Deepak Dixit to fix the following issues:
* if the user attempts to receive a cancelled order then receive inventory page showing a stack trace
* in the first step of the receiving screen, the autocompletor for lookup purchase order displaying duplicated order ids

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1292331 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:01:21 +00:00
Jacques Le Roux a65a3eacb1 Closes "Request Content delete operation is not working" https://issues.apache.org/jira/browse/OFBIZ-4707
There were simply no checks on thruDate in screen actions, also true for Project Manager and Scrum components.
Also where we see that we clearly miss a kind of factorization in those screen actions (same block changed 5 times), no time for that tonight...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1291472 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 21:54:30 +00:00
Erwan de Ferrieres dadcf9db22 OFBIZ-2403 - Create a Portlet that show a list of returns placed by a customer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235528 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:15:10 +00:00
Erwan de Ferrieres 6cba4e2f6d Adding new uiLabel OrderChangedByUser, and adding uilabels when missing in OrderQuantityHistory, OrderUnitPriceHistory, OrderShipmentMethodHistory and ReturnAndReceivedQuantityHistory forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188359 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 20:29:36 +00:00
Adrian Crum 98385f75d2 Replace newnote.ftl with form widget, patch provided by Anne Jessel (https://issues.apache.org/jira/browse/OFBIZ-4394).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1165206 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:35:43 +00:00
Adrian Crum 7bc8872f31 Small layout fix for rev 1160402.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160416 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 20:16:01 +00:00
Adrian Crum 3dcb375095 Added notes to quotes. Patch contributed by Anne Jessel (https://issues.apache.org/jira/browse/OFBIZ-4370) with some changes by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160402 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 19:47:58 +00:00