Fixed exception thrown when calculateFixedAssetDepreciation service didn't return any values.
Internationalization note: This commit contains a new UI label. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677769 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2184,6 +2184,9 @@
|
||||
<value xml:lang="it">Svalutazioni</value>
|
||||
<value xml:lang="th">ค่าเสื่อมราคา</value>
|
||||
</property>
|
||||
<property key="AccountingFixedAssetDepreciationMethodNotFound">
|
||||
<value xml:lang="en">Depreciation method not found</value>
|
||||
</property>
|
||||
<property key="AccountingFixedAssetEdit">
|
||||
<value xml:lang="ar">استحداث/تحديث أصل ثابت</value>
|
||||
<value xml:lang="en">Create/Update Fixed Asset</value>
|
||||
|
||||
@@ -583,6 +583,10 @@ under the License.
|
||||
<log level="info" message="Asset's Net Book Values (NBV) from acquired date after deducting depreciation are ${assetNBVAfterDepreciation}"/>
|
||||
<field-to-result field-name="assetDepreciationTillDate"/>
|
||||
<field-to-result field-name="assetNBVAfterDepreciation"/>
|
||||
<else>
|
||||
<add-error><fail-property resource="AccountingUiLabels" property="AccountingFixedAssetDepreciationMethodNotFound"/></add-error>
|
||||
<check-errors/>
|
||||
</else>
|
||||
</if-not-empty>
|
||||
</simple-method>
|
||||
</simple-methods>
|
||||
|
||||
Reference in New Issue
Block a user