Commit Graph
391 Commits
Author SHA1 Message Date
Jacopo Cappellato 9981246af8 This is a PoC about how action and event attributes can be used in multi form to trigger the auto selection of the record when the user enters data; however it is still not optimal because I have hardcoded the _o_ suffix index separator.
Is there a variable in the context of the form that we can use to get it?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514128 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 11:24:29 +00:00
Jacopo Cappellato ec0cf78118 Fixed tab bar selection.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514124 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 10:54:56 +00:00
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +00:00
Si Chen b3decac966 calcshipmentcostestimate service now returns carrier party id and shipment method type if it actually fails
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513933 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 20:32:42 +00:00
Si Chen 34ea94a044 Added the capability to filter product searches by Product.introductionDate and Product.salesDiscontinuationDate. Adding the AVAILABILITY_FILTER="true" form parameter results in the addition of an AvailabilityDateConstraint object to the ProductSearchSession. Not currently used in any forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513916 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 19:51:35 +00:00
Si Chen d1ae3718c5 remove bad field from a previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512876 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:55:38 +00:00
David E. Jones ad4a7ca28c Some small cleanups and an enhancement for the ListPriceRangeConstraint parameters in ProductSearchSession to be more flexible, especially with a single parameter for both low and high values
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512564 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:14:51 +00:00
David E. Jones 9b76fb8688 Implemented the rest of the ListPriceRangeConstraint ProductSearch constraint
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512532 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:51:04 +00:00
Si Chen 5a4ab7f4bf Set default available from date of now and default min order qty of 0 for new supplier products
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512502 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 23:55:51 +00:00
Jacques Le Roux cd5733729b A patch from Bilgin Ibryam "Wrong fieldlookup image url" (https://issues.apache.org/jira/browse/OFBIZ-764).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512472 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:56:45 +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
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
Jacopo Cappellato d521f0c604 Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
Jacopo Cappellato 56fa69ae48 Pretty important change to data model to allow more flexible shipping rules per store:
the primary key of the entity ProductStoreShipmentMeth is no more composed by:
  productStoreId
  shipmentMethodTypeId
  partyId
  roleTypeId

but by one (new) pk field :
productStoreShipMethId

Also modified existing business rules and demo data to reflect this change.
OFBIZ-735


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511250 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:07:08 +00:00
Jacopo Cappellato cd04987097 Added support for deleting empty bins and for removing items from bins.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511011 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 16:25:08 +00:00
Jacopo Cappellato a1c2662832 Improved isBinComplete method to better handle empty bins.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510992 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 15:54:11 +00:00
David E. Jones a623cca834 Added an option configured on the ProductStore to not require a shipping address when purchasing only digital products, ie no physical products; this is supported right now only in the long anonymous checkout process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510976 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 15:11:50 +00:00
Scott Gray 6e3dbc32ef Applied patch from Anil Patel OFBIZ-739 with a few clean-ups/corrections, implements returning parts issued to a fixed asset maintenance and also improves the services for issuing parts.
A couple of other clean-ups included:
Corrected javascript includes due to OFBIZ-740
Corrected spelling of issuence to issuance

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510920 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 12:05:39 +00:00
Si Chen 2c8e6a231d OFBIZ-734
- Hiding per-line weight entry in favour of per-package weight entry
- Storing package weights and weightUomId in the PackingSession, plus supporting methods
- Populating ShipmentPackage.weight, ShipmentPackage.weightUomId, ShipmentRouteSegment.billingWeight and  ShipmentRouteSegment.billingWeightUomId when packing session is completed
- Introducing calcPackSessionAdditionalShippingCharge service to total package weights and call the PackingSession.getShipmentCostEstimate method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510730 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:26:42 +00:00
Si Chen e7670d5bd5 OFBIZ-733: Create invoices for drop ship orders
- Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true.
- Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter.
- Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received
- Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.
- Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:49:10 +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
Si Chen 05cb30c248 update inventory transfer now checks for valid status change. Thanks to Joe Eckard. OFBIZ-727
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510168 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 19:46:21 +00:00
Jacopo Cappellato fd7af35cad The product component is a lower level component than the order component: we should move the code that uses the resources from the order component to that component instead of making the product component dependent of it.
Thanks to Joe Eckard for the patch (OFBIZ-741).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509936 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 08:30:45 +00:00
Hans Bakker bc6b7989a7 current fresh checkout of ofbiz does not compile. commented out the offending lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509930 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 07:59:11 +00:00
Si Chen 3a10541a16 OFBIZ-734
- Added UI for entering weights in the PackOrder screen as items are packed, plus supporting changes to PackingServices and  packBulkItems service definition
- Added supporting methods to PackingSession and PackingSessionLine classes
- Added overloaded getShipmentCostEstimate method to PackingSession
- Used in PackOrder screen to display shipment cost estimates for initial ship group and packed items

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509763 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 21:34:42 +00:00
Andrew Zeneski 27332b5eec added example of using DOJO resizable text areas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509305 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:22:45 +00:00
David E. Jones 168b76d90f A few misc cleanups for layout, etc; made ProductSearchSession URL parameters more flexible and added a method to turn search constraints and sort order into a parameter string, which is now used in the catalog manager search results page to make it easy to reproduce the search constraints
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509164 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 11:36:08 +00:00
David E. Jones f24bece78f Fixed problem with categories that only have a name, and changed it to use the CategoryContentWrapper instead of getting the fields directly from the entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509142 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 09:52:47 +00:00
David E. Jones 974f1f5265 Fixed bug reported by Si, probably happening for categories that were not associated with a catalog and caused by recent new security code; Jira #OFBIZ-731
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508885 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 07:29:10 +00:00
Alfred Maxwell Byers 5bd704e677 Added custom feature export piece.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508870 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 05:37:18 +00:00
David E. Jones 1fe9feffb2 Some visual cleanups and an enhancement to see more details related to the inventory item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508869 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 05:33:27 +00:00
Jacques Le Roux c99b99f228 Improvements in catalog/store french labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508797 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 19:23:32 +00:00
Jacopo Cappellato 2739b0abc7 Very minor formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508726 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 08:11:06 +00:00
Alfred Maxwell Byers afc0a0401c Not quite finished product export utility. Available off the keyword search page of the catalog manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508723 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 07:57:29 +00:00
Alfred Maxwell Byers ac8ea4b89f Modified subscription generating services to set the orderItemSeqId field in the Subscription entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508722 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 07:54:44 +00:00
Si Chen 201f959816 For USPS Parcel Post rate estimates, the minimum weight must be 1 lb
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508708 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 04:42:11 +00:00
Si Chen 4a20ec15f9 Default ship group seq to 00001 on the pack order screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508554 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:02:42 +00:00
Si Chen 362a4b461b Layout changes for additionalShippingCharge field in PackOrder screen, and clearing the additional shipping charge from the packing session after packing completion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508531 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 18:40:22 +00:00
Si Chen aecad2aad5 Setting additional shipping charge in PackOrder screen:
Added additionalShippingCharge field in FTL
Added additionalShippingCharge optional parameter to completePack service
Added additionalShippingCharge field/accessor/mutator to PackingSession class, and passing it in the createShipment method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508458 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 15:49:44 +00:00
Jacques Le Roux 937eee54d0 Replaced CatalogWorker by CategoryWorker where needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508363 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 10:55:35 +00:00
Si Chen 7b8bae8f0f Changed USPS rate estimate service to use RateV2Request which is now required, at least on the production.shippingapis.com website.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508287 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 02:52:55 +00:00
David E. Jones cb5522a0f2 Removed testing log messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507810 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:17:31 +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
Si Chen be3547cd18 reverting back to the older version of the facility inventory screen so that it will work correctly when there are no inventory items yet for products which have product facility minimum stock settings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507773 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 01:54:44 +00:00
Si Chen c9e3772bc3 Fixed bug introduced by new picklist reports. The picklist will now work on items which do not have explicitly defined locations in the warehouse. OFBIZ-723
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507758 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 00:43:26 +00:00
Alfred Maxwell Byers 35dc8b8d0a Added <permission-service service-name="checkCategoryRelatedPermissionService" main-action="CREATE"/>
to safeAddProductToCategory service.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507713 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 22:15:06 +00:00
David E. Jones 36cc0d985e Small fix to add categoryName edit box on category content screen, small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507437 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:38:28 +00:00
David E. Jones b10f2f3055 Applied patch from Ashish in Jira #OFBIZ-717; also did a number of cleanups and reorganized product service defs to group better; changed this to use the category permission service (was using the product one, and patch had a new product permission service instead of using the existing one, which now has a permission-service style wrapper around it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507431 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:05:53 +00:00
David E. Jones e648f60343 Fixed compile error, there was some broken code because of CategoryWorker changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506910 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 08:38:27 +00:00
David E. Jones d3f93b42d7 Made a change so that if a pcategory is passed in but not in the list it will start over with TOP plus that category in the list for the category trail (used in the sidedeepcategory, etc); this makes it possible to have links that open 2 levels deep instead of just the top level
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506799 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 01:52:43 +00:00