Friday, April 14, 2006

OFBiz Development SVN r7300

64 new commits this week.

Significant changes:
  1. Finished transferring accounting and party applications to screen widget.
  2. Manufacturing application now accepts external cost calculation services.
  3. Fixed up financial account services for gift certificates.

Accounting
  • Fixed bug with manual transaction screens (r 7246)
  • Finished moving accounting screens from JPublish to screen-widgets (r 7247, 7248, 7250)
  • Converted the BillingAccountWorker.getBillingAccountBalance(...) method to perform calculations using BigDecimals (r 7251)
  • Made pinNumber for createGiftCard optional so that stores which don't require PINs can still save GCs. (The CheckOutHelper method should still be checking and returning errors if pin is required but not filled in) (r 7263)
  • Now using a FinAccountHelper static to define gift certificate fin account type (r 7260, 7261)
  • Check out will now validate GC against internal gift certificate fin accounts if the store is set to to do so (r 7268, 7269, 7270, 7271, 7272)
  • Changed payment tabbar from ftl to xml and added some more localization (r 7273)
  • When creating gift certificates, the card number recorded is finAccountId if pin is required and finAccoutCode if not (r 7280)
  • Return refNum of "N/A" when gift certificate authorization fails (r 7283)
  • Fixed add funds to FinAccount and refunds to GC when PIN # is not required (r 7291)
  • Fixed release fin account (gift certificate) authorization service to return required parameters (releaseResult, releaseRefNum, releaseAmount) (r 7296)
Base and Framework
  • Form-widget's form field titles can now be localized. The form prefix to use for the UI labels files is FormFieldTitle_ (r 7262)
  • New methods to create unique single use service dispatchers (r 7284)
  • Fixed service XA wrapper to use new thread to avoid transaction issues (r 7284)
  • Added new ways to add log4j appenders via UtilDebug getNewFileAppender and registerFileAppender methods (r 7285)
Content
  • Cleanups and fixes in the CompDoc and OpenOffice (r 7237, 7259, 7266)
  • Cleanups and bug fixes for surveys and comp docs. Also implemented changes to fill out survey responses more easily, allow multiple responses by default (r 7252)
  • Changed OpenOffice conversions and services to use temporary files (r 7274)
Entity Model
  • Moved workeffort view entities to a separate file (r 7254)
  • Added workEffortId to the CostComponent entity to make it possible to store in this entity information about work effort costs (r 7256)
  • Added CostComponentCalc and WorkEffortCostCalc entities for work effort (manufacturing or project) costing. (r 7255, 7257, 7276)
  • New ProductStoreFinActSetting.validateGCFinAcct to determine if gift card codes should be validates against FinAccount for internal gift certificates (r 7267)
  • Added costComponentCalcId field to the CostComponent entity to keep track of the CostComponentCalc entry that was used to create the CostComponent entry. (r 7277)
  • Added AgreementWorkEffortAppl entity to apply a WorkEffort to an AgreementItem, to use for projects and other tasks associated with an Agreement (like a Contract) (r 7278)
  • Made GC fulfillment records encrypted, just like gift cards themselves (r 7279)
Manufacturing
  • Removed the @version and @since tags from java and minilang scripts (r 7238)
  • Changed license from MIT PL to Apache 2.0 (r 7239, 7240, 7241, 7242, 7243, 7244, 7245)
  • Changes and cleanups to better support pluggable cost calculation services. Added two new methods to retrieve production run and tasks costs (calculated by an external service) (r 7292, 7293)
Order
  • Check out will now validate GC against internal gift certificate fin accounts if the store is set to to do so (r 7268, 7269, 7270, 7271, 7272)
  • Modified payment screens, cart, and check out helper to check if a PIN is required for gift cards (r 7264, 7265, 7295)
  • Implemented new promo action type for product Special Promo price, plus a new product price type called Special Promo price that is used for these; if used will apply to all products in cart, optionally included in categories/product list of promo/action, that have a Special Promo type price and a discount will be given to bring it down to that price; (r 7275)
  • Parametrized all order manager screens's main decorator location (r 7286)
  • Fixed a bug where GC balance check during checkout did not work when GC had zero balance (r 7287)
  • Fixed a bug where cancel quantity wasn't being taken into account for quantity outstanding on order views (r 7289)
  • New helper method in CheckOutEvents to determine the initial checkout page according to items in cart. If there are no shippable items, it sets no shipping method and jumps to payment page. (r 7288)
  • Changed order items screens to use the cancelOrderItem service instead of changeOrderItemStatus service because only the former causes orderItem.cancelQuantity to be recorded (r 7290)
  • The location of the anonymoustrail screen is now passed as a variable from the screen widget XML to the ftl template to make it easier to re-define it. (r 7294)
  • Fixed order view PDF: missing logo, logo size too big, company address overlaps order data, ship to/bill to addresses mis-format ZIP code, etc. (r 7297, 7298, 7299, 7300)
Party
  • Removed unused JPublish files (r 7249)
Product
  • Slight improvements to the Catalog Manager Product > Costs tab, including default currency from general.properties, UI labels, and formatting the cost as a currency (r 7258)
  • Implemented new promo action type for product Special Promo price, plus a new product price type called Special Promo price that is used for these; if used will apply to all products in cart, optionally included in categories/product list of promo/action, that have a Special Promo type price and a discount will be given to bring it down to that price; (r 7275)
Seed Data
  • Implemented new promo action type for product Special Promo price, plus a new product price type called Special Promo price that is used for these; if used will apply to all products in cart, optionally included in categories/product list of promo/action, that have a Special Promo type price and a discount will be given to bring it down to that price; (r 7275)
eCommerce
  • Implemented new promo action type for product Special Promo price, plus a new product price type called Special Promo price that is used for these; if used will apply to all products in cart, optionally included in categories/product list of promo/action, that have a Special Promo type price and a discount will be given to bring it down to that price; (r 7275)
  • The location of the anonymoustrail screen is now passed as a variable from the screen widget XML to the ftl template to make it easier to re-define it. (r 7294)