Friday, April 27, 2007

OFBIZ Development r533095

OFBIZ

90 new commits this week. Significant changes include:
  1. Changes to login and control servlet
  2. Enhancements to Fin Account
  3. Estimated ship dates based on production run dates
  4. A release 4.0 branch is now available for ofbiz.
Accounting
  • updated FinAccounts added isRefundable flag; and replenishPaymentId to link a payment method to a finaccount for auto-replenish modes. The fulfillment service also sets this ID by default to the CC or EFT account used in the order which creates the finaccount
  • Adding a PartyAcctgPreference.refundPaymentMethodId field and relation to PaymentMethod to store a default paymentMethodId for use when other refund payment methods fail (old CC orders) or are unspecified (offline payment) and using that payment method in the processRefundReturn service. (r 532490)
  • fist pass (not fully tested) of refund financial account; also fixed replenish code to use the defined paymentMethod instead of picking one off the user's account. miscellaneouse FinAccount enhancements. (r 532504, 532505, 532506)
  • FinAccount service credit (r 532542)
  • fixed X500 converter to support commas in names (broken since it is split on comma) (r 532595)
  • now creates owner role w/ financial account (r 532597)
  • Returning failure instead of error from the refundPayment service but instead cascade to the 'filler' payment correctly. (r 532804)
  • added more detailed information for financial accounts when used for payment on orders (r 532933)
  • When a payment method is selected in the cart, if it is associated to a billing address, the cart verifies that the location of the billing address is allowed for the products in the cart before setting it. (r 533045, 533095)
  • have separate menus for creation of sales and pruchase invoices and make sure the organizationCompany is in the proper party field. In the editInvoice screen do not allow the organization party to be changed and that the sequential numbering is interupted. also put in the proper classes for the buttons in invoice and payment. (r 532739)
Base and Framework
  • now adds the component name to the servlet context in catalinacontainer (r 531230)
  • removed no longer needed keystores for ofbizcerts.jks and ofbiztrust.jks (r 531271)
  • refactored x509 implementations; now it will use the certificate to determine the userlogin; tomcat changed to ignore cert files (just pass through) so all checking can be handled by ofbiz; login worker updated to use new method of cert checking; added isser entity to configure what issuers are allowed to sign login certs (the certificate must also be included in a trust store) new component based trust/cert stores configured in ofbiz-component.xml (r 531272, 531546, 531547)
  • added log message when error in SSLImpl (r 532040)
  • made the pattern which finds the userLoginId from the common name (x500) configurable; also can disable cert login from security.properties (r 532403)
  • added log message when error in SSLImpl (r 532040)
  • fixed bugs in truststore loading; added method to load the keystore from the configuration (r 532041)
  • added missing keystore element (r 532068)
  • now checking issuer serial number as well; one more layer of additional security in x500 validation (r 532069)
  • made the pattern which finds the userLoginId from the common name (x500) configurable; also can disable cert login from security.properties (r 532403)
  • Reverting changes made to the javascript function that disables form buttons. Fixes bug where submit buttons broke for IE and other browsers. (r 532409)
  • added UomWorker (r 532557)
  • added getLocation method to ComponentConfig (r 532577)
  • Small change so that on login if previous request was login, logout, or checkLogin then it will null the request name so it goes to the default; this avoids a login/logout funny loop that resulted in ServerHit/UserLoginHistory entries with duplicate pks because they happen within one second (r 532993)
  • Small change so that after login will redirect to main page instead of going to login page (which makes sense for backend apps, not so much for ecommerce (r 532994)
  • Some fair refactoring of the VisitHandler class to make it more resilient and centralize some of the data gathering in the ControlServlet; along with this are fixes for a couple of problems that caused the initial request data to be missing from the Visit especially on logout which cleared the session; this has been broken for a long time so is hopefully resolved now (r 533037)
Manufacturing
  • Implemented service to set the estimated ship dates for order items that need production, based on scheduled outstanding production runs. (r 532685, 532721, 532795, 532797)
Marketing
  • Added selected contact list name and Id below the menus for user convenience as per other apps. Also fixed link to EditContactListCommEvent so it adds the contactListId. (r 532806)
Multiple Components
  • Added some new types for new return stuff for repair replacement and for refurbished equivalent (r 532864)
Order
  • added inventory item info for shipped items (including serial number if one exists) in orderview page (r 531195)
  • added paymentMethod and paymentmethod fields to return header (r 531217)
  • now creates an order note when a CSR changes and item or adds a new one (r 531551)
  • added new return type for time entry and work effort (r 531665)
  • updated layout of order notes area, fixed label for serial number on order items ftl, fixed links on orderinfo.ftl (r 532030, 532031, 532067)
  • Fix for Double type parameter preventing refunds in the updateReturnHeader service (r 532489)
  • Adding a PartyAcctgPreference.refundPaymentMethodId field and relation to PaymentMethod to store a default paymentMethodId for use when other refund payment methods fail (old CC orders) or are unspecified (offline payment) and using that payment method in the processRefundReturn service. (r 532490)
  • fix missing import of BigDecimal in return items page (r 532531)
  • fixed NPE in digitial fulfillment (r 532919)
  • updated shopping cart payment info to allow multiple financial accounts (r 532935)
Party
  • remove roles from content and dataresource before deleting the content and dataresource itself (r 531361)
  • Add a financial account summary section to the view profile page (r 532060, 532872)
  • added first pass of X509 issuer import screen; will import into trust store; and create the issuer record (r 532598)
Product
  • added check for isPhysical before doing inventory reservations (r 531204)
  • implemented ProductGeo (r 531220)
  • Added a new search parameter to specify a category whose member products will always be added to the beginning of the search result list (ordered by sequenceNum, filtered by from/thru dates). (r 531362, 531370)
  • fixed bug in packing code which was ignoring backorders (r 531342)
  • Added short version of the parameter for specifying the top search category (S_TPC); now the parameter will also appear in the searchString. (r 531516)
  • Seed data changes to facilitate handling of certain order (Order Change Reason) and inventory status scenarios: INV_ON_HOLD (r 531870)
  • Adding a sequenceId field to the OrderItemShipGrpInvRes entity and ordering secondarily by this field when inventory reservations are retrieved in the balanceInventoryItems service (r 532412)
  • Implemented new method to test a geoId against the ProductGeo table. If no GEOs are configured the default is TRUE. (r 532850)
  • Expanded seed data (ProductGeo) and ProductWorker method to determine if a product can be sold or can be shipped to a given address. (r 533014)
eCommerce
  • Internationalisation of newcustomer, edit person screen (eCommerce) (r 531223, 531231, 531232, 531234)
  • Corrections to the HTML for the layout of the orders items table, so the columns should now be aligned properly. (r 531978)
opentaps modules

46 new commits this weeks. Significant changes:
  • New warehouse support for automated inventory transfers between warehouses
  • New warehouse screens for production runs with ability to manage serial numbers of manufactured items
  • Flag customers during order entry with notes
  • Convert AP invoices to Customer Account balances
  • Re-factorings into opentaps commons