Commit Graph
11648 Commits
Author SHA1 Message Date
Jacques Le Roux bd6543ddad A patch from Pierre Smits for "Some groovy files using Timestamp.valueOf are missing essential jar." https://issues.apache.org/jira/browse/OFBIZ-6606
"import java.sql.Timestamp;" was missing in CommissionReport.groovy, CommissionRun.groovy change is non functional (import ordering)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701825 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:50:10 +00:00
Jacques Le Roux 5a66638180 No functional change: Wai removed newline at end of file with OFBIZ-6583
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698263 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:16:59 +00:00
Jacques Le Roux 5998620545 Crap I had this wrong change pending, but forgot to save after checking for OFBIZ-6583
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698261 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:14:22 +00:00
Jacques Le Roux 9dfeb048dc A patch from Wai for "simple coding cleanup" https://issues.apache.org/jira/browse/OFBIZ-6583
This fixes and improves CompanyHeader.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698259 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:09:35 +00:00
Deepak Dixit 23d692dd3f (OFBIZ-6563) Fixed lookup party search form, used correct name for groupName field. Fix the focus-field-name from partyName to partyId as partyName is not a valid field on lookup party form. Used correct jQuery.each method in for paginationMenus. Now lookup party is working fine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697674 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 13:43:12 +00:00
Deepak Dixit 952065a2b2 (OFBIZ-6571) Passed parameter in correct sequence while doing EntityUtil.getRelated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697647 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 10:48:58 +00:00
Deepak Dixit 509727e6a1 Applied patch from jira issue - OFBIZ-6566 -SecurityGroup doesn't get removed from a Party.
Thanks Pierre Smits for reporting the issue and thanks  Neeraj Kumawat for providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696234 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 10:53:20 +00:00
Jacques Le Roux 067df90ae1 After r1695126, I found that most of the Java files have svn:eol-style=native. So only 116 Java files were missing svn:eol-style=native. I guess those have been added by committers who are not using the OFBiz svn config file on their machines. So rather than removing svn:eol-style=native, this commits add the property to the files which miss it. Here 116+89=205 files have their svn:eol-style property changed to native.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695129 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:33:23 +00:00
Jacques Le Roux dca48b0893 Reverts r1044202. No functional change.
This reverts svn:eol-style=native on Java files which were forced by r1044202n, 89 Java files are concerned. This commit hopefully makes things more consistent. 
It's indeed hard to see the impact of this change before it's committed. I'll check once done, I already found 116 Java files w/o svn:eol-style=native but there are 1231 Java files at all, so not sure how most are set...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695126 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:15:37 +00:00
Shi Jinghai bc3621ee87 Change UtilProperties.getPropertyValue("general.properties", "multitenant") to EntityUtil.isMultiTenantEnabled().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1694810 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 15:19:40 +00:00
Michael Brohl f0129986de Removed duplicate german translations for labels AccountingPayWithWorldPay and FormFieldTitle_organizationPartyId
Thanks Jacques for spotting this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693903 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 13:52:07 +00:00
Shi Jinghai d9bb512b5f OFBIZ-6564. Change ProductProductJump zh label from 产品跃升 to 跳转到产品.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693386 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 04:23:04 +00:00
Shi Jinghai de425564ad OFBIZ-5634 - "Error in pagination in createProductSubscriptionResource (Catalog)"
When you paginate, after creating a sufficient number of subscriptions for pagination to appear, you get an error

To reproduce this problem:
1. Import DataToReproduceOFBiz-5634.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProductSubscriptionResources?productId=GZ-NEWS-1MO
3. Add a new subscription resource.
4. Click next button, error message displayed.

Added paginate-target="EditProductSubscriptionResources" to ListProductSubscriptionResources form and resolved this problem in trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692604 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 06:32:13 +00:00
Shi Jinghai ea3de7491d OFBIZ-6547 - "Error in pagination in EditProdCatalogCategories (Catalog)"
When you paginate, after creating a sufficient number of Catalog Categories for pagination to appear, you get an error

To reproduce this problem:
1. Import DataToReproduceOFBiz-6547.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalog
3. Add a new Catalog Categories
4. Click next button, error message displayed.
 
Applied patch (add paginate-target="EditProdCatalogCategories" to "EditProdCatalogCategories" form) and resolved this problem



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692600 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 04:15:33 +00:00
Shi Jinghai 75ed5abae9 OFBIZ-6555.
Removed issuedDateTime from OrderItemQuantityReportGroupByProduct view entity as it doesn't exist in ItemIssuanceQuantitySum.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692458 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 04:46:30 +00:00
Jacques Le Roux 942104b4d3 No functional changes: fixes typos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692356 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 08:08:13 +00:00
Shi Jinghai a575165ce4 OFBIZ-6504 - Create password protected PDF in OFBiz
1. Changed to use FOP 2.0 native encryption, jars are updated.

2. Now the Embeded options are request parameters supported in ScreenFopViewHandler.java, the options are:
http://xmlgraphics.apache.org/fop/2.0/pdfencryption.html#embedded
the default values of the options can be configured in framework/webapp/config/fop.properties.

3. The demo page is https://localhost:8443/example/control/ExampleReportPdfOptions?exampleId=EX01

4. Barcode is tested.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1691852 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 20:41:32 +00:00
Shi Jinghai 4b8e259073 OFBIZ-6374 - PartyContentWrapper.getPartyContentAsText use wrong signature
Put Sebastian Leitner's patch on PartyContentWrapper.java into trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1690581 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 07:58:34 +00:00
Jacques Le Roux 7fb125b874 OFBIZ-6536 - The "Create new" link under partymgr has disappeared
This patch removes CreateNewParty intermediate screen. This screen used to just include a menu. This menu is now into findParty screen, the security has been moved from screen to menu.
The CreateNewParty screen is not used elsewhere so can disappear, so is findparty.ftl, replaced by form widgets



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687851 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 21:12:46 +00:00
Michael Brohl 7853deb863 Added about 1800 missing or wrong German labels for the accounting component (OFBIZ-6521).
Corrected a few other labels, mainly typos or unnecessary spaces.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687775 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 14:17:30 +00:00
Nicolas Malin 08e6171f3b show estimatedShipDate and estimatedDeliveryDate on OISG if they are present. Related issue OFBIZ-6198. Thanks Christian Carlow for this. Correct also two french labels that not corresponding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687371 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 21:10:56 +00:00
Deepak Dixit 8bfcacf173 Fixed illegal argument exception bug in create order service, passed correct argument while performing getRelatedOne operation to get the ProductFacility records
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686970 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 05:46:21 +00:00
Shi Jinghai 85bed69778 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Nicolas Malin 8e4bfa1eba remove old deprecated code in WorkEffortEventReminder services related to issue OFBIZ-6519. Thanks Gil Portenseigne for this cleaning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 20:09:31 +00:00
Michael Brohl c5e668dfc4 Applied patch for OFBIZ-6522: Potential IndexOutOfBoundsException in CategoryServices.getProductCategoryAndLimitedMembers.
If view indexes as input parameters of service getProductCategoryAndLimitedMembers get manipulated (e.g. by manipulating URL params or bookmarking an URL with those params and come back later), it can lead to an IndexOutOfBoundsException because of a lowIndex greater list size. The highIndex is checked for that, the lowIndex is not.

Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686741 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 16:32:05 +00:00
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 7382855c7b Use as default on <entity-option> and <list-option> description attribute like <display-entity> element. Related issues OFBIZ-6489 and OFBIZ-6490. Thanks to Christian Carlow for this and Gil Portenseigne for the review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686673 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:28:12 +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
Nicolas Malin f9f1f01098 Migrate findParty.ftl to form widgets, related issue OFBIZ-6227. Added a new service performFindParty oriented only on search operation (do not contains screen information that managed by screen widget) and convert the FindParty form to works very similar of the older but with widget capacity. Thanks Gil Portenseigne for this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686667 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 19:43:49 +00:00
Divesh Dutta 5a15391319 [OFBIZ-4559] Fixed issue: InventoryWorker.getOutstandingProductQuantities returns inaccurate results when there are multiple ItemIssuances for an order, created new view entity called ItemIssuanceQuantitySum. This view entity will have sum of issued item grouped by orderItem of Order. Then this view entity is used in OrderItemQuantityReportGroupByProduct view entity instead of ItemIssuance entity. By doing this, we get accurate results.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686651 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 16:28:21 +00:00
Arun Patidar 56739c69ed Fixed the code to handle NPE on adding config products to cart. Need to verify further process after this fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686642 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 15:30:45 +00:00
Divesh Dutta 756535ab00 [OFBIZ-5347] 1) Fixed issue: Shipping costs not recalculated after changing sales order shipment method. For this introduced new service as per the design in this task. 2) This service will loads the cart save new shipping method in cart, re-do all the calculations for tax and promotion, and saves the cart again in order. 3) Also adding new SECA rule which will trigger resetGrandTotal service on new service updateShipGroupShipInfo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686635 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 14:58:45 +00:00
Michael Brohl 38f0c315e4 Applied patch for OFBIZ-6492: "FTL errors at facility/control/authview/ViewContactMechs when TELECOM_NUMBER countryCode or contactNumber is blank".
Thanks Christian Carlow for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686583 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:06:47 +00:00
Divesh Dutta 3ea48b7551 [OFBIZ-6520] Formatting changes, no fuctional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686569 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:38:29 +00:00
Divesh Dutta 561953b93a [OFBIZ-6520] When CalculateProductPrice service is called and currency is not passed in IN parameter then, this service picks up default currency from general.properties file which is hard coded to USA. But if some one changes the currency of store, code to return product price does not work. So code should look at ProductStore's defaultCurrencyUomId field first and if that is not set up then code should look for default currency set in general.properties file. This way code to fetch product price will be more database driven. So changing the code accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686566 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:35:00 +00:00
Arun Patidar 5268a0835b [OFBIZ-6347] Applied patch from task. Removed code to create duplicate OPP record. Thanks Mohammad Kathawala for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686545 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 10:20:32 +00:00
Michael Brohl 6865d2db88 Fix for "Print Pick Sheet PDF using orderId.pdf as attachement name" (OFBIZ-6398).
This was introduced by r1680671 during the improvement for (OFBIZ-4480). The behaviour is changed to name the attachment PickSheet<orderId>.pdf for single order pick sheets and preserve the original naming when used for multiple order pick sheets.

Thanks Deepak for reporting the issue and everyone else who took part in the discussion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686536 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 09:00:17 +00:00
Deepak Dixit 5f0baa1c50 Fixed field name (or key) unitCost is not valid for entity ShipmentReceipt error on receive return screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686360 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 06:14:40 +00:00
Jacques Le Roux ce2a5b3533 OFBIZ-6514 - All postalAddress simple-map-processors miss some fields
This could be seen as a moot point for some of them, but the main ones in party and product component should not miss these fields.

Here they are.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686071 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 16:41:43 +00:00
Jacques Le Roux 900ab6f291 OFBIZ-6513 - countyGeoId and geoPointId fields are missing in PartyAndPostalAddress entity view
Rather than adding both fields, I rather adds an allias-all. Then if ever we add new fields to PostalAddress they will not miss there.

Being only an addition, this does not need any data migration explanations


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686002 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 12:37:06 +00:00
Jacques Le Roux da0c36f015 Adds Postal Address templates for France
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684031 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:02:57 +00:00
Jacques Le Roux fd0c8a6c27 No functional changes, only syntax improvements
Replaces "?if_exists" occurences by ! 
Removes a test on "?has_content" when not needed (! is enough).
Removes "?if_exists" when useless (after ?has_content)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684030 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:00:27 +00:00
Jacques Le Roux 1c45038747 A slightly modified patch from Pierre Smits "Adding a Postal Address templates for the Netherlands" https://issues.apache.org/jira/browse/OFBIZ-6470
jleroux: I simply replaced "?if_exists" occurences by ! and removed a test on "?has_content" when not needed (! was enough). I will continue in the same spirit on files I committed recently (Forrest Rae's patch) and earlier



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684026 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 12:12:34 +00:00
Jacques Le Roux 8a0b8fbe21 A patch from Forrest Rae "Postal Address PDF Formatter Screen Problems" https://issues.apache.org/jira/browse/OFBIZ-6444
A couple updates are needed to the postalAddressPdfFormatter screen:
First, the screen template is set to use the HTML renderer which results in this error in the log:
    [java] 2015-06-03 13:44:53,400 |0.0.0.0-8009-exec-13 |ModelScreenWidget             |W| In platform-dependent could not find template for xsl-fo, using the one for html.

Second, the various PostalAddressXXXX.fo.ftl files do not escape XML properly, and addresses with an & in them end up causing a FreeMarker template error.

Test:  For number 1, just get a "Report" for a quote, and then look at your log file. For number 2, add an "General Correspondence" address to a party that contains an ampersand, like "5th & Oak Street", create a quote for that Party, and then get the "Report" for that quote.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683998 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 08:05:25 +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
Jacques Le Roux 51eed90c75 PartyClassificationType.description.SIC_CODE was missing in English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 13:42:18 +00:00