Author: jleroux
Date: Tue Jun 20 09:33:51 2017
New Revision: 1799327
URL:
http://svn.apache.org/viewvc?rev=1799327&view=revLog:
Improved: Accounting Manager \ Fixed Assets, press button [NEW FIXED ASSET],
but action button is [Update], not [Save]
(OFBIZ-9422)
Thanks: Do Nhu Vy for report
Modified:
ofbiz/ofbiz-framework/trunk/applications/accounting/widget/FixedAssetForms.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/FixedAssetForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/FixedAssetForms.xml?rev=1799327&r1=1799326&r2=1799327&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/FixedAssetForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/FixedAssetForms.xml Tue Jun 20 09:33:51 2017
@@ -122,7 +122,8 @@ under the License.
<field name="locatedAtFacilityId"><lookup target-form-name="LookupFacility"/></field>
<field name="locatedAtLocationSeqId"><lookup target-form-name="LookupFacilityLocation"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ <field name="submitButton" use-when="fixedAssetId!=null" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+ <field name="submitButton" use-when="fixedAssetId==null" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListFixedAssetProducts" type="list" list-name="fixedAssetProducts" target="updateFixedAssetProduct"