Friday, November 24, 2006

OFBiz Development r478944

50 new commits this week.k SVN r 478944 builds and installs successfully. Significant changes include:
  1. POS has been moved to a new specialpurpose/ directory.
  2. Fixed bug with canceling order items where order adjustments were being removed improperly. Now a new adjustment for tax difference is calculated.
  3. Improvements to the sending of emails to a contact list.
  4. Proper xml formatting for all XSL:FO pdf documents
Accounting
  • Fix invoice pagination erorr in list items form (r 476481)
  • Fixed NPE that could happen for offline credit card authorisations (r 476790)
  • Fix bugs with re-calculation of tax when removing order adjustments. Now, instead of removing all the order adjustments, it recalculates tax and then adds it as an additional adjustment (r 477773)
  • Moved a view entity (TaxAuthorityGlAccountBalance) which should be in accounting/ and whose entitygroup definition is in accounting/ from order to accounting (r 478318, 478319, 478321)
  • Filter agreement terms by date when calculating commissions (r 478318)
  • I18n & I10n changes for gender at least in latin languages (r 478512, 478514)
  • insert the escape tag into all fo.ftl files to avoid rendering errors caused by characters not valid for xml that are pulled from the db (r 478784)
Base and Framework
  • Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc Moved the POS comonent there. (r 476486, 476517, 476667, 477043)
  • Form widget now supports defining time formats in CommonFormatDate, CommonFormatDateTime, CommonFormatTime, and the calendar icon widget in CommonViewCalendar. (r 476606)
  • implement include by location from one controller.xml file to another. The syntax is Anything defined in event blocks of the current controller will replace the ones from the included controller (r 476610, 476624)
  • escape spaces in classpath entries, which should resolve problem with jdk location on Windows (r 477801)
  • UtilValidate.isEmail now has the default isEmail(string) method which accepts formats such as sichen@localhost and isEmail(string, requireDot) which requires formats like sichen@somewhere.com (r 478901)
Content
  • various improvements for processing incoming email to avoid NPE at bad content of emails. (r 477480)
  • output the communicationevent status from storeIncomingEmail service to be able to run a eca on the value and extended the description (r 477596)
  • add a parammeter to be able to limit the maximum size of an incoming email message (set to 1Mb) in ofbiz-containers.xml (r 477691)
  • system now accepts incoming email messages with multilevel multiparts (r 478781)
  • insert the escape tag into all fo.ftl files to avoid rendering errors caused by characters not valid for xml that are pulled from the db (r 478784)
Entity Model
  • Added SurveyResponseAnswer.sequeceNum field, which is nice for ordering the response answers (usually in same sequence as the questions themselves) (r 476400)
  • Added CustRequest.fulfillContactMech and a screen to view the related address/phone/email. (r 477453)
  • changed supplierproduct.lastprice to currency-precise so it is consistent with productprice.price (r 478307)
Manufacturing
  • insert the escape tag into all fo.ftl files to avoid rendering errors caused by characters not valid for xml that are pulled from the db (r 478784)
Marketing
  • Improved sending of email to contact lists to better handle cases where email addresses are bad or if the email aborts in the middle (r 478902)
Order
  • Slight improvement to order agreements to avoid highly improbable NPE if cart.getOrderType comes back null (r 476685)
  • Fix bad controller survey request in order manager (r 476792)
  • Added CustRequest.fulfillContactMech and a screen to view the related address/phone/email. (r 477453)
  • Some french labels corrections (r 477631, 478299)
  • Fix bug with emptying cart in ecommerce (r 477896)
  • Moved a view entity (TaxAuthorityGlAccountBalance) which should be in accounting/ and whose entitygroup definition is in accounting/ from order to accounting (r 478318, 478319, 478321)
  • introduced a new parameter countNewReturnItems to getOrderAvailableReturnedTotal which controls whether newly created return items are counted, so that quick refund order works again (r 478417)
  • fix the logic that allows the configuration (shown/hidden) of top & bottom minicart links in ecommerce. (r 478780)
  • insert the escape tag into all fo.ftl files to avoid rendering errors caused by characters not valid for xml that are pulled from the db (r 478784)
Party
  • the delete communicationEvent service now also deletes the related workeffort if this commubication event is the only one attached to the woreffort. (NOTE: This may change later) (r 478095)
  • Small forms to create cust requests in party view page for the contact mechs (addresses, phone numbers, etc.) displayed (r 478277)
  • Changed the pagination handling in the findParty service to be consistent with the form widget's pagination. (r 478807)
  • Improved sending of email to contact lists to better handle cases where email addresses are bad or if the email aborts in the middle (r 478902)
Point Of Sales
  • Initial implementation of a POS Cash/Paid in and out of drawer feature. (r 476442)
  • New property names for TM-T88III and StarTSP600 printers (r 477640)
  • Fix potential slow printing in POS (r 477655)
  • Minor changes to allow more place for Date and Total on display for customer (aka journal) (r 478296)
Product
  • Some french labels corrections (r 477631, 478299)
  • insert the escape tag into all fo.ftl files to avoid rendering errors caused by characters not valid for xml that are pulled from the db (r 478784)
  • Missing a UI label for can drop ship on supplier product page. Added it. (r 478944)
Seed Data
  • Add a price for the PROD_COST product so it can be purchased (r 478308)
  • an example of product name and description i18n for the Round Gizmo (GZ-2644). (r 478365, 478482, 478498) Much thanks to Jacques and Jacopo for correcting my attempts at French and Italian.
Web Tools
  • escape certain characters to avoid problems in the XML export/import (r 476469, 476472)
eCommerce
  • Created ecomclone webapp in the ecommerce component that uses the new include stuff, and acts as a test case for it (r 476650, 476652, 476681)
  • Fix bug with emptying cart in ecommerce (r 477896)
  • fix the logic that allows the configuration (shown/hidden) of top & bottom minicart links in ecommerce. (r 478780)