Commit Graph
12781 Commits
Author SHA1 Message Date
Scott Gray 2d587e0c5c Gone back to using Double for the order quantity when getting a ship estimate, it's pulled from the database in a lot of places so it can't always be a BigDecimal for now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590578 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 07:30:41 +00:00
Jacopo Cappellato 351b2b2c41 Moved Securityext labels from the applications to the framework to resolve because they are used by the LoginServices in the common component.
We should probably rename the files (and the variables that reference them), but for now I've just moved them.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 06:53:05 +00:00
Scott Gray 672fe6fc1f If the user keys in an invalid shipment id in the Find Shipment screen revert back to Find Shipment, reported by Skip Dever in the user list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590562 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 05:23:59 +00:00
Andrew Zeneski 76441736c3 added new content purpose type: PROJECT_INFO
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590556 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:46:48 +00:00
Andrew Zeneski 2eed3eec50 added code which uses "rememberMe" parameter to store a cookie with the user's login ID
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590554 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:33:50 +00:00
Si Chen 59f2c81cf8 set longer timeout for picklist create service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 23:55:54 +00:00
Andrew Zeneski b1cc02f7d0 now checked in just the order item display (inventory) changes from rev 590265
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590268 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:52:03 +00:00
Andrew Zeneski 69b57d8123 reverted last change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590266 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:51:27 +00:00
Andrew Zeneski fef329eeaf added code to display inventory across all facilities as well as the inventory associated with just the facility from the store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:47:51 +00:00
Scott Gray 98bc4f5311 Applied modified fix for OFBIZ-1113 from Nicolas Malin, GiftCertificateServices.createTransaction() was being passed a null finAccountId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590034 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 11:07:59 +00:00
Scott Gray bcb1d0e008 Small logging fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590027 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 10:34:37 +00:00
Scott Gray 20e6080ba4 Set the userLoginId when storing a new OrderStatus during shipment receipt, this just sets it to the system UserLogin but is better than nothing and fixes a display problem when viewing a completed PO order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590022 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 10:23:31 +00:00
Scott Gray 10961769e7 A few changes to the way auto marketing packages are handled:
1.  No longer producing for the current order only, all orders are taken into account, so we're now trying to produce whatever will get the ATP back to zero.
2.  Only producing what the available components will allow, ie. if we need to produce 10 units but only have enough components for 5 then that's all we'll produce.
3.  Because of (1) no longer associating the production run to the order item via WorkOrderItemFulfillment.
4.  Moved the call to createProductionRunForMktgPackage so that it is called when an order is edited as well (Fixes OFBIZ-714, the marketing package was decomposed when cancelling inventory reservations but not reproduced afterwards).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590004 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 09:34:58 +00:00
Jacopo Cappellato 8ef12b9a7c Removed no more necessary (after recent changes) paginate-target attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590000 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 09:17:03 +00:00
Jacopo Cappellato f38212e289 Increased number of last mrp jobs run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589998 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 09:15:52 +00:00
Jacopo Cappellato a46ab27016 Removed jar file because a different version of the same jar is in the entity component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589993 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 09:01:31 +00:00
David E. Jones 53f4d5cc11 A few cleanups to fail more elegantly when usps rate service isn't setup, ie with the default demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589992 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:55:30 +00:00
Jacopo Cappellato 636cd1992e This is a better solution for the fix about billing account balance in some locale.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589991 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:52:35 +00:00
Hans Bakker 61bd75f2fb Which this change it is possible to directly upload 'digital download' files connected to a product using the latest content management services. These files can be offered on the ecommerce site for download
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589981 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:16:44 +00:00
David E. Jones 1249d1472d Small configuration change to move the bi/olap stuff to a separate database by default in order to avoid startup warnings; note data by default in order to avoid startup warnings; note existing databases with data in these tables will need to be moved to the olap db
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589980 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:08:02 +00:00
Jacopo Cappellato eeeef7847f Applied patch from Guido Amarilla (OFBIZ-1373) to fix the parsing/formatting of the billing account balance in some locale (including Spanish).
This is really a workaround but we should probably improve the widget code to better handle numer fields.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589978 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 07:30:11 +00:00
David E. Jones 2597f80af3 Based on feedback from Adrian changed to merge error messages instead of overwriting them; part of OFBIZ-1237
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589977 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 07:19:17 +00:00
David E. Jones efd9b291fa Reformatting change only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589968 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 05:58:06 +00:00
David E. Jones eb773c62c0 Small change to not add null values to lists, will always throw an NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589967 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 05:57:02 +00:00
David E. Jones 425a271552 Small improvement to returned error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589955 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 04:15:07 +00:00
David E. Jones 6cf89f68c6 Fixed little bug where if the partyId is the same as that in the UserLogin the method was not setting the hasPermission result, whichn then it would not return a hasPermission value, resulting in an error in all such cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589948 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 03:21:40 +00:00
Jacques Le Roux eef8c120dc A patch from Markus Stude "UtilDateTime.toDate(int, int, int, int, int, int) does not initialise milisecond part of created date" (https://issues.apache.org/jira/browse/OFBIZ-1363) - OFBIZ-1363
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589862 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 21:22:40 +00:00
Jacopo Cappellato 8ec2a9814a Misc cleanups to improve old (bad) code that was throwing an error after recent framework updates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589769 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 17:45:59 +00:00
Hans Bakker 64853ccdb4 show data resource image button only when data resource is of type 'image' and do not show text/html buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589554 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:14:30 +00:00
Hans Bakker bcb3806349 fix problem with new/existing edit dataresource button and fix category list on edit dataresource screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589550 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:01:32 +00:00
Scott Gray ea5fcaf371 Okay recommitting rev. 589312, it was right to begin with, just required some fixes elsewhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589529 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 07:17:48 +00:00
David E. Jones d01722a3ce A few cleanups in the PartyContent screen, done while looking into another issue; this stuff is still pretty ugly, but here is a startissue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589526 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:56:03 +00:00
Jacopo Cappellato f7a1b285f0 Fixed errors reported in issue OFBIZ-1224: however the EditCommEvent form really needs to be refactored/rewritten.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589525 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:55:51 +00:00
Hans Bakker 1b5527c12e update title
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589521 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:43:34 +00:00
David E. Jones 202d5c420d Fixed issue with new Blob on the entity level and ByteBuffer on the service level stuff related to persisting actual bytes in the db related to persisting actual bytes in the db instead of an object wrapper; also some improvements to the null value and entity, etc; the main issue here was reported by guo weizhan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:35:19 +00:00
David E. Jones 77d7339a11 Initial commit of delegator futurizing which some new methods that better fit common desired use scenarios; other find methods may be deprecated in the near future
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589514 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:31:05 +00:00
Hans Bakker 8b2ef54dab one change too much in the last commit...reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589507 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:22:35 +00:00
Hans Bakker 687bf0c4f3 add a navigation option to the dataResource option in the content manager using a dojo tree widget to be able to browse dataresources by datacategories. This following Al's example in the website cms function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589503 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:18:08 +00:00
Jacopo Cappellato 6af0ee1862 Applied new patch from Marco Risaliti (OFBIZ-1372), plus additional cleanups I did in the process, to complete the task of pulling out of the product component the code related to the integration with Google Base.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589499 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 05:51:01 +00:00
Jacopo Cappellato 08aaa11bde Added missing import statement as reported in the mailing list; part of issue OFBIZ-1362.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589496 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 05:17:54 +00:00
Scott Gray 7b64ce0c65 Revert my last commit, go to back to drawing board :-)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589323 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 10:19:39 +00:00
Jacopo Cappellato a7b166b891 Divided the keywordsearch.ftl template into two templates to enhance reusability:
keywordsearch.ftl now only displays the search results
keywordsearchactions.ftl displays the actions available on the results list


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589317 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 10:06:56 +00:00
Jacopo Cappellato adab7c94dd Isolated Google Base integration into an indipendent specialpurpose component. Mostly based on the patch contributed by Marco Risaliti in OFBIZ-1372
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589315 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 09:41:52 +00:00
Scott Gray 09c3668b00 Fix CCE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589312 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 09:25:23 +00:00
Jacopo Cappellato 8746f94728 Added label/style to mark the 'group name' field required for party groups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589271 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 05:51:18 +00:00
Scott Gray 0a3a044b9a Don't try to complete the marketing package production run if there aren't enough components available, it just result in an error and confuses order processing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589248 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 23:57:35 +00:00
Jacques Le Roux 04579e0d72 I forgot to commit these changes when commiting rev. 582338. The text was :
This solve the "Quote WorkEffort bug" issue reported by Bilgin Ibryam (https://issues.apache.org/jira/browse/OFBIZ-1180) - OFBIZ-1180.
It does not solve the issue reported in comment https://issues.apache.org/jira/browse/OFBIZ-1180#action_12524674 "Adding WorkEffort to Communications in party manager is also broken due to extending EditWorkEffort." because then we get java.lang.IllegalArgumentException: Could not find screen with name [EditCommEventWorkEffort] in class resource [component://party/widget/partymgr/CommunicationScreens.xml]. But this is another problem : 

I will back port this in release as it does fix a bug (it's possible to add now a workeffort in a quote but was not before)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589200 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 20:04:55 +00:00
Adrian Crum cfb0bb8b4c Moved Party Manager embedded permission checking to new permission checking service.
Some important notes about this commit:

1. This commit changes some of the Party Manager permission checking behavior. The previous extended permission checks (PARTYMGR_CME, PARTYMGR_GRP, PARTYMGR_PCM, PARTYMGR_QAL, PARTYMGR_REL, PARTYMGR_ROLE, PARTYMGR_STS, PARTYMGR_SRC) only checked those permissions, and not the base (PARTYMGR) permission. This commit checks both sets of permissions - PARTYMGR and PARTYMGR_xxx. Example: to create a party relationship the following permissions would be checked - PARTYMGR_CREATE, PARTYMGR_ADMIN, PARTYMGR_REL_CREATE, PARTYMGR_REL_ADMIN.

This change was discussed on the dev ml - http://mail-archives.apache.org/mod_mbox/ofbiz-dev/200710.mbox/%3c47150A51.6080908@hlmksw.com%3e

2. There are a number of security holes in the Party Manager services - some services have no permission checking. I didn't attempt to fix those issues in this commit because I believe they should be discussed on the mailing list first.

3. This commit adds a new error message property (PartyPermissionErrorPartyId) to the PartyUiLabels.properties file. In the international copies of that file I copied an existing error message to the new property - international users should update their versions by replacing "this operation" with "${resourceDescription}".

4. Some of the Party Manager services have not been converted to the new permission checking service - communication events for example. I ran out of time.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589144 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 16:16:25 +00:00
Jacques Le Roux ecb48d58b5 A patch from Adrian Crum "CommonPermissionServices doesn't display service name in permission error message" (https://issues.apache.org/jira/browse/OFBIZ-1371) - OFBIZ-1371
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589134 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 15:24:35 +00:00
Jacques Le Roux 7d6ab522ac Simple formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589112 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 14:22:39 +00:00