Commit Graph
27737 Commits
Author SHA1 Message Date
Deepak Dixit fcbf5ce772 Moved parentCustRequestId relationship for CustRequest entity from order/entitymodel.xml to scrum/entitymodel.xml, as parentCustRequestId defined in scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 10:33:39 +00:00
Jacopo Cappellato b387dcb2b4 Upgraded Tomcat from 7.0.57 to the latest bug fix release 7.0.59.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667253 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 10:52:34 +00:00
Jacopo Cappellato 38017100b3 Upgraded the following commons jars:
- codec from 1.6 to 1.10
- validator from 1.4.0 to 1.4.1
- logging from 1.1.2 to 1.2
- net from 3.1 to 3.3
- csv from 1.0 to 1.1
Resolves OFBIZ-6157, OFBIZ-6158, OFBIZ-6159, OFBIZ-6160, OFBIZ-6161



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667055 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 16:17:49 +00:00
Jacopo Cappellato 0db5888047 OFBIZ-6156: Upgraded commons-pool2 from 2.2 to.2.3 and commons-dbcp2 from 2.0.1 to 2.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666958 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:58:26 +00:00
Jacopo Cappellato f69e599355 Upgrade to latest bug fix release of Freemarker: 2.3.22
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666949 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:31:13 +00:00
Jacopo Cappellato 68723a2130 Upgrade to latest release of Log4j
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666939 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 09:20:14 +00:00
Jacques Le Roux 0da6d57555 A patch from Christian Carlow for "returnItems.ftl freemarker null error when returnPrice or returnQuantity is null" https://issues.apache.org/jira/browse/OFBIZ-6142
Error:
FreeMarker template error: The following has evaluated to null or missing: ==> null [in template "component://order/webapp/ordermgr/return/returnItems.ftl" at line 155, column 48]
To reproduce just update the quantity or price of a return item to blank.

Fix:
Prevents Freemarker errors from appearing in the quantity and price input fields when they are set to blank. Perhaps logic should be implemented to prevent the fields from being updated to blank but as of right now its allowed which cause the errors to appear which make the screen look very messy. This patch basically cleans up the screen if either of those scenarios occur.
Prevents OrderView.groovy getReturnableItems error which prevents page from displaying when returnQuantity gets set to blank due to getReturnableQuantity in OrderReturnServices.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666836 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:09:23 +00:00
Jacques Le Roux a7e97a9abd Patches from Taher Alkhateeb for "party id cannot be specified through GUI while creating a Party (Person or Party Group)" https://issues.apache.org/jira/browse/OFBIZ-3480 reported by Babu Sreekanth
1. While creating an organization, it is possible to specify a meaningful party id through ofbiz setup.
2. But, it is NOT possible to specify the party id through GUI while creating a Party (Person or Party Group). this means, all the parties created get a sequence id for party id.


If the user inputs a party ID to any of the party creation screens (person, party group, customer, employee or prospect) then that ID will be used, otherwise it will pull a party ID from the sequence bank






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666794 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 12:02:41 +00:00
Deepak Dixit a24071b382 Fixed incorrect tempTemplateContext assignment for renderContentAsText method, as UtilMisc.<String,Object>toMap method creating tempTemplateContext via call by reference mechanism, hence all the request parameters copy to original templateContext. In this case UtilMisc.toMap calling the UtilGenerics.checkMap().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666633 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 06:51:17 +00:00
Adrian Crum c30924d47f Removed unnecessary screenlet widget from the Find Geos screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666511 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 16:48:36 +00:00
Jacques Le Roux ba76279eee Removes comment
<<passing the id in the other field does not work yet with autocompletion, WIP...>>
This works now, just tested on trunk demo


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666474 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 15:12:09 +00:00
Jacques Le Roux d3fa48514e This was missed when example/ext were moved to specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666404 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 11:27:31 +00:00
Jacques Le Roux 2e4cfd552f Fixes <<"Lookup fields break when used with a form having skip-start="true">> https://issues.apache.org/jira/browse/OFBIZ-6139
We neglected this aspect so far, adding a "form-name" attribute to the lookup element fixes it. You then need also to set the correct id-name value on field element.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665535 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 13:29:40 +00:00
Scott Gray a6407914dc Corrected eclipse .classpath file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665312 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 17:34:42 +00:00
Scott Gray 270542d98a Fix bug in EntityQuery where performing queryFirst() while using cache and filtering by date would return invalid results due to the database result being prematurely limited by setMaxRows(1). The full result is needed before we can properly perform in memory date filtering. Thanks to Deepak Dixit for the bug report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665311 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 17:34:42 +00:00
Ashish Vijaywargiya 5f40755246 Providing fix for the issue reported by Sebastian on jira issue OFBIZ-5893.
===========================================================
Sebastian Wachinger commented on OFBIZ-5893:

Now we have the issue that it is no longer possible to set up, edit or delete *Payment Settings for PayPal* on _catalog/control/EditProductStorePaySetup?productStoreId=9000_
These actions render a lengthy error message referring to _applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStorePaySetup.groovy_ ending with
bq. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])
As a quick fix we had to revert from revision 1647937 to be able to set up payment settings for PayPal.
===========================================================
Thanks Arun for providing the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665198 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 11:52:57 +00:00
Jacopo Cappellato 7ddccd0b6c Fix for issue happening when a service event was executed using JSON (i.e. parameters in the request body) after a getParameter was called (by other framework code) to fetch the parameter from the body; in that case an io error was thrown because the reuest body stream can be read only once.
This fix move the code that reads the JSON parameters from the body into the ContextFilter: the parameters are then stored as attributes that can be later used by events and other artifacts (service events, simple events, scripts events support this and Java events if they use UtilHttp.getCombinedMap(request) to get the map of input parameters. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665162 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 09:26:18 +00:00
Jacopo Cappellato f232ce4446 Fix for bug causing an error trace when a query was executed (with cache on) using conditions created using EntityConditionBuilder:
java.lang.UnsupportedOperationException: hashCode: org.ofbiz.entity.condition.EntityConditionBuilder$ConditionHolder
     [java] java.lang.UnsupportedOperationException: hashCode: org.ofbiz.entity.condition.EntityConditionBuilder$ConditionHolder

Thanks to Deepak Dixit for the bug report and for his tests.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665154 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 08:34:30 +00:00
Jacques Le Roux 9422ab9c95 A slightly modified patch from Christian Carlow for "date-find in form widget does not persist value" https://issues.apache.org/jira/browse/OFBIZ-5074
Reported by Taher:
Any search form that calls "performFind" and has a "date-find" tag will not persist but it will give correct search results. 
For example, If I go to Order -> Requests and search using any of the date fields, the result will be correct but the field will be blank upon returning results. This behavior affects only dates.
I suspect the main offender here is a bug in performFind service or one of the services it calls (prepareFind or executeFind). I believe that the "queryStringMap" does not contain the date-find fields in its returned value. I did not look heavily into the code but I think "fld" types are not persisted in-between requests.

Christian:
This issue is still relevant and needed. The <date-find> values are not persisted after submission due to MacroFormRenderer.java not evaluating value and value2 correctly. In face, value2 isn't event passed to the definition in framework/widget/templates/htmlFormMacroLibrary.ftl. This is a starting point for this functionality. I said starting point because I'm not sure if it handles default values and other field settings that may need to be applied after my patch.

jleroux: It indeed needs to be improved, at least to keep the related date operator... I don't close yet, but would be better to open a new Jira issue...
I simply formatted the patch (tabs instead of 4 spaces) and used UtilGenerics.checkMap() instead of (Map<String, Object>) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1664696 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 18:53:42 +00:00
Jacques Le Roux fdb68903f1 Removes 2 old wrong ar labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1664604 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 12:49:31 +00:00
Jacques Le Roux ec07424fcb Patches from Taher Alkhateeb for "Translations of CommonUiLabels.xml & CommonEntityLabels.xml to Arabic" https://issues.apache.org/jira/browse/4966
I have translated fully the framework/common/config/CommonUiLabels.xml & CommonEntityLabels.xml to Arabic. Attached is the patch for both files.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1664602 13f79535-47bb-0310-9956-ffa450edef68
2015-03-06 12:38:42 +00:00
Jacques Le Roux f89cf23b17 A patch from Pierre Smits for "Have a better layout design of the chart.rptdesign" https://issues.apache.org/jira/browse/OFBIZ-6124
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1664276 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 08:50:22 +00:00
Jacques Le Roux 0ee33e04b6 A patch from Pierre Smits for "Have BIRT reporting component visible in secondary app menu" https://issues.apache.org/jira/browse/OFBIZ-6122
Currently the birt reporting component is not visible in the main menu of OFBiz, thereby hindering the adoption

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663983 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 13:17:09 +00:00
Jacques Le Roux cb972c9d49 An improved patch from Christian Carlow for "Allow FOP to support <fo:external-graphic></fo:external> for -Dportoffset" https://issues.apache.org/jira/browse/OFBIZ-6120
FOP <fo:external-graphic/> images do not appear when portoffset used:
2015-02-28 18:12:12,249 |http-bio-8445-exec-4 |ApacheFopWorker               |I| FOP FontBaseURL: file:/home/anon/workspace/ofbiz/framework/webapp/config/
2015-02-28 18:12:12,254 |http-bio-8445-exec-4 |FOP                           |D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
2015-02-28 18:12:12,593 |http-bio-8445-exec-4 |FOP                           |E| Error with opening URL 'http://localhost:8080/content/control/stream?contentId=10004': Connection refused
2015-02-28 18:12:12,616 |http-bio-8445-exec-4 |FOUserAgent                   |E| Image not found. URI: /content/control/stream?contentId=10004. (See position 40:158)

In framework/webapp/config/fop.xconf <base>http://localhost:8080</base> is hardcoded
This patch employs FopFactory.setBaseUrl() along with the portOffset from Start class. 
A better solution might be to extract the port from the baseUrl of fop.xconf and then apply the offset to that but I don't have time to implement that yet.

jleroux: I followed Christian's tip to complete his patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663979 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 13:11:41 +00:00
Jacques Le Roux 6d1373dcf2 A patch from Christian Carlow for "Error when updating shipment destinationFacilityId" https://issues.apache.org/jira/browse/OFBIZ-6131
The Following Errors Occurred:
Error running the simple-method: Primary key map "estimatedArrivalWorkEffortMap" not found Method = updateShipment, File = file:/home/anon/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml, Element = <find-by-primary-key>, Line 215null
estimatedArrivalWorkEffortMap is passed to <find-by-primary-key> but never set which causes the error.

jleroux: I was curious about this (was weird), it was missed at r889656, anyway gone...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663912 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 10:02:44 +00:00
Jacques Le Roux 7e9154aefc A patch from Deepak Dixit for "One page checkout broken for registered user" https://issues.apache.org/jira/browse/OFBIZ-6119
Onepage checkout process is broken for registered user. 
Error in Service [createPartyRole]: Value found (with ids 10000::CUSTOMER), cannot create a new one


Its due to CheckoutServices.xml#createUpdateCustomerAndShippingAddress service, in this service if system try to create party role at line 54, as this service is used for create/update shipping address so at the time of create its working fine but at the time of update it fails to create same party role again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663202 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 08:18:39 +00:00
Jacques Le Roux 63e83f27ae A patch from Pierre Smits for "Have PDF reports in BIRT open in new windows" https://issues.apache.org/jira/browse/OFBIZ-6121
Currently the PDF reports open in the same browser window as OFBiz, reducing the user experience.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663081 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 11:19:52 +00:00
Jacques Le Roux 63bc66f36b Better title for the ecomseo webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662938 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:35:02 +00:00
Jacques Le Roux 1d1c1f434b Adds a README file in birt component, updates the ecomseo one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662930 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:11:08 +00:00
Jacopo Cappellato 3c2da3b211 With this change the "secure" attribute of <@ofbizURL/> will be honoured (as it was until 13.07) even when the request-map doesn't have a "security" element, i.e.:
<@ofbizUrl secure="true">SomeRequest</@ofbizUrl>

will actually use the https protocol. Thanks to Deepak Dixit for reporting discussing the issue and fix with me. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 11:18:30 +00:00
Jacques Le Roux f529b182ef Fixes "Birt doesn't work" reported by Leon at https://issues.apache.org/jira/browse/OFBIZ-5870
Workaround:
revert the commit r1621801 https://fisheye6.atlassian.com/changelog/ofbiz?cs=1621801, since ServletContextHashModel is being used by Birt, not the unused stuff.
revert the commit r1621953 to ControlServlet.java https://fisheye6.atlassian.com/changelog/ofbiz?cs=1621953 to import necessary packages
add "commons-discovery-0.4.jar" back to framework/base/lib/commons, or add it to specialpurpose/birt/lib folder, since it's depended by axis-1.4 https://fisheye6.atlassian.com/changelog/ofbiz?cs=1623042

jleroux: "commons-discovery-0.4.jar" has been already added back for OFBIZ-5876 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662812 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 20:52:10 +00:00
Adrian Crum 5100649ffb Fix bug in entity reference screen - https://issues.apache.org/jira/browse/OFBIZ-6114.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662500 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 17:24:52 +00:00
Jacopo Cappellato f64ef66cd1 Removed some old code that, as can be easily noticed by reviewing the lines I am removing, was completely useless; it was probably an half baked experiment that has been committed by error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662393 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 09:09:04 +00:00
Jacques Le Roux 6578096e29 Fixes "Incorrect Error Displayed when "Expiring" a Contact Mechanism" reported by Forrest Rae at https://issues.apache.org/jira/browse/OFBIZ-6112
When expiring a contact mechanism, an incorrect error is displayed.  This is mostly an error due to code reuse.  There is no reason to redirect back to editcontactmech, instead just redirect to viewprofile. 

"The contact information specified does not belong to you, you may not view or edit it."

Repro:
1) Login to http://demo-stable-ofbiz.apache.org/ecommerce/control/main as DemoCustomer.
2) Navigate to http://demo-stable-ofbiz.apache.org/ecommerce/control/viewprofile
3) Click Expire next to one of the Postal Addresses.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662361 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 06:30:57 +00:00
Jacques Le Roux 2a1ccb2ebd Better columns spaces repartition between order name and status
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662189 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 09:13:19 +00:00
Adrian Crum 5dc2a447ac Fixed form widget rendering bug caused by widget refactor - https://issues.apache.org/jira/browse/OFBIZ-6051.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662120 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 21:19:09 +00:00
Adrian Crum eb7283f61d Fixed NPE in widget model toString() method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662119 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 21:17:33 +00:00
Jacques Le Roux ade5500321 We have the same now in OrderQuoteDemoData.xml.
It would be better if we have most of the demo product data in product or maybe in order component. Because almost all what can be done concerning ordering in ecommerce can also be done in order manager from which anyway ecommerce depends on

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662093 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 20:14:20 +00:00
Adrian Crum f6d334704b Added null check to avoid intermittent NPE - https://issues.apache.org/jira/browse/OFBIZ-5879.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662084 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 19:00:36 +00:00
Adrian Crum a228dea8c5 Fixed a problem with loading quote demo data - https://issues.apache.org/jira/browse/OFBIZ-6096.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662078 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 18:40:30 +00:00
Jacques Le Roux 9b44341f71 Comments out the loading of the OrderQuoteDemoData.xml file for now because of this issue while loading demo data (load-demo):
[java] 2015-02-24 15:16:34,853 |main                 |GenericDelegator              |E| Failure in create operation for entity [QuoteItem]: org.ofbiz.entity.GenericEntityException: Error while inserting:
 [GenericEntity:QuoteItem][comments,10% off(java.lang.String)][createdStamp,2015-02-24 15:16:34.839(java.sql.Timestamp)][createdTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][lastUpdatedStamp,2015-02-24
 15:16:34.839(java.sql.Timestamp)][lastUpdatedTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][productId,GZ-1000(java.lang.String)][quantity,150.000000(java.math.BigDecimal)][quoteId,CQ0001(java.lang.Stri
ng)][quoteItemSeqId,00001(java.lang.String)][quoteUnitPrice,9.90(java.math.BigDecimal)] (SQL Exception while executing the following:INSERT INTO OFBIZ.QUOTE_ITEM (QUOTE_ID, QUOTE_ITEM_SEQ_ID, PRODUCT_ID, PROD
UCT_FEATURE_ID, DELIVERABLE_TYPE_ID, SKILL_TYPE_ID, UOM_ID, WORK_EFFORT_ID, CUST_REQUEST_ID, CUST_REQUEST_ITEM_SEQ_ID, QUANTITY, SELECTED_AMOUNT, QUOTE_UNIT_PRICE, RESERV_START, RESERV_LENGTH, RESERV_PERSONS,
 CONFIG_ID, ESTIMATED_DELIVERY_DATE, COMMENTS, IS_PROMO, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
, ?) (INSERT on table 'QUOTE_ITEM' caused a violation of foreign key constraint 'QUOTE_ITM_PROD' for key (GZ-1000).  The statement has been rolled back.)). Rolling back transaction.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661984 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 15:30:36 +00:00
Jacques Le Roux 3f6cfc8f69 The real reason of the recent issue while loading demo data was due to r1661612, reverts it here and will reopen OFBIZ-5027
I guess it's due to 
require-new-transaction="true"
when calling createProductFacility service, not sure why it was needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661977 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 15:21:38 +00:00
Jacques Le Roux 6e0d1bc01a Puts back the change for OFBIZ-6101
The issue is actually related with OrderQuoteDemoData.xml. Though I checked that 1st I somehow missed something

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661951 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 13:47:31 +00:00
Jacques Le Roux 61fb78a93d Reverts r1661778 (was for OFBIZ-6101), it blocks demo data loading. To be revisited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661940 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 13:33:10 +00:00
Jacques Le Roux 1f6c411c7a A patch from Deepak Dixit for "Pagination at find WorkEffort screen does not work" https://issues.apache.org/jira/browse/OFBIZ-5929
Pagination (previous, next) does not work in find workeffort screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661873 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 09:52:59 +00:00
Jacques Le Roux dd25105918 A patch from Pierre Smits for "Adjust quote demo data to display profit margin" https://issues.apache.org/jira/browse/OFBIZ-6104
Completes previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661865 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 08:48:45 +00:00
Jacques Le Roux 0264fcffe4 A patch from Deepak Dixit for "If orderDecimalQuantity set to N then system should return error if user add partial quantity in order" https://issues.apache.org/jira/browse/OFBIZ-5962
If productStore.orderDecimalQuantity OR product.orderDecimalQuantity is set to N, then system should return error if we try to add to partial quantity then system should return error instead of rounding it to 0, 
Actual Behavior: If partial quantity is not allowed in order process, and user enter 1.5 quantity then it rounded it and add 2 quantity.
Expected Behavior: if partial quantity is not allowed then system should return error instead of doing rounding if partial quantity passed during add/update item.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661862 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 08:21:21 +00:00
Jacques Le Roux d19d6427ec Adds a French translation for "Create Dependent Production Runs"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661860 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 07:47:23 +00:00
Jacques Le Roux 5606638d55 A patch from Pierre Smits for "Quote profit percentage is calculated wrong" https://issues.apache.org/jira/browse/OFBIZ-5858
When reviewing the profit page of a quote the profit percentage is calculated wrong. Instead of dividing the profit by the quote amount giving the margin, the quote amount is divided by the average cost (when provided). Thus giving the quote (amount) to cost ratio.

jleroux: there was an interesting discussion with Divesh Dutta who suggested to calculate the profit mark-up instead of the profit margin as done here.I agree we want the profit margin

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661853 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 07:00:52 +00:00
Jacques Le Roux b0520d1bb1 A modified patch from Pierre Smits for "Have some Quote demo data" https://issues.apache.org/jira/browse/OFBIZ-9086
Quote demo data is missing.

jleroux: 
I modified the path to OrderQuoteDemoData.xml in ofbiz-component.xml, it was missing the data/ folder
I changed 
Quote.validThruDate="2015-02-01 00:00:00.0"
to
Quote.validThruDate="2100-02-01 00:00:00.0"
To be used longer... enough...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661786 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 21:06:54 +00:00