Thursday, February 22, 2007

OFBIZ Development r510730

SVN r 510730 builds and installs successfully. However, you may experience problems with this build due to an issue with the "request-redirect" controller request (see http://issues.apache.org/jira/browse/OFBIZ-750). Significant changes this week include:
  1. Full integration of the DOJO toolkit
  2. New DOJO-based content management for websites
  3. Support for invoicing of drop shipments
  4. Support for package weights during order packing
Accounting
  • Support of creation of both sales and purchase 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. (r 510664)
Base and Framework
  • Parametrize javascripts files in simple global template. (r 509749)
  • visual and code cleanups to the main webtools page (r 509766)
  • added new object to request to keep the actual request processed; used when default request kicks in (r 509877)
  • gave the main content area a ID tag of "content-main-section" (r 510680)
  • added some new styles (r 510681)
  • added some ways to plug into the screen widget from outside (r 510682)
Content
  • implemented entities for website -> content publish (and HTML meta data) assoc; WebSite path aliases; CRUD services and seed data (r 509860, 509872)
  • added placeholder for content rendering; added code which does path aliasing (r 509878)
  • Fix potential null result in ContentManagementServices.java (r 510172)
  • fixed bugs/problems with internal content management services; missing map-name, added eca to ensure party role, fixed updat/createTextContent services to auto-update association as well (r 510337)
  • fixed path alias to reference content directly, instead of having to go through a path format (r 510683)
  • some basic CMS events; will render full page content; updated worker methods to call into screen widget to decorate when using a proper template (r 510684)
  • added dojo based WebSite CMS admin sreens (r 510691)
Multiple Components
  • excluded some duplicate fields from view entities (r 509942, 509443)
Order
  • Made the Create As New Order button on order items accessible on all sales orders (r 509727)
  • add missing external login so quick receive PO items doesn't cause a login screen to be shown (r 509735)
  • The checkCreateDropShipPurchaseOrders service has been set to run as system user in SECA after storeOrder, or ecommerce store orders could not be processed properlY (r 510213)
  • Support of creation of both sales and purchase 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. (r 510664)
Party
  • improve the lookup of userlogins in the party manager (r 509524)
Product
  • 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 (r 509763)
  • update inventory transfer now checks for valid status change (r 510168)
  • Added another ProductCategoryLink type for linking to other categories (r 510455)
  • Support of creation of both sales and purchase 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. (r 510664)
Seed Data
  • Seed and demo data for purchasing agreement with text descriptions (r 509679, 509998, 510118)
  • Set weigh UOM to lb for demo warehouse (r 509680)
Web Tools
  • Added page for importing from readers; this is especially helpful when updating a server and you need to refresh the seed data, but of course there are many other uses (r 509764)
  • Plugged a rather dangerous security hole: entity import/export services only required auth to run and had no permission checking, they now require the ENTITY_MAINT permission (r 509769)
Work Effort
  • New WorkEffort look up with only few fields in Find form (r 510162)
  • on the 'mytask' list in workeffort show also the assigned production run tasks (r 510412)
eCommerce
  • Added cache and filter by date to the ProductCategoryLinks query (r 509888)
  • Small formatted change, more consolidated text to the product category link (r 509934)
  • Fixed bug in ecommerce product page which was coming back to same page after login or changing language (r 509990)
  • Added another ProductCategoryLink type for linking to other categories (r 510455)
  • Changed ProductCategoryLink template to use information from the category from the new link type if there is not corresponding detail on the PCL record. Added pcategory parameter, and also changed to use the /~= style to be search engine friendly (r 510487, 510505, 510529)
  • added some misc templates for content (r 510679)
  • added CMS event; and default-request (to CMS) (r 510690)

Monday, February 19, 2007

OFBIZ Development r509270

108 new commits since last Friday. Significant changes include:
  1. Continued work on new service permissions
  2. New content and data resource related permissions
  3. RSS feed for blogs in ecommerce module
  4. Improvements to order entry and order packing, including new order terms and shipping charges

Asset Maintenance
  • Cleans up assetmaint's controller file by increasing use of the include element and removing the redundant entries. (r 505862)
Base and Framework
  • If the include-user-login attribute for the minilang service call methods is not set or it is true, the user login is put in the context but only if in the context there is not already a user login. (r 505482)
  • changed the max in site-conf.xsd to unbounded for the include element so represent how it is actually implemented (r 505674)
  • Now the HtmlFormWrapper object can be created using the old relative paths to the form def file or the new component:// sintax. (r 505882)
  • Converted pt and px to em and color names to hex values in maincss.css (r 505905, 506081)
  • updated common permision service to allow calling methods to set the mainAction (r 506211)
  • Updated fop jars 0.93 and xmlgraphics to 1.1 (r 506261, 506263)
  • Added jdom 1.0 and rome 0.9 libraries (r 507362)
  • event handlers can now get access to the request handler from the servlet context (r 507363)
  • implemented RomeEventHandler; calls a service (should implement the rssFeedInterface which returns a WireFeed object) to generate a RSS feed; returns the feed to the browser (r 507364)
  • Added missing commit to fix image uploading problem. (r 507432)
  • Updated xsd schemas (r 507545)
  • implemented if-service-permission tag for screen widget (r 507546)
  • minor cleanups to modelservice.java (r 507547)
  • can now use primary and alternate permission as a service call; enabled required parameters to be passed in through the definition as well as inline minilang (r 507548)
  • implemented if-service-permission for Menu Widgets (r 507654, 507565)
  • Added entity labels for simplified chinese. (r 507568)
  • Small improvements to the permission-service code to show service name in exception messages, and to throw a descriptive exception instead of an NPE with no hasPermission field is returned from a permission-service (r 507808)
  • added special context-map in screen widget to allow pre-filling fields in actions to pass to the security serivice; using this will help prevent overriding fields when not intending to (r 508090)
  • Service ECA actions can now specify to run in a new transaction (r 508207)
  • eca set operation now uses the flexible string expander to access additional data from the context (r 508236)
  • fixed big bug in using default-value with override parameters; effected groups and implemented services w/ overrides (r 508566)
  • Changed footers for new ofbiz url (r 508871)
  • Small change to an error message to show the name of the permission-service (r 508884)
  • implemented default request for web applications; setting a default-request will forward all requests which do not have a valid mapping to this specific request. Here you can process additional information, forward to a landing page, etc (r 5090668)
  • Added _REQUEST_HANDLER_ to request attribute, in addition to its place in the ServletContext (r 509127)
  • Added some styles for the new ProductCategoryLink screen (r 509165)
  • parametrized the javascripts files imported in the global header templates. (r 509270)
Content
  • Implemented initial pass of content permission services (r 506196)
  • implemented VIEW permission; added logic to support calling specialized methods alone as services (calls main permission checking now as well) (r 506212)
  • Add CommunicationEvent.fromString, toString, ccString, bccString, headerString Adding these four fields and logic to populate them from email headers in storeIncomingEmail service (r 506544, 507650)
  • Fixing location in removeCommEventContentAssoc service definition (r 507290)
  • added ownerContentId to missing content service definition (r 507300)
  • updated content permission services; add more documentation; fixed variables so they do not conflict (r 507591)
  • implemeted createContent, updateContent (updated) deleteContent CRUD services in simple method format; will be replacing the java methods soon (r 507619)
  • added new content security data (r 507981)
  • major revision of content permission services (r 508571)
  • updated display of content assoc; now shows map key field (r 508572)
  • added DataResource permissions (r 508967)
  • formatting changes to content permission services (r 508990)
Entity Model
  • Implemented new entity for PartyInvitation (r 506197, 506293, 507099)
Marketing
  • replace the deprecated list-iterator-name with list-name. (r 505889)
Multiple Components
  • replaced all relative path form resource names with their component:// equivalent when an HtmlFormWrapper object is created. (r 505886)
  • Fixed instances of hardwired /images instead of ofbizContentUrl in FTL files (r 507435)
  • ASL2 header cleanup (r 508913)
Order
  • Changed requestParameters to parameters in a bunch of places, as that is the one that should nearly always be usedfor consistency, and to support the request to session etc defaulting pattern; also removed a number of statements to manually create the Map instead of using the one always created by the Screen Widget (r 506575)
  • Fix pagination bug with order manager orderlist (r 507490)
  • no longer set quantity for adding items to order based on last item added in ordermgr order entry, which was a bit confusing (r 508144)
  • Fixed an order manager order entry so that now if you don't enter product id during order entry, it'll return an error message (r 508223)
  • Adding missing addCategoryDefaults request-map to ordermgr controller (r 508448)
  • Implemented new ORDER_HOLD status, so approved orders can be put on hold, and held orders can be moved back to approved or canceled. Put a button for it on order view page. (r 508470, 508473)
  • Moved the create as new order button on the orderview page next to the edit items button, instead of way down at the bottom below the order notes (r 508576)
  • Added description field to AgreementTerm so that the terms can have text as well as numeric values. Added some demo seed data and code to push agreement terms to order terms to invoice terms. (r 508580)
  • Fixed bug with refunds for offline payments (r 508633)
Party
  • Fixed a few problems with the findParty service and it's screen (r 505761)
Point Of Sales
  • Replace a "==" by an equals. (r 507237)
Product
  • Removed CATALOG_VIEW_ALLOW and CATALOG_PURCHASE_ALLOW permissions from the CATALOGADMIN_LTD security group (r 505445)
  • Moved the initialization of the two physical inventory variances forms in the Edit inventory item screen from bsh/ftl to the screen def. (r 505649, 505715)
  • Changed USPS rate estimate service to use the default.weight.uom.id set in shipment.properties rather than always WT_oz (r 506763)
  • Made a change to a CategoryWorker 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 (r 506799, 506910)
  • Implemented new category permission services using the permission-service wrapper (r 507431)
  • Small fix to add categoryName edit box on category content screen (r 507437)
  • Include a way to specify the bill to party for Approved Product Requirements by Vendor form (r 507694)
  • Added call to checkCategoryRelatedPermissionService to safeAddProductToCategory service (r 507713)
  • Fixed bug introduced by new picklist reports. The picklist will now work on items which do not have explicitly defined locations in the warehouse. (r 507758)
  • 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 (r 507773)
  • 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 (r 507809, 507810)
  • Changed USPS rate estimate service to use RateV2Request which is now required, at least on the production.shippingapis.com website. (r 508287)
  • Replaced CatalogWorker by CategoryWorker where needed (r 508363)
  • Put field for additional shipping charge in PackOrder screen which would pass it to createShipment and record it as Shipment.additionalShippingCharge (r 508458, 508531)
  • Default ship group seq to 00001 on the pack order screen (r 508554)
  • For USPS Parcel Post rate estimates, the minimum weight must be 1 lb (r 508708)
  • Modified subscription generating services to set the orderItemSeqId field in the Subscription entity. (r 508722)
  • Not quite finished product export utility. Available off the keyword search page of the catalog manager (r 508723)
  • Formatting fixes to catalog manager find screens (r 508726)
  • Improvements in catalog/store french labels. (r 508797)
  • Some visual cleanups and an enhancement to see more details related to the inventory item (r 508869)
  • Added custom feature export piece. (r 508870)
  • Fixed bug with safe add product to category service (r 508885)
  • 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 (r 509142)
  • 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 (r 509164)
  • Added ProductCategoryLink screenlet, included from the categorydetail screen (r 509167)
Seed Data
  • Changing the service code for USPS Standard to Parcel from Priority, as Priority service only works with their web API for certain container types (r 508288)
Web Tools
  • Fix up error messages in the webtools component (r 506219)
  • New features to run services synchronously in webtools (r 507567)
  • Layout improvements to the Webtools main page from Adrian Crum (r 507858)
eCommerce
  • Changed requestParameters to parameters in a bunch of places, as that is the one that should nearly always be usedfor consistency, and to support the request to session etc defaulting pattern; also removed a number of statements to manually create the Map instead of using the one always created by the Screen Widget (r 506575)
  • Clean up ecommerce blog features (r 507302)
  • first pass of RSS feeds for blogs (r 507365, 507366)
  • Fixed a bug where After choosing Sidedeepcategory and then getting loged in it shows the error like - "Product Category Not Found for this Id" (r 507698, 507737, 508502)

Friday, February 09, 2007

OFBIZ Development r505358

40 new commits this week. OFBIZ SVN r 505358 builds and installs successfully. Significant changes include:
  1. Support for FedEx shipping using the FedEx Ship Manager Direct web API.
  2. opentaps CRM now has a functional HTML email client and can process inbound and outbound emails, including associating them with customer service Cases.
  3. New invoice screens in opentaps Financials, and new support for accounting of third-party and virtual inventory.

Accounting
  • add feature to create product maint plan based on template workeffort (r 503298, 503516)
  • capitalizing the ui label for Invoice ID (r 504346)
  • Added new screens and services to manage the AgreementGeoApplicability entity. (r 504496)
  • Allow the createPaymentApplication service to accept overrideGlAccountId as an optional parameter (r 504637)
  • new gl account for paypal receivables (r 504769)
Asset Maintenance
  • Added missing setSessionLocale request mapping to assetmaint component (r 503651)
  • Tab bar is now shown when New FixedAssetMaint is created in Asset Maint component and also when TimeEntry is deleted. The patch also includes a minor lookup form change. (r 505233)
Base and Framework
  • Made a simple fix in ModelService evalPermission. (r 504815)
  • Put a test for null result map in ServiceMultiEventHandler like that in ServiceEventHandler. (r 504816)
  • Changed a number of places to use File.toURI().toURL() instead of just File.toURL(); (r 505358)
Content
  • A bunch of fixes to get the Content admin to upload and display the images under the "DataResource" tab. (r 505079)
Manufacturing
  • Misc improvements to the Italian labels for manufacturing operations. (r 503605)
Order
  • pagination of order list page in order manager (r 503391, 503427, 503519)
  • fix bug in order entry payments screen to support the Safari browser (r 504389)
  • Fixed a bug in order manager's quick finalize order which was causing shipping costs to be left off the order. (r 504458)
  • Fixed a couple of references to PartyGroup.description which isn't a valid field of PartyGroup (r 504475)
Party
  • add a view to list all subscriptions for a communication event (r 503576)
Product
  • Fix a bug with sequence of inventory item reservations for orders: FIFO and LIFO were reversed (r 502824)
  • Category -> Products tab show small image for each product in catalog manager (r 503925, 503943)
  • Allow change of InventoryItem owner party when receiving or updating inventory (r 504233)
  • Added new ProductCategoryLink entity and supporting seed data (r 504333)
  • Added new services and screens to manage the QuantityBreak entity. (r 504515)
  • 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. (r 504818)
  • Support for FedEx subscription and ship requests via FedEx Ship Manager Direct API (r 504996, 504997, 504998, 505094)
  • When applying features to products, the dropdowns now default to Selectable if the product is virtual otherwise they default to Standard (r 505225)
  • Reverted prepending of feature idcodes with "-" (r 495891) (r 505229)
  • Formatting fixes (r 505230)
eCommerce
  • Removed a redundant request map from the ecommerce controller, the event method doesn't exist and the request isn't called anywhere. (r 505202)
  • Fixed issue where the categoryName was not being used in mini last product searches, last viewed categories, and breadcrumbs (r 505134, 505350)

Friday, February 02, 2007

OFBiz Development r502669

52 new commits this week. SVN r 502669 builds and installs successfully. Significant changes this week include:
  1. Significant improvements to the order entry flow in ordermgr
  2. General cleanup and bug fixes
  3. Scott Gray, aka "lektran," is now an Apache OFBIZ committer.
Accounting
  • Wrong service invocation when removing Agreement Item Term (r 500947)
  • Commented out code which auto-filled in PaymentApplication.billingAccountId from Invoice.billingAccountId, which will cause problems when there are multiple payment methods (r 502651)
Asset Maintenance
  • fixes Asset Maintenance entity warnings on startup (r 500933)
  • Fixed bad links (r 500965)
  • fixed some td heights in assetmaint's appbar (r 502525)
Base and Framework
  • remove unnecessary font property assignments in maincss.css (r 500512, 500646)
  • minilang annotations (r 500683, 500807, 501760)
  • Some cleanups in DatabaseUtil, especially to show stack traces to make it easier to track down problems, like the autoconnect setting problem which is a no-no when there is a transaction in place, should now work properly (r 501220)
  • Added require-new-transaction and transaction-timeout to minilang call-service operation (r 501646)
Content
  • Fixed email worker to set content name to subject + number when there is no file name (r 500985, 501710)
  • Fixed bad formatting (r 501711, 501715)
Entity Model
  • add template workEffortId to the ProductMaint entity (r 501963)
Multiple Components
  • Chinese UI translations (r 502130)
  • Fixed cases of using hardwired /images instead of <@ofbizContentUrl> in .ftl files (r 502282)
Order
  • The productId will no longer automatically show up again on order mgr order entry form after adding a product to cart. (r 500469)
  • Improved the approved requirements form in order requirements to show additional information, including supplier, inventory, and sales information. (r 501216, 501218, 501633, 501644, 501970, 502040)
  • Fix bug in displaying order items when using old style calcTax service (r 501521)
  • replace harcoded UI labels in Order and Requirement Screens (r 501789)
  • Show the receive payment and cancel links in the order header for EXT_COD orders (r 502327)
  • Hide the create customer link in the order shortcuts if there are no items in the cart (r 502329)
  • Change 'Create New' label in shipment settings checkout screen to 'Create New Shipping Address' (r 502330)
  • Workflow improvements in ordermgr checkout: - Directing successful create-customer requests to the EditShipAddress screen, via the new checkout parameter 'finalizeReqNewShipAddress' - Adding COD as a payment option in the non-quick checkout flows and fixed offline payments. - Fixed bug which occurs after creating a new credit card. - Errors during payment creations now get redirected back to payments page instead of to beginning of checkout process. (r 502340)
  • COD option should be hidden when the 'create new' link is clicked in the payment screen (same as offline option) (r 502371)
  • In ordermgr checkout, directing errors from createPostalAddress back to EditShipAddress instead of shipsetting, so that the error message makes sense and refers to what's on the screen. Also repopulating address fields with parameters in case of error. (r 502669)
Party
  • Party classifications parties are now clickable and show names (r 501562)
  • Viewing Party Communication Event bug fix (r 502553)
Product
  • Fix ZIP code and weight conversion for USPS Rate Estimate (r 500523)
  • Removed scheduled service call to updateShipmentFromStaging which no longer exists (r 500764)
  • fixes layout problem which was causing elements to overlap on the Quick Add Product Variants screen in catalog manager (r 500936, 500941)
  • Shorten the minimum order quantity field name. It's too long for most forms. (r 501968)
  • Changed the checking of conditions for a virtual product if the main product is a variant to be done when it is a category condition, and added a note to continue not doing it for feature conditions (r 501542)
  • add template workEffortId to the ProductMaint entity (r 501963)
Seed Data
  • add mapping from sales invoice to service product item (r 500751)
  • Fixed demo shipping data problem where multiple ShippingCostEstimates are sharing a single QuantityBreak, which prevents the ShippingCostEstimates from being deleted via the UI (r 500942)
Web Tools
  • Fix check database pages in webtools (r 501221, 501225)
  • Added formlet to remove a single table for an entity (r 501304)
eCommerce
  • shipping estimates will show "calculated offline" instead of (1.00) when shipping estimates are not available (r 500739)
  • Fix potential hacking of ecommerce by plugging in a different orderId (r 501733)
opentaps Financials
  • Enhanced payment view and entry screens which uses the payment methods on file for a customer
  • Support for Payment.overrideGlAccountId in payment posting services
  • inventory importing has been moved to data import module
opentaps CRMSFA
  • Activity entry now allows specifying date range of start date and duration
  • Activities search now allows specifying date/time as a dropdown
  • OFBIZ customers (BILL_TO_CUSTOMER) are now automatically enabled as CRMSFA contacts
  • SALES_REP is automatically created and associated with order entry user
  • Remove content feature to remove association of files/bookmarks with activities/cases/opportunities or accounts/leads/contacts.