Commit Graph
14503 Commits
Author SHA1 Message Date
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
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
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
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
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
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 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 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
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
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 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
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
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
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
Hans Bakker dd0c1e61bd small improvement on r1060651 no functional change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060670 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 04:09:06 +00:00
Hans Bakker df7af7d6b2 add orderpayment info if the order is a purchase order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060651 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 02:20:24 +00:00
Marco Risaliti fd3bcf3963 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060599 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 22:20:48 +00:00
Marco Risaliti 5335555226 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060581 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 21:17:21 +00:00
Marco Risaliti eb4ad478bd Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060578 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 21:00:42 +00:00
Marco Risaliti 380aa61c94 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060552 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 19:55:41 +00:00
Jacques Le Roux 9aa97b692c A slightly modified patch from Anil Soni "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
This modified patch solves the find issue but not the create. I have simply kept 
if (dataResourceId) {
instead of 
if (!dataResourceId) {
in CmsEditAddPrep.groovy
because it's an obvious error (NPE the line after else). But it does not solve another error.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060546 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 19:46:11 +00:00
Marco Risaliti 029c8e0f35 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060536 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 18:54:55 +00:00
Jacques Le Roux 7ebf2fb35b A patch from Sascha "Small issues in Content/CMS " (https://issues.apache.org/jira/browse/OFBIZ-4111) - OFBIZ-4111
Martin Kreidenweis fixed some issues in Content/ CMS (see https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite)

So now it works, but he simultaneoulsy signaled some points.
    * He used regular form submit instead of ajax for new content for now, thus:
          o ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId
            + some controller changes would probably be necessary to make that work (return new contentId as JSON)
          o nav tree is not updated with ajax submit currently

Sascha:I think there is no need to rewrite all the create content methods to return a JSON Object, we can simply use the initial select function from the js tree.
When i now create a new long/short text and do a "real" form submit the tree notice the new contentId from the parameters and select the corresponding tree node.

JLR: I agree with Sascha, it works well


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060377 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 13:51:10 +00:00
Jacques Le Roux ee0b81a549 Fix a bunch of issues reported by Paul Foxworthy in OFBIZ-4114
* For calcHeaderAdj as it's not a service but a private method we should not use return ServiceUtil.returnError here but BigDecimal.ZERO (return was missing Paul reported)
* Same for createInvoiceTerms but not return as it returns void
* Fix all other cases by adding return as suggested by Paul



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060368 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 13:41:15 +00:00
Jacques Le Roux e36993624f Remove duplicates line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060351 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:43:50 +00:00
Jacques Le Roux c7dd042c71 A patch from Ankit Jain "Duplicate view map entry in controller." (https://issues.apache.org/jira/browse/OFBIZ-4122) - OFBIZ-4122
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060220 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 07:29:56 +00:00
Adrian Crum 93c983d147 Fixed style on Party view profile button bar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060147 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 00:20:11 +00:00
Marco Risaliti 8c800bd4d7 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060096 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:24:47 +00:00
Marco Risaliti 141fef9aed Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060092 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:07:06 +00:00
Marco Risaliti 239211806d Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060087 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 20:42:02 +00:00
Marco Risaliti 27dafb9e75 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060070 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 20:10:56 +00:00
Hans Bakker 6c2167ab00 improve some more perfreview forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059778 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 07:50:23 +00:00