Friday, March 31, 2006

OFBiz Development SVN r 7151

80 new commits this week. SVN r 7151 builds and installs successfully.

Significant Changes this Week:
  1. Support for CommunicationEvents to store emails with attachments through associations with Content.
  2. New support for item level ship before and after dates on orders.
  3. Support for browser HTML editor integrated into form-widget for textareas.
  4. Support for parametrized pagination in form-widget
  5. XHTML compliance for many screens and pages.
Accounting
  • Fixed bug that caused the invoice creation to fail if the order terms were not set (r 7083)
  • Improved usability of new FixedAsset forms (r 7095)
  • Changed some of the ledger posting services to use BigDecimal and cleaned up the debugging comments somewhat, changing some of them to verbose from info (r 7106)
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • When there is no order term net days, the due date on the invoice is set to null, not the same day as the order date (r 7134)
  • Fixed all the catalog manager user interfaces and accounting application methods which use this entity. (r 7139)
  • New tab bar on invoice screens to modify invoice status (r 7147)
Base and Framework
  • Fixed problem with form-widget where the submit button is sometimes disabled in Internet Explorer (r 7097)
  • Integrated unverse.net browser HTML editor and created form-widget "visual-editor-enable" attribute tag for form-widget "textarea" which would enable the editor for a textarea. There is a "visual-editor-buttons" attribute which allows you to specify which buttons you want to see and in which order, as one string separated by blanks. Available buttons are:formatblock fontname fontsize newline bold italic underline left center right number bullet indent outdent undo redo color hilite rule link image table clean html spellcheck |(separator) Default is that all buttons are shown (r 7096)
  • New form widget enhancements that fix valid XHTML issues and other related issues (r 7098, 7099)
  • New form-widget extensions for "paginate-target-anchor", "paginate-size-field", "paginate-index-field", "paginate-previous-level", "paginate-next-label", "paginate-previous-style", "paginate-next-style" to parametrize pagination settings and allow several paginated forms on the same screen. (r 7100)
  • New "form-label" attribute of the services xml definition for specifying the form's label when using auto-field-service in form-widget (r 7104)
Content
  • Cleaned up and fixed bugs in composite doc screens and services (r 7074, 7075, 7077)
  • A whole bunch of service and worker cleanups for the OpenOffice and CompDoc stuff; involved a major refactoring to separate the CompDoc PDF rendering stuff from the OpenOffice stuff, and to call the OO/UNO stuff throuh a service to make it cleaner when the backing libs aren't in place (r 7076, 7078, 7079)
  • New screens to make image uploading work better in Content (r 7085, 7086)
  • New services to create and update CommEventContentAssoc and CommEventDataResource (r 7102)
  • Now incoming emails with attachments could be created as CommEvent, and the attachments as Content associated with it (r 7125, 7137, 7150)
Entity Model
  • New CommEventContentAssoc entity for associating content (ie, attachments) with CommunicationEvent (r 7089)
  • New CommunicationEventOrder and CommunicationEventProduct entities to associate CommunicationEvent with Orders and Products (r 7090)
  • New CommEventContentDataResource entity (r 7102)
  • New CommContentAssocType entity and a foreign key field to CommEventContentAssoc. (r 7120, 7140)
  • Removed ProductGlAccountType entity. ProductGlAccount now uses GlAccountType and has an added field organizationPartyId, consistent with rest of accounting data model. (r 7139)
Manufacturing
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Misc code reorganization in the production runs processes. (r 7128, 7129)
  • New screens to list and edit routing task products (r 7131)
  • Added code and seed data to keep track of the WorkEffort template used to create a new WorkEffort. (r 7132)
  • Better handling of deliverable products; now the list of allowed products is retrieved from the template task and instead of cloned. (r 7133)
Marketing
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
Order
  • Fixed wrong reference to the userLogin in session in orderview (r 7084)
  • New OrderReadHelper method to obtain the total number of a product on order from all pending POs (r 7088)
  • Purchase orders from the party "_NA_" now no longer require a supplier product (r 7088)
  • New support for ship before and after dates at the order item level. A default ship before and after date is set for the cart and used for all order items and ship groups. If an items' before (after) date is before (after) that of the ship group's, the ship group's dates are modified. (r 7091, 7141, 7142, 7143, 7145, 7151)
  • Errors are now not thrown when no shipment is created for a return (r 7092)
  • Fix problem with viewing orders, especially cancelled orders, in order manager (r 7103)
  • Added in correct file for the Simplified Chinese translation of the order manager (r 7105)
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Fixed bad display of status string from OrderReadHelper (r 7124)
  • Fixed order entry checkout shipping address setting so that the first one is always checked by default (r 7144)
  • Removed hidden "orderId" from appendorderitems page: the order id is already passed in the from's action attribute thru the ${paramString} (r 7146)
  • Added ?exists checks for ATP and QOH inventory quantities on order item view (r 7148)
  • Added postal code to address, if it exists, on the order pdf view. (r 7149)
Party
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Changes to allow binary attachment uploads of communication events. Added SimpleContentView request and handler to controller.xml to view attachments. (r 7117)
  • PARTYMGR_GRP_UPDATE security permission is now used to mean updating of both Person and PartyGroup entities. The updatePerson service now checks against this instead of PARTYMGR_UPDATE. (r 7119)
  • Fixed bug where statusId is not set when creating a Person (r 7119)
  • Fixed wrong partyId set bug in the setPartyProfileDefaults service (r 7123)
  • Added a CommunicationEventType id value to id comm events built from emails without discernable parties. (r 7138)
Product
  • Fixed NPE when no shipments are found in facility manager (r 7081)
  • Updated purchase order price calc where if no SupplierProduct is found, it will look for a ProductPrice value of purpose "PURCHASE" and type "AVERAGE_COST" (r 7087)
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Fixed all the catalog manager user interfaces and accounting application methods which use this entity. (r 7139)
Seed Data
  • PARTYMGR_GRP_UPDATE security permission is now used to mean updating of both Person and PartyGroup entities. The updatePerson service now checks against this instead of PARTYMGR_UPDATE. (r 7119)
  • New security permissions for creating, updating, deleting, and posting accounting transactions and entries. (r 7135)
  • New invoice status codes and valid change flows (r 7136, 7147)
eCommerce
  • Fixed empty field titles to "" instead of " " in screens and forms. Made forms and screens xhtml compliant. (r 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7118, 7126, 7127, 7130)
  • Fixed wrong field names in ecommerce list requests page (r 7122)