Author: jacopoc
Date: Mon Dec 18 23:31:49 2006
New Revision: 488565
URL:
http://svn.apache.org/viewvc?view=rev&rev=488565Log:
Added default system currency for fixed asset std costs.
Modified:
incubator/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml
incubator/ofbiz/trunk/applications/accounting/widget/FixedAssetScreens.xml
Modified: incubator/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml?view=diff&rev=488565&r1=488564&r2=488565==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml Mon Dec 18 23:31:49 2006
@@ -206,7 +206,7 @@
</field>
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"/>
<field name="amountUomId">
- <drop-down allow-empty="true">
+ <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<entity-options description="${uomId} - ${description}" entity-name="Uom" key-field-name="uomId">
<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
<entity-order-by field-name="uomId"/>
Modified: incubator/ofbiz/trunk/applications/accounting/widget/FixedAssetScreens.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/widget/FixedAssetScreens.xml?view=diff&rev=488565&r1=488564&r2=488565==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/widget/FixedAssetScreens.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/widget/FixedAssetScreens.xml Mon Dec 18 23:31:49 2006
@@ -141,7 +141,8 @@
<set field="tabButtonItem" value="EditFixedAssetStdCosts"/>
<set field="labelTitleProperty" value="PageTitleEditFixedAssetStdCosts"/>
<set field="fixedAssetId" from-field="parameters.fixedAssetId"/>
-
+
+ <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
<entity-one entity-name="FixedAsset" value-name="fixedAsset" auto-field-map="true"/>
</actions>
<widgets>