Friday, December 23, 2005

OFBiz Development SVN r6418

73 new commits this week. SVN 6417 builds successfully but had one duplicate foreign-key name which was fixed in SVN r 6418.

Significant changes this week
  1. New PartyNameHistory to support tracking a history of a party's name (for both persons and groups.)
  2. Much better UI showing how purchase order prices are calculated during purchase manager order entry.
  3. New translations to Dutch, Italian, Japanese, and Russian of various modules.
  4. New feature to print shipping labels en masse as a PDF from facility manager.
Thanks to our contributors
This week's contributors include Oleg Efimov, Mukul Joshi, Hans, Jacques LeRoux, Jacopo, David, Andy, Leon, and myself.

Accounting
  • Added rule-based number formatting in UtilAccounting, for formatting spelled-out amounts for checks. (Uses icu4j.) (r 6352)
  • UI labels for checks (r 6353, 6354)
  • Dutch translation of ui labels (r 6370, 6371)
  • Italian translation (r 6374, 6375)
  • Display of party name now re-factored to use the right name for the date. (r 6395, 6405, 6406)
Base and Framework
  • Internationalization of the shark webapp. (r 6366)
  • New "description" element inside the entitymodel XML's field, index, relation, alias-all, etc. etc. tags for commenting. No reader methods yet, but you can start putting your comments about things. (r 6365)
  • Updated .classpath for eclipse to include new jars (r 6369)
  • Dutch translation of ui labels (r 6370, 6371)
  • Freemarker has been updated to 2.3.4 (r 6385)
  • Changed MS SQL Server datat type to use DECIMAL to force 2 decimal digits for currency, instead of MONEY which was 4 decimal digits (r 6390)
  • Added some commented code that can be used to address an issue with non-standard behavior in the Weblogic Application Server; for those using WAS this should be used; it is commented out because we cannot include the required weblogic jar file that would be needed for compilation. (r 6391)
  • New form-widget row-actions tag to run an action on each line of a list or multi form (r 6408)
Content
  • Added some work to allow the OpenOffice UNO functionality to work with streams instead of having to create temporary files within content management. (r 6397)
  • New service for converting OpenOffice documents. (r 6399)
Entity Model
  • Added new ProductStore.showTaxIsExempt field to configure whether to show the "is exempt" check box or to force it to N with a hidden form field. Also added matching config for it in catalog manager and changed ecommerce to support it. (r 6361)
  • New Party.statusId and PartyStatus entity to track the status of a party over time. (r 6392)
  • New PartyNameHistory entity to track the history of a Party's Name, including group and person names. (r 6393, 6418)
  • New PartyRelationship.relationshipName to record name of relationship (ie, title in a company). (r 6396)
  • New Party.description field to hold more information about a party (r 6392)
  • New field PartyRelationship.securityGroupId to associate a security in the context of a party relationship. (Note: this may change still) (r 6404)
Manufacturing
  • Reorganization of the manufacturing application menus. (r 6350, 6351)
  • New screen to display dependencies of a production run. (r 6388)
  • Refactored BOMNode.createManufacturingOrder(...) so that it will be easier to calculate start/end date for linked production runs. (r 6398)
  • Added fixed asset field to routing task forms. (r 6400)
Order
  • Formatting changes for ShoppingCartEvents.java and SupplierProductServices.java (r 6356, 6357)
  • Now the "product details" and "product summary" pages in order entry will show "purchase" prices if the user is doing purchase order. Also, the "product details" and "product summary" pages in order entry (and ecommerce) applications can show detailled information about how the product price was obtained (from "calculateProductPrice" or "calculatePurchasePrice"). For purchase orders, all the available SupplierProduct records are shown. (This information is only shown if the field "showPriceDetails" is explicitly set to "Y". This is only done in the Order Entry screens' definition, so in ecommerce these information will not be shown.) (r 6358, 6359)
  • Fixed bug with createCreditCardOrderEntry request due to misnamed service. (r 6380)
  • CheckOutEvents will now change paymentId to "EXT_OFF_LINE" if the method is "offline" (r 6381)
  • A screen definition can now be passed in to use for order notification emails. Cleaned up definition of sendOrderConfirmation service to use the orderNotificationInterface. (r 6383, 6384)
  • Fixed bug of an error message when we try to refund an amount equal to the order amount. (r 6389)
  • ShoppingCart will now through an exception rather than fault on NPE when there is an invalid productStoreId (r 6394)
  • Display of party name now re-factored to use the right name for the date. (r 6395, 6405, 6406)
  • Fixed bug where order item sub total was displayed as order item total. (r 6413)
  • Moved adjustment amount under adjustment header so it is no longer included in item subtotal (r 6414)
Party
  • New services for creating and updating Party Attributes. (r 6377)
  • New screen for edit party attributes (r 6378)
  • New services for create/update/delete contact mech attributes (r 6379)
  • New service "getPartyNameForDate" to display party name as of a specified date in the past. (r 6395, 6405)
  • Display of party name now re-factored to use the right name for the date. (r 6395, 6405, 6406)
  • CreatePartyGroup service now supports additional description field of Party (r 6402)
  • createCustomer UserEvent in party manager now has a field which turns off whether a userLogin is required when creating useres. The default is still required. (r 6410)
  • Party service for finding customer can now search by LIKE on postalCode (r 6410)
  • Fixed bug with required email in UserEvents createCustomer (r 6411)
  • Re-factored existing services to use the new permissions for creating PartyRelationship and PartyRole (r 6412)
  • Fixed createPartyNote service so that it now records the userLogin's party with the note, instead of recording the party twice. (r 6416)
Product
  • Added new ProductStore.showTaxIsExempt field to configure whether to show the "is exempt" check box or to force it to N with a hidden form field. Also added matching config for it in catalog manager and changed ecommerce to support it. (r 6361)
  • Mass print shipping labels as PDF in the facility manager after they have been scheduled. (r 6362, 6363)
  • Fixed parsing issue with relevancy weights (r 6367)
  • updateShipmentFromStaging now set to a transaction time out of 2 hours. (r 6386)
Seed Data
  • Changed demo data to include a statusId for the included ContactListParty records (r 6360)
  • New contact purpose types: phone for an assistant and web url address (r 6401, 6417)
  • Changed PartyRelationship seed data. (Note in OFBIZ, if A is a Customer of B, then partyIdFrom=B, partyIdTo=A, partyRelationshipTypeId=CUSTOMER) (r 6403)
  • New CAN/MEX and US/CAN/MEX Geos (using the GeoAssoc entity) (r 6409)
  • Introduced new security permissions for create/update/delete of PartyRelationships and PartyRoles. They are prefixed with "PARTY_REL_" and "PARTY_ROLE_" (r 6412)
Work Effort
  • New Russian translation (r 6415)
eCommerce
  • Fixed problem on customer profile page when ContactListParty.statusId is null (r 6360)
  • Added new ProductStore.showTaxIsExempt field to configure whether to show the "is exempt" check box or to force it to N with a hidden form field. Also added matching config for it in catalog manager and changed ecommerce to support it. (r 6361)
  • Dutch translation of ui labels (r 6370, 6371)
  • Japanese translation (r 6372)
  • Italian translation (r 6374, 6375)
  • Only uncancelled credit cards are displayed on order status page (r 6376)
  • Display of party name now re-factored to use the right name for the date. (r 6395, 6405, 6406)