Author: jleroux
Date: Fri May 20 17:07:13 2016
New Revision: 1744768

URL: http://svn.apache.org/viewvc?rev=1744768&view=rev
Log:
A patch from Amardeep Singh Jhajj for "Fixed asset maintenance pdf has missing 
UI Labels" https://issues.apache.org/jira/browse/OFBIZ-7084

Steps to get fixed asset maintenance pdf:
1. Go to Asset Maintenance : 
https://localhost:8443/assetmaint/control/findFixedAssetMaints
2. Create maintenance for Fixed asset by clicking create maintenance button.
3. On edit fixed asset maintenance page, click on print(PDF).

jleroux: there are still some labels missing, 1st step...

Modified:
    ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml

Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml?rev=1744768&r1=1744767&r2=1744768&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml 
(original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml Fri May 
20 17:07:13 2016
@@ -313,11 +313,12 @@
                 <property-map resource="AccountingUiLabels" 
map-name="uiLabelMap" global="true"/>
                 <property-map resource="ProductUiLabels" map-name="uiLabelMap" 
global="true"/>
                 <property-map resource="CommonUiLabels" map-name="uiLabelMap" 
global="true"/>
-                <set field="layoutSettings.documentTitle" 
from-field="uiLabelMap.FixedAssetMaintWorkEffortName"/>
+                <property-map resource="WorkEffortUiLabels" 
map-name="uiLabelMap" global="true"/>
 
                 <set field="fixedAssetId" 
from-field="parameters.fixedAssetId"/>
                 <set field="maintHistSeqId" 
from-field="parameters.maintHistSeqId"/>
                 <entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
+                <set field="layoutSettings.documentTitle" 
from-field="uiLabelMap.AccountingFixedAssetMaintWorkEffortName"/>
                 <entity-one entity-name="FixedAssetMaint" 
value-field="fixedAssetMaint"/>
                 <entity-condition list="itemIssuanceList" 
entity-name="ProductInventoryItemAndItemIssuance">
                     <condition-expr field-name="quantity" operator="greater" 
value="0"/>


Reply via email to