Friday, May 12, 2006

OFBiz Development SVN r7564

39 new commits this week. SVN r 7564 builds and installs successfully.

Significant changes this week:
  1. More internationalization and translation throughout the applications.
  2. New framework/testtools component for testing scripts
  3. Fixed bug where canceling order items leaves negative adjustments behind.

Accounting
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)
  • Request and view entries for the AgreementProductAppl entity. (r 7534)
  • Moved the code that retrieves the tax authorities from the rateProductTaxCalc service into a new method (r 7536)
  • Added a new optional parameter to the taxCalcInterface service: payToPartyId. If the parameter is not passed, then the party id is retrieved from the product store (as is now). (r 7537)
  • Significant changes to the calcTax service which allows it to work without a productStoreId: 1) Now the productStoreId is an optional parameter; if the productStoreId is passed, all the TaxAuthorityRateProduct records for that store and also the TARP records with an empty productStoreId are selected; if the productStoreId is not passed, only the TARP records with an empty productStoreId are selected. 2) A new (optional) parameter has been added: payToPartyId; if it is not passed, then the service works as now (i.e. it retrieves the payToPartyId from the ProductStore). If none of the productStoreId and the payToPartyId parameters is passed, then an error is returned. (r 7548)
  • Make sure the lists starts at page 0 to avoid negative pagination (r 7552, 7553, 7554)
Base and Framework
  • Initial implementation of test runner in a new testtools component; supports specifying tests in the ofbiz-component.xml file instead of in the test-containers.xml file; entity and service tests are now moved over; already support JUnit tests, but not Jython tests, yet, which are intended to be from recorded web sessions using one of the various tools for this (r 7551)
Content
  • Lots of content manager enhancements. (r 7547)
  • Fixes possible crash in edit survey question pages if the pageName field is not defined (r 7558)
Entity Model
  • Added parentInvoiceId and parentInvoiceItemSeqId to the InvoiceItem entity to link one item to another one (for example tax adjustments to the item product). (r 7535)
Manufacturing
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)
Marketing
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)
Order
  • Some improvements to clean up ShoppingCartHelper and make it more readable (r 7527)
  • Removed duplicated list-name attribute in form def for Requests (r 7528)
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)
  • Check inventory availability service will now use OrderItemShipGroupInvRes's reservedDatetime when there is no actualPromiseDate or promiseDate (r 7543)
  • Changed the recalcOrderTax service not to re-calc tax on purchase orders (r 7545)
  • Fixed NPE when orderType is null in ShoppingCartItem (r 7555)
  • Implemented i18n of OrderType's description. (r 7557)
  • Retun adjustments are now shown in the return PDF report (r 7560)
  • When items are canceled, order adjustments are now changed, back to zero if necessary, using a new service "recreateOrderAdjustments" that can be used to recreate the auto order adjustments of an already created order. (r 7561)
Party
  • Fixed bug where the copyPartyContactMechs service wasn't copying phone number extension. (r 7526)
  • Update party contact mech now sets the thrudate to right now on the PartyContactMechPurpose records (r 7550)
  • Make sure the lists starts at page 0 to avoid negative pagination (r 7552, 7553, 7554)
  • New PartyWorker.findPartyId method to help find an existing party; will be expanding this to better handle variations in address (i.e. rd vs road, e vs east etc) (r 7562)
  • Made party name an optional parameter for getPartyNameForDate, so we don't get a crash in case full name is not available (r 7564)
Product
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)
  • Fixed bug where wrong map was used to populate the edit category attribute form in catalog manager. (r 7541)
  • PriceServices has now fixed bug (using the wrong variable) and now will look up the price of the parent product when no prices are found for the specified productId (purchase price service) (r 7544)
  • Added missing configItemId and configOptionId to results of createProductConfigOption service (r 7549)
Work Effort
  • New i18n localization and translation (r 7529, 7530, 7531, 7532, 7533, 7538, 7539, 7540, 7542, 7556, 7564)