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
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
Jacques Le Roux
675cb04884
A patch from Skip Dever "Entering a noteId in the AddPartyNote screen causes a foreign key error" ( https://issues.apache.org/jira/browse/OFBIZ-1357 ) - OFBIZ-1357
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589084 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 12:12:49 +00:00
Jacques Le Roux
a874946ebb
A patch from Skip Dever "Property file addition to inhibit shipping estimate rate checks globally or for selected carriers" ( https://issues.apache.org/jira/browse/OFBIZ-1362 ) - OFBIZ-1362
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589081 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 11:51:05 +00:00
Scott Gray
8d9578132a
Reverted part of a commit (rev. 523281) from 6 months ago, was causing problems when trying to quick complete marketing package production runs.
...
Jacopo, if you get a chance could you look this over to see if its the way to go?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589049 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 04:55:55 +00:00
Si Chen
a4e1b62b9c
a few more fields for AcctgTransAndEntries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589041 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 02:19:09 +00:00
Scott Gray
e0b6591129
Pass in the parameters needed for the log message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588895 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 01:28:51 +00:00
Si Chen
fd0ae66c67
Fix potential null exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588864 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 01:19:34 +00:00
Scott Gray
7f02763dfb
Removed unnecessary question mark
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588787 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 22:50:35 +00:00
Scott Gray
3b7b1f330a
Moved a label from ecommerce to order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588786 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 22:46:29 +00:00
Scott Gray
db809ac188
Small typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588779 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 21:19:46 +00:00
Si Chen
9ea8478dab
Added group by glFiscalTypeId to AcctgTransEntryProdSums because without it, subtle bugs may crop up.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588716 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 17:16:02 +00:00
Adrian Crum
085e65e5b8
Eliminated redundant code by switching components over to the common login and password change screens. I didn't change the hand held component - since it will probably need its own login screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 02:29:49 +00:00
David E. Jones
2c522da026
Added indicator field to specify whether or not to split payment preference to one per ship group
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588182 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:51:22 +00:00
David E. Jones
15aa19b1d8
Added a shipGroupSeqId field to the OrderPaymentPreference to make it possible to tie them to a ship group on the order; this is like the orderItemSeqId field that has been around for a while to tie it to an item, and also fills the gap to be able to associate an order item and ship group combination to a payment preference; also added an orderPaymentPreferenceId to the OrderStatus entity so that this entity can also be used for payment preference status changes; related logic/UI changes will be coming along soon
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588181 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:48:53 +00:00
Jacopo Cappellato
ed9b40cdaa
Migrated Store Payment Settings screen to widgets.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587883 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 12:53:51 +00:00
Jacopo Cappellato
69e557362e
Added logic to automatically run the store's promotions that are not set as manualOnly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587496 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:17:45 +00:00
David E. Jones
9eadaacb56
Added a couple of ProductContentTypes for product related policy info
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587494 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:05:09 +00:00
Jacopo Cappellato
e5b671bc7e
Added new field (manualOnly = Y/N) to ProductStorePromoAppl entity to specify if the promotion will be used only when manually applied by the user.
...
Implemented ui to manage the new field; in the process, completely refactored the product store promo screen: ftl/bsh-->widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587459 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 11:20:24 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
David E. Jones
843b157d7b
Added new ProductContentTypes to allow for a different add to cart label or image per product; seed data only change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587234 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:22:25 +00:00
Andrew Zeneski
bd8837b40f
changed party content in ecommerce to use the new party content type features
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587128 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 15:21:39 +00:00
Andrew Zeneski
279af36272
refactored party content to follow the same pattern as the other XxxContent patterns; this includes PK changes to the datamodel, a PartyContentType entity and other minor adjustments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587127 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 15:17:52 +00:00
Jacopo Cappellato
832ceb7be5
Fixed bug reported by Bilgin Ibryam in the dev list: however the code here would really need to be further cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587073 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:41:37 +00:00
Adam Heath
c77ec31ac6
Fix stupid problems with javac and type inference.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586925 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:19:34 +00:00
Timothy Ruppert
bff0c40e77
Fixed put to HashMap issue
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586914 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 16:19:45 +00:00
David E. Jones
2d04f5193c
Added some seed data for vendor shipping info PartyContent for vendor parties, and roles and relationship types for spouse/child
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586883 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 10:51:00 +00:00
Anil Patel
ee27acadb7
Minor NOE fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586859 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 07:28:03 +00:00
Jacques Le Roux
ae76370a04
Replace all www.ofbiz.org by ofbiz.apache.org (mostly links to dtds). Note that there are 2 void links :
...
http://ofbiz.apache.org/service/
http://ofbiz.apache.org/cgi-bin/http_test.pl
Those links were useless before also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586802 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:17:45 +00:00
Andrew Zeneski
69a8365631
reverted partial change from rev 585854 to allow ecommerce to actually allow a user to checkout again. The use of LinkedMap.get(int) is used so this CANNOT be a LinkedHashMap. Ecommerce works again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586670 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 05:44:05 +00:00
Hans Bakker
fbf45d4367
make workkeffort 'assign' services thruDate aware
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586667 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 05:04:08 +00:00
Anil Patel
44eebf4377
CrUD Services and supporting UI for VenderProduct entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 04:39:32 +00:00
Hans Bakker
b5c067b510
do not allow updating timesheet when status is not in progress
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586663 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 03:53:21 +00:00
Anil Patel
d7955584b5
fix link party. Now fin account and userlogin information is migrated when parties are linked.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586555 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:37:12 +00:00
Jacopo Cappellato
5e52cef6f9
Fixed menu selection.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586367 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 10:26:20 +00:00
Hans Bakker
6cd12e59e9
add simple status to timesheet and correct wrong foreign key
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586339 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:57:52 +00:00
Anil Patel
d4d24a577c
Adding Cart Constraints. Using data in product Assoc table, Remove a existing Product in cart if Product added to cart is incompatible/is Upgrade with it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586333 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:50:07 +00:00
Anil Patel
c198ee4225
Adding Export Inventory Item report in CSV format.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586139 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 21:13:18 +00:00
Andrew Zeneski
27b01d1301
changed to only display valid status changes when editing a financial account
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:47:54 +00:00
Scott Gray
d351c67cb3
Avoid NPE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585907 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 09:10:09 +00:00
Adam Heath
f67fa00c43
Remove most uses of LinkedMap, and replace with LinkedHashMap.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585854 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:11:26 +00:00
Adam Heath
b420ea54d4
Java 1.5 markup for DelegatorInterface and GenericDelegator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585845 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 03:56:10 +00:00
Adam Heath
36d965155a
Java 1.5 markup for entity condition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585835 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 03:43:26 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Adam Heath
56ae98f437
Make use of UtilCache.findCache.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585801 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:41:30 +00:00
Adam Heath
5048936900
Switch to collections class, from Vector/Hashtable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585788 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:18:34 +00:00
Adam Heath
71d20cbc48
Use the single-arg variant of findAllCache.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585785 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:14:31 +00:00