Applied patch from OFBIZ-5592: made more consistent the Chart of Accounts screen in Global GL Settings with the one in Organisational GL Settings.
Thanks to Pierre Smits for the contribution (and to Anahita Goljahani for the tests).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603434 13f79535-47bb-0310-9956-ffa450edef68
Applied fix for OFBIZ-5622: during invoicing, only one ShipmentItemBilling was created for the first InvoiceItem.
Thanks to Christian Geisert for the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603439 13f79535-47bb-0310-9956-ffa450edef68
Fixed issue reported by Pierre Smits in OFBIZ-5274: the menu label "Edit Agreement" was misleading because the screen simply shows the agreements associated to the facility; the agreement type used in the screen doesn't exist in OFBiz; this is because this code (committed by Adam Heath) is a partial implementation of a feature than in its current status is only confusing.
  Now the screen only shows the agreements associated to the facility but in order to setup an agreement you have to use the Agreement screens of the Accounting application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603460 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-5589: Display Currency Uom of Best Selling Product in order component was ignoring the currency of the orders; thanks to Lê Văn Thiêp for the report and to Deepak Dixit for the fix.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603732 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-1217: commented out code that was just an example of how to select products with the same feature.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1603739 13f79535-47bb-0310-9956-ffa450edef68
Remove the last uses of FastList from the entity engine.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604038 13f79535-47bb-0310-9956-ffa450edef68
A patch from Pierre Smits for "ConvertUom.js contains a bug" https://issues.apache.org/jira/browse/OFBIZ-5661

Due to a missing comma, this function doesn't work properly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604357 13f79535-47bb-0310-9956-ffa450edef68
A patch from Leon for "No lock can be acquired after ofbiz application crashes." https://issues.apache.org/jira/browse/OFBIZ-5626

We have a service which semaphore set to "fail". Someday, while it was running, the whole ofbiz crashed. 
After the restart, the service is unable to run anymore since the lock file (database record in ServiceSemaphore entity) is already there.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604363 13f79535-47bb-0310-9956-ffa450edef68
A patch from Pierre Smits for "field type emailType is missing in entity EmailTemplateSetting" https://issues.apache.org/jira/browse/OFBIZ-5660

The field email type is missing. Thus it is not possible to categorize and filter emailsettingtemplates data.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604370 13f79535-47bb-0310-9956-ffa450edef68
Read gender from person parameter, not PartyNameHistory

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604522 13f79535-47bb-0310-9956-ffa450edef68
A proposed fix by chunlinyao for "checkExistsImage method in ImageManagementServices" at https://issues.apache.org/jira/browse/OFBIZ-5658

I think indexOf(".") in these code should be lastIndexOf("."). 
From CATALOG -> Image Management -> Upload view. upload some Images it will call this method. This method is intended to add (count) to the image name, when the file name was already exist. I debugged in it, the imagePath was the absolute path of the image file. So If any parent folder name contains "." , it will not works correctly.

chunlinyao's Note: And after review the whole ImageManagementServices.java file. I found it use static variables (ex. imageCount imagePath). It is not thread safe.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604554 13f79535-47bb-0310-9956-ffa450edef68
Keeps in sync with OFBiz trunk HEAD

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23@1604706 13f79535-47bb-0310-9956-ffa450edef68