Commit Graph
14503 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 34e01359d3 Applied patch from jira issue - OFBIZ-5027 - Product Facility record should be created in case of its no record when calling setLastInventoryCount service as EECA.
Thanks Amardeep for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661612 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 08:30:44 +00:00
Ashish Vijaywargiya bc7f3c597f Applied patch from jira issue - OFBIZ-5930 - Data resouce caching issue while render data resource on multi tenant environment.
Thanks Deepak for the contribution. Thanks Scott and Adrian for sharing your thoughts here. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661358 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 13:27:02 +00:00
Ashish Vijaywargiya c3e355dd39 Applied patch from jira issue - OFBIZ-5373 - If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.
Thanks Deepak for creating the issue, Thanks Rishi for providing the patch. Thanks Arun for the verification. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661350 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:57:04 +00:00
Ashish Vijaywargiya 7079ece449 Applied patch from jira issue - OFBIZ-6058 - Find Shipment generates an error.
Thanks Pierre for reporting the issue, thanks Amardeep for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661339 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:26:28 +00:00
Pranay Pandey df478974a1 [OFBIZ-6089] - Fixed error in locating service ensureNaPartyRoleTo by removing it and using ensurePartyRoleTo and ensurePartyRoleFrom services instead.
Thanks Deepak Dixit for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661334 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:12:31 +00:00
Jacques Le Roux 4b94cfbe8e A patch from Arun Patidar for "Error on Sending confirm email from newly created order" https://issues.apache.org/jira/browse/OFBIZ-6075
It was just a typing error while replacing entity engine with entityQuery method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661328 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:01:06 +00:00
Mridul Pathak 04d1943b09 [OFBIZ-6013, OFBIZ-6090] "Return Selected Item(s)" button broken for manually created returns. Applying patch from OFBIZ-6090. Thanks to Christian Carlow for reporting the initial issue and providing the initial patch. Thanks to Amardeep for providing the updated patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661324 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 11:33:38 +00:00
Jacques Le Roux 2efac6355a Fixes a bug introduced by r1659914 for OFBIZ-5706 & OFBIZ-5709
Thanks to Deepak's report on dev ML:

> +        manufacturer = from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.

Actually it was a bit more because WorkEffortPartyAssignment PK is 
      <prim-key field="workEffortId"/>
      <prim-key field="partyId"/>
      <prim-key field="roleTypeId"/>
      <prim-key field="fromDate"/>

So I have also replaced .queryOne() by .queryFirst()



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661323 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 11:10:06 +00:00
Ashish Vijaywargiya 3cdc3e5838 Applied patch from jira issue - OFBIZ-5570 - appendOrderItem Service Not Applying Order Item Attributes.
Thanks Darrell Donati for creating the issue and thanks Divesh for providing the patch. Thanks Pierre for your active participation in the discussion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661316 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 10:17:06 +00:00
Ashish Vijaywargiya 1fe7d01ca9 Applied patch from jira issue - OFBIZ-6088 - There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.
Thanks Arun for creating the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661307 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 09:27:11 +00:00
Sharan Foga cc0e4eb140 Fix incorrect Docbook Syntax OFBIZ-6082
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661303 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 09:10:15 +00:00
Jacques Le Roux 8c1ad843da A patch from Christian Carlow for "Trunk fails to compile with Java 1.8" https://issues.apache.org/jira/browse/OFBIZ-5835
Build errors occur for trunk due to missing build.xml fileset for party, workeffort, product, order, ebay, and pos apps when using Java 1.8

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660444 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 16:53:19 +00:00
Sharan Foga 1ad5ca3652 Applied patch from Anahita for OFBIZ-5641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660389 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:21:58 +00:00
Jacopo Cappellato 2b726298eb OFBIZ-6068: patch by Rohit Koushal that fixes a series of ClassCastException happening since rev. 1553890 when accessing some blog fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660053 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 08:59:35 +00:00
Jacques Le Roux 6fa0b5df68 Forgot to commit this "unversioned file" in r1659914, thanks to Pierre for spotting it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659923 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 13:35:03 +00:00
Jacques Le Roux 0455178476 A patch from Pierre Smits for
"Have parties to be assigned to production run tasks" https://issues.apache.org/jira/browse/OFBIZ-5706
It is not possible to assign parties to execute one or more task in a production run.

And
"ProductionRun doesn't capture and show manufacturing organisation" https://issues.apache.org/jira/browse/OFBIZ-5709
The production run should capture the manufacturing (internal) organisation on creation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659914 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 11:38:46 +00:00
Jacques Le Roux 9ee507ab1c A patch from Pierre Smits for "Move CuttingListReport.groovy to appropriate folder" https://issues.apache.org/jira/browse/OFBIZ-6069
Currently the file is in the widget folder. This should be in the appropriate actions folder under webapp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659508 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 11:16:24 +00:00
Jacques Le Roux 161a1ada0a A patch from Pierre Smits for "User should be able to delete associated production runs" https://issues.apache.org/jira/browse/OFBIZ-6030
If associations to production runs are set manually in a production run, it should be possible to delete erroneous associations.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658965 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 14:14:31 +00:00
Jacques Le Roux 38e01206cd Fixes a typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658891 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 07:02:17 +00:00
Jacopo Cappellato 06b1108555 Fixed wrong minilang element I have committed recently as part of the currency exchange gain/losses GL transaction handling. Thanks to Deepak Dixit for spotting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658882 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 06:29:12 +00:00
Jacopo Cappellato 441fa3a2be Completed support to foreign exchange rate gain/losses when a purchase invoice is posted at a different time of the receipt.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 10:44:02 +00:00
Jacques Le Roux 66499403cb Fixes https://issues.apache.org/jira/browse/OFBIZ-5305 "WebAppUtil.getWebappInfoFromWebsiteId throws IllegalArgumentException when web.xml not found"
I finally prefered to add an empty contenimages webapp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658622 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:14:49 +00:00
Jacques Le Roux 4879e9c470 This reapplies r1519245: The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:04:39 +00:00
Ashish Vijaywargiya bfe9749b51 Applied patch from jira issue - OFBIZ-5952 - IncomeStatement page broken.
Thanks Deepak for creating the issue and providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658310 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 06:36:00 +00:00
Jacopo Cappellato 8921a7b2e7 Removed debug statements that I have committed by error; thanks to Gil Portenseigne for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657848 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 14:51:45 +00:00
Jacques Le Roux d5d1579773 Updates apache Tika jar to 1.7 thanks to Deepak at https://issues.apache.org/jira/browse/OFBIZ-6062
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 12:47:45 +00:00
Jacopo Cappellato 383e1dad96 A series of changes required to properly manage foreign exchange gain and losses when a payment is sent before the purchase invoice is received.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657514 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:26:37 +00:00
Jacopo Cappellato 0d5bab4c73 Fixed wrong classifications (Liability<-->Asset) for the unapplied payments accounts demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657507 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:09:21 +00:00
Jacopo Cappellato 857ef96b4e Added missing association to the demo Company for the Foreign Exchange Gain/Losses account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:06:07 +00:00
Jacopo Cappellato 8493d5f3cc Fix for error generated by the ViewFacilityInventoryByProduct screen because one of its forms was referencing an undeclared variable. Patch contributed by Deepak Dixit in OFBIZ-6052.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656983 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 04:25:06 +00:00
Jacques Le Roux 19c1dc1c0b Removes a no longer needed comment, this was fixed at r1656198
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656200 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 14:48:56 +00:00
Jacques Le Roux d7e7028b2f Fixes a trivial bug introduced by Nicolas at r1649965 for OFBIZ-5905
Reported by Eduardo Arellano at https://issues.apache.org/jira/browse/OFBIZ-6049 "Error on Convert Lead"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656198 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 14:35:32 +00:00
Jacques Le Roux 240ad839a4 A patch from Youssef Khaye to finally fix "Incorrect quantityNotAvailable for OrderItemShipGrpInvRes when issuing items to shipments" https://issues.apache.org/jira/browse/OFBIZ-5364
This patch fixes the problem from a functional point of view and consequently the JUnit test in question.

In fact, functionally speaking, The previous patch is not good in measure or it does not take into account that an OrderItem might use several lines of stock InventoryItem.
orderId     orderItemSeqId  orderItemShipGrpSeqId   InvetoryItemId
10000       000001              10000                               000001
10000       000001              10001                               000001

So by making a stock exit (ItemIssuance) we can afford to cancel the reservation lines for the line of stock in question but not all the lines of stock.
That's why I added the lines in the inventoryItemId research question and then cancel a reservation!

While at it I reverted r1653056 since testMultipleInventoryItemIssuance now passes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656185 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 11:37:14 +00:00
Jacopo Cappellato e1fa200abb Implemented missing code to properly handle accounting transactions for foreign currency converion rates gain/losses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655979 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 10:44:44 +00:00
Jacques Le Roux cc803c5d08 This implements OFBIZ-5312 "Proposal: URL-Generation Changes (mostly for SEO reasons but not only)" by merging the "SEO branch" in trunk
After some efforts to take into consideration Anil's justified concerns (simply put: keep the current behaviour), the modifications are finally light, which is greater for reviews. Most important are:
* Product component
  ** I have moved the OfbizCatalogAltUrlTransform and OfbizCatalogUrlTransform classes to a ftl subdirectory with the new FTL macros implementation: CatalogAltUrlSeoTransform, CatalogUrlSeoFilter, CatalogAltUrlSeoTransform, CatalogUrlSeoTransform, SeoTransform, UrlRegexpTransform
  ** A bunch of new filters have been added CatalogUrlSeoFilter, controlServlet, SeoCatalogUrlServlet, SeoContentUrlFilter, SeoContextFilter, SeoControlServlet, UrlRegexpContextFilter
  ** 2 util classes: SeoConfigUtil, SeoUrlUtil
  ** By default ofbizCatalogAltUrl and ofbizCatalogUrl macros now use the new implementations by CatalogAltUrlSeoTransform and CatalogUrlSeoTransform. This can be changed back in freemarkerTransforms.properties
  ** A SeoConfig.xml file define some SEO parameters, the SeoConfig.xsd can be sued as documentation, globally please refer to OFBIZ-5312.
* Framework webapp component
  ** By default ofbizUrl macro now uses the new implementations by UrlRegexpTransform. This can be changed back in freemarkerTransforms.properties
* Ecommerce component
  ** A new ecomseo webapp clones the ecommerce webapp on the model of ecomclone. There is not much there: mostly a controller with a new JspViewHandler class (in ecommerce) and a web.xml file

With these changes we can have both worlds running side by side. So you can use eitherb http://localhost:8080/ecommerce/control/main as root or http://localhost:8080/ecomseo, but also if you want http://localhost:8080/ecommerce/. Then everything follows.

From my reviews and tests all is working as expected. I only found a trivial bug that I can also reproduce in current trunk see OFBIZ-5305 (sometimes not locally, weird).

Of course, all the tests passes. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655803 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 19:06:49 +00:00
Nicolas Malin 7fe9ad2a9c No functional change, reorganise some field on one line, remove double space and remove value present as default on submit button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655170 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 21:46:33 +00:00
Nicolas Malin 82495fe78d Little improvement to adding uom to product quantity in production run forms (OFBIZ-5752), proposition and initial patch from Guillaume Sigoigne, thanks to him.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655165 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 21:28:15 +00:00
Adrian Crum 771e10f1c4 First pass at extracting grid widget from the form widget. This commit has a lot of duplicate code - future commits will reduce and reuse the duplicate code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654670 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 17:18:24 +00:00
Sharan Foga 213e3c4128 OFBIZ 6015 - added more HR help pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654509 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 13:09:37 +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
Jacques Le Roux 10f596620a A patch from Pierre Smits for "ViewQuoteItemInfo.ftl has <td></td> at the wrong place" https://issues.apache.org/jira/browse/OFBIZ-6030
When a product has been added to a quote and subsequently looking at http://demo-trunk-ofbiz.apache.org/ordermgr/control/ViewQuote it shows that the quantity and sel. amount are positioned wrong (1 column to the right of where they should be).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654175 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 11:34:44 +00:00
Jacques Le Roux 9cea2f4397 No functional changes. Despite that I don't like how the lookups are not inlined by default in FTL templates (so I had to separate them by line to keep things clear) I still prefer to have lookups for product and party. Here they are for rules actions creation and update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653938 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 16:35:19 +00:00
Jacques Le Roux 9bfe114d10 Fixes a bug, there is no LookupParty only LookupPerson and LookupPartyGroup. anyway I believe here we should rather use LookupUserLoginAndPartyDetails because no reasons to exclude a PartyGroup or a Person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653934 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 16:28:14 +00:00
Jacques Le Roux 7abdb62c51 No functional changes, fixes misc. typos while working on OFBIZ-1560
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653916 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 15:35:10 +00:00
Sharan Foga 1f4c0345cd OFBIZ-6015 updated HR Help Screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653248 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 13:59:18 +00:00
Jacques Le Roux 0f284fb6af Slightly modified bunch of uilabels patches from Pierre Smits for Dutch translations (Manufacturing, Order, Party)
https://issues.apache.org/jira/browse/OFBIZ-6018
https://issues.apache.org/jira/browse/OFBIZ-6019
https://issues.apache.org/jira/browse/OFBIZ-6020

jleroux: I have fixed some trivial issues within these changes, 
Wrong change at <value xml:lang="fr">OFBiz: Gestion commerciale</value>
Removed all Dutch changes which were simply duplicating the English ones

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 07:40:50 +00:00
Jacques Le Roux 1a6dfc2dce Temporary removes this test (testMultipleInventoryItemIssuance) after r1649408 and r1650455
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653056 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 17:16:52 +00:00
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacques Le Roux 709944ff47 A slightly modified patch from Christian Carlow for "Add ability to find by orderName" https://issues.apache.org/jira/browse/OFBIZ-5969
Allow finding orders by the OrderHeader.orderName field at ordermgr/control/findorders.  Searching by orderName over orderId is more relevant when customers specify the name of their order. 

jleroux: I have increased the size of the column from 5 to 10% and hidden the name when empty

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652708 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 06:51:11 +00:00
Jacques Le Roux 5bac573139 A patch from Christian Carlow for "Find Order filtering broken" https://issues.apache.org/jira/browse/OFBIZ-5999
The Find Order page at ordermgr/control/searchorders does not filter results.

This patch adds the .where(cond) method missing from the query statement.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652706 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 06:27:17 +00:00