Commit Graph
27737 Commits
Author SHA1 Message Date
Marco Risaliti 07335eb41f Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062264 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:40:52 +00:00
Marco Risaliti 8b0ea1f0c8 Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062250 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:07:24 +00:00
Marco Risaliti 05f0bf2915 Remove some java compilation warnings of ContentServicesComples (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062178 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 15:43:05 +00:00
Marco Risaliti 77c9573f03 Remove java compilation warnings of PermissionRecorder (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062164 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 14:53:40 +00:00
Jacques Le Roux 5177291c63 A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
One more patch for setting shipping method in ofbiz order during import order by ebayStore component. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062152 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 13:15:36 +00:00
Marco Risaliti 28a951fb7b Remove java compilation warnings of last two old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062146 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:46:50 +00:00
Jacques Le Roux ce37b9ff7f A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
A patch to fix issue of import ebay orders.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:44:36 +00:00
Marco Risaliti da4537dd17 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062141 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:12:29 +00:00
Jacques Le Roux 7bc8423407 A patch from Pierre Smits "my time screen in project mgr shows wrong labels with entry field for hours" (https://issues.apache.org/jira/browse/OFBIZ-3942) - OFBIZ-3942
The my time entry screen for hours in Project Mgr shows labels (in English) for the hour columns in following order: sun, mon,tue,wen,thu,fri,sat.

However when entering hours on in e.g the mon(day) column the actual date registered for the hours is for tuesday.

Seems like the week starts on monday, not on sunday

JLR: works well, would need more work for those who prefer to have weeks start on Monday...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062138 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 10:49:57 +00:00
Adrian Crum 357b11d1f4 Portuguese translation for Accounting. Patch provided by Luís Alfredo Harriss Maranesi - https://issues.apache.org/jira/browse/OFBIZ-4131.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062104 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 06:33:15 +00:00
Marco Risaliti 3560e173e2 Remove java compilation warnings of createContent/createContentMethod of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:23:30 +00:00
Marco Risaliti 6c6fdc6dd9 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062047 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:16:46 +00:00
Marco Risaliti 6b80b62f9d Remove java compilation warnings of some old methods of content components (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062032 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 21:12:47 +00:00
Jacques Le Roux 4a5b5ab18c A patch from Arpit Singh Pandya "Fixed Layout of productreview.ftl." (https://issues.apache.org/jira/browse/OFBIZ-3017) - OFBIZ-3017
Patch to fix the layout product review page. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062029 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 21:08:30 +00:00
Marco Risaliti 46ac41f965 Remove java compilation warnings from TaxAuthorityServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061949 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 18:24:18 +00:00
Jacques Le Roux 891d9390a8 A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
Patch to export single product to ebay in ebay store component. Added require attributes in item and call request of export product to ebay after successfully verify item. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061939 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 18:02:56 +00:00
Andrew Zeneski 9cdea0b2b1 view minor adjustments to support order items without a product id
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061925 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 17:36:32 +00:00
Jacques Le Roux 1dab0c10f2 Update copyright from 2010 to 2011, BTW this closes "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
I have changed ModelInfo.getCopyright() in order to automatize (I believe the copyright is always valid so we don't care about the date really used, if you disagree please let me know, I have a doubt about this...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061886 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 16:33:22 +00:00
Jacques Le Roux 5457a40512 Merge CommonInventory and FacilityInventory labels and use only CommonInventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061848 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 15:29:40 +00:00
Jacques Le Roux c32e55a7be A patch from Abdullah Shaikh "Added drop down options replacing text box to configure sagepay." (https://issues.apache.org/jira/browse/OFBIZ-3260) - OFBIZ-3260
To configure SagePay payment gateway transaction types settings.

JLR: this patch contains a bit of labels redundancy, but I prefer to keep them as is. At least it's verbs in Common and can be reused... (why have a Payment label in each app...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061728 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 10:50:43 +00:00
Jacques Le Roux d26edaea82 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061717 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 10:10:19 +00:00
Erwan de Ferrieres 2a7a6d2e51 Using more comprehensible labels for French end-users, as the partyGroup is entity related and was used as a word-to-word translation in the Party screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061706 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 09:36:24 +00:00
Vikas Mayur 92826947f9 Added a utility method to get inventory QOH and ATP total by supplier.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061657 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 07:34:26 +00:00
Marco Risaliti 07ae2b320d Remove some unused local variable and unused import in ebaystore component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061521 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 21:23:36 +00:00
Marco Risaliti c88d75a7a0 Remove java compilation warnings from UtilAccounting.getDescendantGlAccountClassIds (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061518 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 21:13:21 +00:00
Marco Risaliti 3f1d4bed2d No functional changes only re-formatting and change long lines slitted to long lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061500 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:39:23 +00:00
Jacques Le Roux 9317dcd7d4 Fix "If you try to use help after changing the status of an order in order view you get an error" (https://issues.apache.org/jira/browse/OFBIZ-3273) - OFBIZ-3273
I still wonder why it occurs for order view and not for order list, stats or other screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061491 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:19:34 +00:00
Marco Risaliti 71c69af454 Remove java compilation warnings from CompDocEvents/CompDocServices and changes some long lines slitted to long lines (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061486 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:08:18 +00:00
Marco Risaliti 4067ee4e87 Remove java compilation warnings from OutputServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061483 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 19:55:35 +00:00
Jacques Le Roux abae72950b A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
Patch for an issue in ebay component. Ebay category code may have more than 3 character so removed condition of ebay category code length. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061346 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 15:32:04 +00:00
Erwan de Ferrieres d16e947562 Adding missing French uiLabel for PartyLinkExplanation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061338 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 15:26:57 +00:00
Jacques Le Roux 51a2ceb54f A patch from Chatree Srichart "Fix using TagLib in Freemarker." (https://issues.apache.org/jira/browse/OFBIZ-2703) - OFBIZ-2703
Fix using TagLib in freemarker follow this.
1. In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061310 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:23:29 +00:00
Jacques Le Roux 582502c1a8 A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
Steps to test issue:
1. Go to ebayStore -> main
2 Select any demo user account and click on submit
3 Click on Export Product Listing tab in menu
4 Search any product from find screen
5 Select product from list and click on Export To Ebay button
6 Select any ebay category from drop down
7 Change event of this select box is not working properly due to blocking of JS.

JLR: I 1st got caught by the surprising behaviour of the eBay Category drop down (you have to select sub-categs one after the others in the same drop drow), but yes it works (ie you can publish an OFBiz product in the eBay store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061307 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:12:08 +00:00
Jacques Le Roux 2238844c6b A patch from Chatree Srichart "BIRT set output file name." (https://issues.apache.org/jira/browse/OFBIZ-4129) - OFBIZ-4129
I got a request to export a BIRT report as PDF file with custom file name. I attach a patch file for this feature.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061295 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:35:00 +00:00
Vikas Mayur 3c7fdfab50 Slight improvements to my previous commit (r1061192). Noticed by Chirag Manocha.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061239 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 11:45:02 +00:00
Vikas Mayur 5a7caeaaf5 Bug fix: In a multiple store app now onwards a coupon code belonging to a particular store will not be accepted if used on a different store. If user attempts to do it, the
system 
will notify user that it is an invalid coupon code. Earlier the coupon code was accepted but wasn't applied. Also it was preventing the user to add 
a correct coupon code. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061192 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 10:24:20 +00:00
Erwan de Ferrieres ec5adee63b Displaying help was in error in the big topics, buffer.flip() was misplaced
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061189 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 10:10:52 +00:00
Erwan de Ferrieres 7996d65d0b Allowing subsection in help to go deeper than h2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 10:02:04 +00:00
Erwan de Ferrieres 1dedf4711c Upgrading to tomcat 6.0.30 - Changelog is here: http://tomcat.apache.org/tomcat-6.0-doc/changelog.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061169 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 09:14:24 +00:00
Jacques Le Roux 973e1f6172 A patch from Rene Scheibe "Invalid duplicate code in ShipmentServices" (https://issues.apache.org/jira/browse/OFBIZ-4128) - OFBIZ-4128
ShipmentServices contains some invalid duplicate code that doesn't perform a null check. I think it can just be removed as the correct code is located right below it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061167 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 09:07:19 +00:00
Adrian Crum 801c212590 Fix disabled button style in Flat Grey theme. Patch contributed by Ryan Foster - https://issues.apache.org/jira/browse/OFBIZ-4127.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061124 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 05:08:04 +00:00
Adrian Crum 74cb3f0103 Made the Find Screen "Search Results" text match the "Search Options" text. Also includes a layout demo and the CSS changes needed for the Flat Grey visual theme.
This is kind of kludgy. We need a screenlet-title style.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:09:37 +00:00
Marco Risaliti 43fbad62cf Remove java compilation warning from BlogRssServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060994 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 21:17:18 +00:00
Marco Risaliti ac3117e68b Internationalization of java services for manufacturing component (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060963 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 20:24:04 +00:00
Jacques Le Roux fd52efd49e A fix suggested by Jeremy Wickersheimer "updateGiftCard service NPE when card number not given"
The updateGiftCard service has the cardNumber parameter optional but will have an NPE if the card number is not given.

I'd suggest to make this parameter non optional, I'am not sure if a gift card without number makes much sense anyway...

JLR: I checked the code, it's the better solution IMO

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060933 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 19:45:12 +00:00
Adrian Crum c9c512948a One more fixup for the Layout Demo page move.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060923 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 19:33:55 +00:00
Marco Risaliti 726717aa5b Re-formatting long lines stripped to long lines as requested on the dev mailing list (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060896 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 18:40:10 +00:00
Jacques Le Roux 07bebdaea7 A slightly modified patch from Sascha "In Content Manager's CMS sub-module CMSContentFind page doesn't show the content list." (https://issues.apache.org/jira/browse/OFBIZ-2746) - OFBIZ-2746
Sascha: There are some more issues in the groovy file
In entity field [ContentAssoc.fromDate] set the value passed in [java.lang.String] is not compatible with the Java type of the field [java.sql.Timestamp]
I'm not quite sure why this is going wrong. Maybe we have to explicitly create an Timestamp here.
DataResourceWorker.getDataResourceTextCache(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator);
should be replaced with
DataResourceWorker.getDataResourceText(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator, true);

JLR: this patch allows now to create a content from CMSContentFind but I'm not quire sure all is resolved. I jave also set the fromDate field in the calling screen as Timestamp type, not sure it's needed but it can't hurt. Nevertheless I think there are still some issues. But at least now it does not break



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060744 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 10:28:01 +00:00
Adrian Crum 13241f8219 Demonstrate how to collapse the Search Options screenlet automatically when clicking the Find button.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060704 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 08:01:53 +00:00
Adrian Crum f4e001a3fe Fix screenlet title in Layout Demo screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060703 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 07:56:27 +00:00