Applied fix from trunk for revision: 1530634 
===

For backward compatibility: when a time period is closed, and a GlAccountHistory record for the same is already present (old mode, before revision 1530273), do not return an error and instead fill the balance fields of the record.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1530646 13f79535-47bb-0310-9956-ffa450edef68