Friday, July 28, 2006

OFBiz Development SVN r426567

57 new commits this week. SVN r 426567 builds and installs successfully. Key changes this week include:
  1. Re-factoring of Billing Account (store credit or customer charge account) functionality
  2. Ability to edit order terms and shipment information for orders already created
  3. Various bug fixes and translations.

Accounting
  • Simplification of CheckOutHelper.availableAccountBalance to take advantage of BillingAccountWorker.getBillingAccountAvailableBalance(). This moves the concern of computing the available balance to the accounting component, where it should reside. (r 424489)
  • Main biling account screen shows available and net balance (r 424494, 425789)
  • Couple of warning messages when payment processing services use a default value of Company on Payments (r 424499)
  • Fixed typo in package name of FinAccountTrans (r 424528)
  • Fix rounding error with applying payments to invoices (r 425325)
  • Refactoring of the way billing accounts work, using PaymentApplication to track the amount of a billing account used up in each invoice. Also changed captureOrderPayments to use up billing accounts first before other payment methods. Finally, new methods to get net vs. available balances of a billing account and the amount available to capture, which is used to amount captured. (r 424483, 424484, 425790, 426168, 426204)
  • Fix bug where controller for create/delete TaxAuthorityGlAccount was calling the wrong service. Fix the delete link to include a required parameter. (r 425527)
  • Re-factor PaymentGatewayServices processCaptureResult. For payment partyIdFrom, if payTo was not specified, check first if there is an invoice.partyIdFrom and then default to Company. Also get the partyIdTo of the pyament from the invoice.partyId if exists, otherwise default to OrderRole. (r 425544)
  • Fixed bug with invoice PDF where if taxrate missing the PDF did not display (r 425616)
  • create a new service "createInvoiceForOrderAllItems" to create an invoice from an order using all orderitems (r 425946)
Base and Framework
  • Fixed bug where EntityUtil.filterByDate() uses the wrong boundary condition for from date. (r 424430)
  • Fixed problem with available locales not parsing correctly when locale is of format fr_FR. (r 424477)
  • New remove Regex from string methods in StringUtil, with reimplementation of the removeNonNumeric and removeNumeric. (r 424482)
  • Made organizationPartyId, fromDate, thruDate required for createCustomTimePeriod service (r 424501)
  • Cleaned up imports of the CommonServices class (r 424513)
  • License header change to Apache 2.0 and related file changes (r 424624, 424543, 425650, 426454, 426455)
  • New translations to Italian and French (r 424588, 424595, 426430, 426429, 426467, 426469, 426471, 426567)
Order
  • Simplification of CheckOutHelper.availableAccountBalance to take advantage of BillingAccountWorker.getBillingAccountAvailableBalance(). This moves the concern of computing the available balance to the accounting component, where it should reside. (r 424489)
  • The Order Delivery Schedule Info form is now rendered by the "renderFormString(context)" method to internationalize it. (r 424589)
  • Implemented new screen, forms and services to manage order terms for existing orders. (r 424684)
  • Added party name to list of returns. (r 425542)
  • Fix a wrong column name on the request form (r 426026)
  • Link back to billing account from order view page (r 426169)
  • Fixed wrong unit price shown in purchase order entry. (r 426287)
  • Ability to update shipping destination and method of an existing order. (r 426301)
  • Link to create new order of same type for same party (vendor or customer) from order view page (r 426317)
Party
  • Fixed broken link in the communication content screen. Also cleaned up a few more form definitions. (r 426411)
Product
  • Fixed bug in catalog manager where product's payment type list was not filtered by productId. (r 424529)
  • Show currency for catalog manager product inventory page's list of inventory items' unit costs (r 425461)
  • Add a map of productId to standard cost for the receive inventory forms. If receiving a single product, use the standard cost instead of 0.0. (r 425520)
  • make useTimeUomId madatory on subscription screen to be consistant with the subscription service (r 425945)
  • Fix bug with creating inventory item from the catalog manager because no facility has been specified. (r 426387, 426388)
  • Fixed wrong form field definition for date fields. (r 426390)
  • Fixed wrong variable name for shipmentId in work effort names when shipments are created. (r 426395)
  • new version of the Shipment Manifest report using XSL:FO instead of JasperReports (r 426421)
Seed Data
  • Removed remaining reference to GZ-KIT, was causing data load failure (r 424556)
eCommerce
  • Added check to prevent a NPE in a few screens (r 424531, 424532)