Saturday, March 03, 2007

OFBIZ Development r514134

72 new commits this week. SVN r 514134 builds and installs successfully. Significant changes this week:
  1. Improvements to content management module
  2. Improvements to use of CSS in form, screen, menu widgets
  3. Support for automatically creating ship groups for drop ship orders
  4. Fixed problems with request-redirect
  5. opentaps Financials now supports recurring invoices, scheduled transaction postings, and multi-vendor payment screens.
Accounting
  • Clean up form widget headers (r 511769)
  • Added a new field of scheduledPostingDate to AcctgTrans and modified postAcctgTrans not to post if the current date time is before is before the scheduled posting time (r 511942)
  • Updated check PDF for FOP 0.93 and beyond. (r 513886)
  • Avoid null return adjustment amounts when creating return invoices (r 514056)
Asset Maintenance
  • Improved returning parts issued to a fixed asset maintenance and the services for issuing parts (r 510920)
Base and Framework
  • default-request now gets included in webapp ConfigXMLReader (r 510376)
  • Fix misplaced action tags in CommonScreens (r 510763)
  • Put a test on the "this.args" to prevent lookup_popup2 from blowing up if there are none. (r 510849)
  • Fixed an odd bugg in some decorator (screen and template) code where the screens object was pointing to the wrong context, making certain variables that should have been available not available, especially in cases where the ScreenRenderer screens object is used (r 510962, 510964)
  • Fix the screen renderer to prevent the creation of empty elements when there is no text to display. (r 511239)
  • Small improvements to the way Long are transformed to Strings in StringUtil. (r 511260)
  • fixed bug in route engine not returning proper OUT parameters (r 512458)
  • added div ID to the messages area in CommonScreens; so we can utilize this in ajax requests (r 512513)
  • Added hhfacility and assetmaint src directories for eclipse classpath file (r 512601)
  • fixed javadoc error in UtilHttp (r 512865)
  • added method to UtilHttp to send file name to browser when streaming data (r 512946)
  • removing RequestHandler from request attributes before a request-redirect. Now request-redirect works again. (r 513430)
  • refactor/reorganize according to best practices the backoffice cascading stylesheets definitions (r 514097)
  • refactor form, menu, tree widget styles management (now mostly all the styles are defined externally using css) (r 514099)
  • Html form renderer now escapes special caracters in text boxex (r 514110)
  • The widget form field action attribute is now stored with a flexible string; very useful to specify dynamic javascripts (such as an automatic row selection script for multiforms). (r 514118)
  • 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. (r 514128)
  • Removed no more needed style definitions from form widgets (r 514134)
Content
  • better handling of websites w/ no publish points and of content w/ no data resources (r 510737)
  • now setting the dataResourceName in website cms (r 510741)
  • Removed request-redirect returns in the content manager controller (r 510756)
  • Refactored content upload service to support other data resource types and use mimetype. Data resource services now moved to DataServices.xml (r 512356, 512510)
  • Put results of ECAs to context with DataText services (r 512458)
  • implemented new data resource types for AUDIO/VIDEO content (r 512471)
  • added meta-data for content "pages" (quick entry, creates sub-content records); added new data types to CMS, Image, Object, Video, etc (r 512581)
  • added sub-content rendering so CMS can render HTML meta-tags (r 512592)
  • added isPublic to CMS creation; changed isPublic from checkbox to default select so we can actually turn it off once it is enabled (r 512841, 513018)
  • now upload services returns the decided mimeTypeId so it is properly reflected on the content record (r 513020)
  • 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 (r 513985, 513986)
Entity Model
  • Pretty important change to data model to allow more flexible shipping rules per store. ProductStoreShipmentMeth's primary key is no longer composed of productStoreId, shipmentMethodTypeId, partyId, roleTypeId but just productStoreShipMethId (r 511250)
Multiple Components
  • remove unnecessary casts and import statements in some java code. (r 511251, 511254)
  • Making standard hourly rate the default entry in party rate and timesheet dropdowns (r 511343)
  • Fix bad fieldlookup image urls (r 512472)
Order
  • Fix wrong form tag for requirement form (r 510764)
  • Fix potential NPE on approved requirements screen (r 510827)
  • Find requirements screen will now return all requirements if no parameters are specified (r 510841)
  • Get requirements for supplier now assumes a default quantity of 1 to avoid NPEs (r 510846)
  • Use productCategoryId from screen widget instead of request attributes in categorydetail bsh (r 510965)
  • Implemented 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. (r 512373)
  • Cleaned up set ship item groups page in order checkout to display drop ship items better (r 512376)
  • made the create return button same as the others on the screen on the orderview screen (r 512503)
  • Changed a getRelatedOne for basically seed data to be cached in the product detail page of order entry (r 512505)
  • Disable updating of shipping method for purchase orders. (r 512870)
Party
  • New French translations (r 510864)
  • fixed up some css styles in viewprofile page (r 512348)
  • refactor the layout of the partymgr application according to the new css/patterns (r 514106)
Product
  • Improved isBinComplete method to better handle empty bins during order picking (r 510992)
  • Added support for deleting empty bins and for removing items from bins during order picking (r 511011)
  • Pretty important change to data model to allow more flexible shipping rules per store. ProductStoreShipmentMeth's primary key is no longer composed of productStoreId, shipmentMethodTypeId, partyId, roleTypeId but just productStoreShipMethId (r 511250)
  • Set default available from date of now and default min order qty of 0 for new supplier products (r 512502, 512876)
  • 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. (r 513916)
  • calcshipmentcostestimate service now returns carrier party id and shipment method type if it actually fails (r 513933)
  • Fixed tab bar selection for facility inventory screen (r 514124)
Seed Data
  • Added some demo data for CAT_ID type links (r 510932)
  • added additional mime types for audio/video (r 513008, 513056)
Web Tools
  • Moved ViewLog link to the main page of webtools (r 511243)
  • Webtools entity import directory will now re-try failed files (r 513211)
eCommerce
  • Fixed an odd bugg in some decorator (screen and template) code where the screens object was pointing to the wrong context, making certain variables that should have been available not available, especially in cases where the ScreenRenderer screens object is used (r 510962, 510964)
  • 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 (r 510976)
  • Implemented the rest of the ListPriceRangeConstraint ProductSearch constraint (r 512532, 512564)
opentaps Financials
  • Support for recurring invoices
  • Support for scheduled transaction postings at a future date
  • New AP check run feature to pay multiple vendors on one screen
  • Improved settlements and reconciliations page
opentaps CRM
  • Fixed all links in order entry and view