Friday, August 18, 2006

OFBiz Development SVN r432600

54 new commits this week. SVN r 432600 installs successfully. Significant changes:
  1. Translations of all applications to Spanish (thanks to Rodrigo and Victor!)
  2. Implemented new "extend-entity" to allow adding custom fields to existing entities in the data model
  3. Re-factored application/ components into framework/
Accounting
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Some additions to help with CC decline or bad info recovery options like return flags for bad expire date, nsf, and bad card number to help enable automated response to these; added testing services for these different conditions; added initial implementation of the feature to try incrementing expire date years for the current card date plus 2, 3, then 4 years if option enabled in ProductStore.autoOrderCcTryExp and if the order is an auto-order, ie OrderHeader.autoOrderShoppingListId is not empty (r 431154)
  • Spanish translations (r 431611)
  • Improved agreement price list report with information from agreement header (id, party from, party to, description, validity dates) and from agreement item (id and currency). (r 431863)
  • Lookup agreements will now do an unconstrained search if no constraints are specified (r 432600)
Base and Framework
  • Main build.xml will now just warn instead of return bug when there is no applications/ directory (r 430993)
  • testtools component name fixed (r 430994)
  • Added exception if no delegator passed in to JobManager, better than NPE (r 430999)
  • Implemented extend-entity for entity definitions to support adding field, relation and index elements to an entity; this is now also used to support further separation of the framework from the applications (r 431009)
  • Small error message improvement when related entity is not found (r 431010)
  • Moved LoginEventListener from applications to framework as it only depends on framework, and is also used by webapps there too (r 431016)
  • Separated applications and framework transforms into separate try/catch in case the apps aren't present (r 431018)
  • Moved the more core login methods from LoginEvents to LoginWorker as they don't depend on the applications stuff but are used by the framework stuff; also updated various text references to the new locations (r 431021)
  • Moved LoginServices to the common component because it is used by framework components, and doesn't depend on the application components (r 431023)
  • Made ServerHitBin work with or without partyId (r 431030)
  • Changed userLogin service, VisitHandler and LoginWorker to work with or without a partyId (r 431026, 431028, 431031, 431032)
  • Added option to use binary type for blobs, configurable on the datasource element in entityengine.xml with use-binary-type-for-blob="true". This is mainly for Postgres and is necessary to use the BYTEA type for blob (r 431161, 431162)
  • The README file in the logs folder is no longer removed when the clean-logs target is run. (r 431316)
  • Translations into Italian (r 431417)
  • Modified the clean-data target in the main build.xml to empty instead of remove the data/ folder. (r 431561, 431563)
  • Spanish translations (r 432188)
Content
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Fix duplicated ampersand in content lables. (r 431868)
  • Spanish translations (r 432188)
Entity Model
  • Moved WebSitePublishPoint to content component from webapp and WebSiteRole to party component from webapp (r 431011)
  • Moved the WebSite.productStoreId to product component as an extension to the WebSite entity. Moved the ServerHitBin.internalContentId to the party component. (r 431012)
  • Added costs, status, and from/thru dates to MarketingCampaign. (r 431476, 431647)
  • Implemented auto-suggestion shopping list; also added indicator to ProductStore to turn it on and off (r 432136)
Manufacturing
  • Changed references to LoginEventListener to use new package name (r 431017)
  • The "Approve Requirements" screen has been moved from the manufacturing to the order component. (r 431867)
  • Spanish translations (r 432188)
  • Fixed possible NPE in production run declaration page (r 432535)
Marketing
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Point deleteMarketingCampaignRole service to the correct simplemethod service. (r 431995)
  • Spanish translations (r 432188)
Order
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Add order return totals to return items form so user knows how much of the order was already refunded and credited. Refactored OrderReadHelper.getOrderReturnTotalBd methods to handle return types. (r 431720)
  • The "Approve Requirements" screen has been moved from the manufacturing to the order component. (r 431867)
  • Remove a seca that is changing RETURN_COMPLETED items to RETURN_ACCEPTED, messing up the return business logic. (r 431998)
  • Added checkIncludeVat attribute to calculateProductPrice service call so that the displayPrice in a cart item will now have tax included if the store is configured for such (r 432121)
  • Spanish translations (r 432188)
  • Added new common template for document based pdf reports (sales and purchase orders, invoices, returns etc...). Refactored the sales/purchase order pdf to use the common template. (r 432302)
  • Added a "fromPartyId" parameter to companyHeader.bsh (and fall back to "Company" if this parameter isn't specified). This parameter is also set in QuoteReport.fo.ftl. (r 432306)
  • Lookup return page will now do an unconstrained search if no constraints are specified (r 432600)
Party
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Translations into Italian (r 431417)
  • Spanish translations (r 432188)
Point Of Sales
  • Spanish translations (r 432188)
Product
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Fixed a bad check for product attrName (r 431145)
  • Added pdf and xml versions of the "inventory" report. (r 431310)
  • Fixed a bad parameter name in inventory report screen. (r 431377)
  • Translations into Italian (r 431417)
  • Right aligned agreement item product prices in list form. (r 431857)
  • Fix a bug in the product price screen, where the last modified details were never shown. (r 431864)
  • Spanish translations (r 432188)
Web Tools
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Fixed webtools envsetup.bsh to work with or without partyId (r 431033, 431034)
  • Joblist in webtools now has a link back to the service reference for the services (r 431997)
Work Effort
  • Changed references to LoginEventListener to use new package name (r 431017)
eCommerce
  • Changed references to LoginEventListener to use new package name (r 431017)
  • Fix a problem in screen widget when variable has as dash in its name (r 431434)
  • Spanish translations (r 432188)