Commit Graph
70 Commits
Author SHA1 Message Date
David E. Jones 8a7c6083b9 Added some comments about feature application types to clear up some confusion and misconceptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763515 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:41:23 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Hans Bakker cbbe02a1d8 many cleanups, moved customer requests back into order, fixed the edit contactmech in portal as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:57:09 +00:00
Bruno Busco 32e70a513b Added seed data to have a WebSite entity for every webapp.
The new WebSite entity sets a relation to a VisualThemeSet so that when selecting a VisualTheme, only applicable VisualThemes are available in the VisualTheme Lookup screen.
More work is needed (i.e. move the OrderEntry WebSite from demo to seed) but I need to be sure this is a good direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:42:49 +00:00
Jacques Le Roux 7467abd9da A modified patch from Eric De Maulde "Product image auto scale" '(https://issues.apache.org/jira/browse/OFBIZ-2128) - OFBIZ-2128
I simply added a dynamic directories creation. This patch works but maybe we could use and API for better result (see Jira issue)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739042 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 22:06:32 +00:00
Jacques Le Roux aad8bae98a Removed obsolete permissions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726717 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 15:43:44 +00:00
David E. Jones 3269e7602c Various cleanups dones while reviewing functionality including formatting, refactoring, better descriptions and consistent defaults. In general no functionality change, though did add a default of N for the require return receive setting on the ProductStore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725022 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 07:31:39 +00:00
Jacques Le Roux aa65c1ab6e 2 new promotions rules conditions derived from "Order sub-total X in last Y Months"
respectively 
    "Order sub-total X since beginning of current year" 
and  
    "Order sub-total X last year"
+ some French translation amendments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712167 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:43:24 +00:00
Adrian Crum 50724da6b9 More temporal expression work - additional JavaDocs, code fixups, converted all job sandbox jobs to temporal expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695995 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 18:19:55 +00:00
Jacques Le Roux 1baa53d5b9 A patch from Mridul Pathak "Added support for uploading additional Product Views (images)" (https://issues.apache.org/jira/browse/OFBIZ-1930) - OFBIZ-1930
I fixed an, unrelated to patch, problem in EditProductContentContent.groovy. This is not the 1st time I cross this type of issue. I checked it does not appear on demo server and I guess it was not appearing with bsh  before. I'm not sure of its origin but it seems related to my configuration. I use, from my machine default, "Central European Summer Time" and demo server uses "Central Daylight Time". But I can't see why it affects my machine and not the demo server : there is no origin here (maybe GMT, but obviously it's not the case)
The lines I added are (+ import)
} else {
    fromDate = ObjectType.simpleTypeConvert(fromDate, "Timestamp", null, null, false)    
}
(I intentionnaly let the line without semi-colon as it's not mandatory in Groovy) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689772 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 10:02:47 +00:00
Jacopo Cappellato 795a920fe4 Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components.
Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:12:38 +00:00
Bilgin Ismet Ibryam b9488000af Changed AGGREGATED_CONF product type to physical, needed for inventory reservations.
Another small fix in reserveForInventoryItemInline method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675929 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 12:19:07 +00:00
Jacopo Cappellato 631e4b56cb Added support for non-serialized status to mark items as defective or on-hold and exclude them form the inventory reservation and issuance services; enhanced inventory counting services to consider only non serialized items with an empty status (i.e. exclude on-hold or damaged items) but also added the statusId field so that it is possible to count on-hold or damaged items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664069 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 18:24:20 +00:00
Ashish Vijaywargiya 36bf41ae69 Moved the files to product component suggested by David.
Also improved the naming convention of file for easy maintenance and search purpose for 
the developer/user point of view.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663627 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 14:28:42 +00:00
David E. Jones e4804fe553 Applied patch from Bilgin Ibryam in Jira #OFBIZ-1756 to extend the support for by hours and by days in recurrence info and use them as part of conditions for promotions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658108 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 05:48:51 +00:00
Si Chen 874af06e1b Removing the ability to cancel a packed shipment, which would cause the shipment to be cancelled and yet the inventory has already been issued, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657925 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 19:19:24 +00:00
Jacopo Cappellato 5a0938e0f7 Enhanced the service that pulls materials for production runs out of inventory: some bug fixes plus the ability to specify if reservations can be overriden; useful for materials that are also sold.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644805 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 18:10:10 +00:00
Hans Bakker 034175a4f4 partial implementation of the new Variant selection method. Renamed the selection on the product using the enumeration entity, added some productworker methods. As long as not selected on the product, the current functions of the system are not changed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644221 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 08:33:50 +00:00
Marco Risaliti 5d73342b9e Create a new product store email notification execute on quoteStore event for quote creation status (Part of issue OFBIZ-1658).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@629220 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 20:40:57 +00:00
Bilgin Ismet Ibryam a16275649e Applied my (modified) patch from JIRA Issue # OFBIZ-1453 "store/load possibility for AGGREGATED product configurations".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 17:47:01 +00:00
David E. Jones 8678ac8c5b Changed long-varchar back to id for the customPriceCalcService field; also added comments to make it clear that this points to a Custoso added comments to make it more clear that this points to a CustomMethod and isn't the service name itself; also noted that the field name is misleading for this and one more consistent with patterns used elsewhere would be better, but not really into the idea of changing this right now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597019 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 10:15:42 +00:00
David E. Jones 8f7334ca0a Added another handy ProductContentType
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596071 13f79535-47bb-0310-9956-ffa450edef68
2007-11-18 10:18:07 +00:00
Anil Patel 3cae416ab4 Additional statusItems for InventoryItem. Thanks Vikas.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595296 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 13:10:38 +00:00
Si Chen fa880c3c3f modify dhl template to clarify that EmailAddress is inside each Notify
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593355 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 23:24:49 +00:00
Jacopo Cappellato 1d576f4086 Implemented new screen to search/display the inventory movements (InventoryItemDetails) in a facility.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@592805 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 16:17:53 +00:00
Jacopo Cappellato 85e1c36999 Implemented support (first version) for the definition of custom services to calculate the unit price of a product.
Added new optional field to the calculateProductPrice service: amount (this is the amount specified for the products that require an amount during order entry).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@592455 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 15:28:19 +00:00
Si Chen a50be6760b add support for email address on dhl shipping labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590775 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 18:24:31 +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
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
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
David E. Jones 1eea81fc99 Fixed some seed data errors found with the new entity xml data check feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564564 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 11:43:20 +00:00
Jacopo Cappellato 283331d454 Misc improvements to the Google export:
- improved error handling
- google feed id is now stored in GoodIdentification
- fixed and improved delete and update actions


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562856 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 12:28:09 +00:00
Jacques Le Roux 96fd26f762 Comments out Free shipping in demo data as suggested by David
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562679 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 09:49:45 +00:00
Jacques Le Roux b786040337 A patch from Ashish Vijaywargiya "Email Notification on Shipment SHIPPED" (https://issues.apache.org/jira/browse/OFBIZ-1076)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554200 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 13:26:45 +00:00
David E. Jones d1c0c38d59 Added a recurrenceInfoId and new ProductAssocType for auto-reorders; the idea is to create a ShoppingList on the fly when the main product is purchased based on these associations; the service will likely be triggered with an ECA by the storeOrder service, just as with other ECA rules in applications/order/servicedef/secas.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534912 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 15:47:53 +00:00
David E. Jones bd8db66a09 Small seed data change for ProductTypes to have one for the currently supported automatic manufacturing process, and another for a dynamic package that is assembled during picking
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534288 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 00:22:15 +00:00
Andrew Zeneski 5076cbd082 included patch from Joe Eckard JIRA issue OFBIZ-952; also changed content wrapper to use virtual data if no variant data existed (thought this was already implemented)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534188 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:35:31 +00:00
David E. Jones 9d3e9e8b2c Changed isPhysical from Y to N for SERVICE type Products, based on recent change Andrew did this should fix OFBIZ-229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533430 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 21:48:58 +00:00
Jacopo Cappellato 13085aa316 Expanded seed data (ProductGeo) and ProductWorker method to determine if a product can be sold or can be shipped to a given address.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533014 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 08:32:49 +00:00
David E. Jones a99893c1ff Added some new types for new return stuff for repair replacement and for refurbished equivalent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532864 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 21:07:42 +00:00
David E. Jones ffb29963f6 A few small changes to facilitate handling of certain order and inventory status scenarios; more supporting code should be added that use these in coming weeks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531870 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 10:41:55 +00:00
Andrew Zeneski 9456f3f949 implemented ProductGeo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531220 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 16:17:09 +00:00
Jacopo Cappellato df2a50a3c1 Added reasonEnumId field to the InventoryItemDetail entity to optionally categorize the reasons for the inventory item detail records. Added an example of its usage in the production run management screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530811 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 13:57:27 +00:00
Si Chen 4e84bfb4ea adding missing catalog price maint permission to catalog admin security group
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 16:20:08 +00:00
Si Chen ab274da7ed Implementing logic to handle automatic creation of drop ship groups during checkout
- If a product is set to always drop ship (Product.requirementMethodEnumId == 'PRODRQM_DS').
    - If a product is set to drop ship when inventory is low (Product.requirementMethodEnumId == 'PRODRQM_DSATP'). In this case, item quantities > ATP will be drop shipped.
    - Items are reassigned to ship groups based on supplier.
    - Ship groups are created if necessary.
    - Suppliers are determined using by ProductSupplier.canDropShip == Y, and ProductSupplier.supplierPrefOrderId - main suppliers are used in preference to alternate suppliers.
    - Changing Enumeration.enumId PRODRQM_DSQOH to PRODRQM_DSATP in ProductTypeData.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512373 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:51:52 +00:00
David E. Jones aa4cc8b069 Added another ProductCategoryLink type for linking to other categories
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 10:06:22 +00:00
David E. Jones 8279106743 Some fixed for the view and purchase allow category product add permission code; major cleanup, changed name to better represent and distinguish what it does; also changed OOTB security group setup to better represent how this is intended to be used; now appears to work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507809 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:12:07 +00:00
David E. Jones e273ce0d21 Small tweak to permissions to it will work more as expected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505445 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 19:37:09 +00:00
Alfred Maxwell Byers 2734f35168 All commits related to adding a special permission requirement for Categories that are of the prodCatalogCategoryTypeId = PCCT_VIEW_ALLW and PCCT_PURCH_ALLW.
Two fields, viewAllowPermReqd and purchaseAllowPermReqd were added to ProdCatalog entity and corresponding changes to the admin form.
The "permission-service" approach to security was used for several services in CategoryServices.xml - addProductToCategory, updateProductToCategory, removeProductToCategory
and addProductToCategories.
A permission service, checkCategoryRelatedPermissionService, was added to CategoryServices.xml and the internal calls to the checkCategoryRelatedPermission method were taken
out of those services.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504818 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 08:17:33 +00:00