Author: jleroux
Date: Fri May 20 17:25:12 2016
New Revision: 1744773

URL: http://svn.apache.org/viewvc?rev=1744773&view=rev
Log:
A patch from Amardeep Singh Jhajj for "Unable to add new note to Fixed Asset's 
maintenance" https://issues.apache.org/jira/browse/OFBIZ-7083

Getting error when tried to add note to fixed asset maintenance. Please find 
attached screenshot.
Steps to regenerate:
1. Go to Asset Maintenance : 
https://localhost:8443/assetmaint/control/EditFixedAssetMaint?fixedAssetId=10000&maintHistSeqId=00002
2. Now click on notes.
3. Now screen will have option to update notes instead of add notes.
4. Fill note field and click on update. We will get error.

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=1744773&r1=1744772&r2=1744773&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml 
(original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml Fri May 
20 17:25:12 2016
@@ -264,6 +264,7 @@
                 <set field="maintHistSeqId" 
from-field="parameters.maintHistSeqId"/>
                 <entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
                 <entity-one entity-name="FixedAssetMaint" 
value-field="fixedAssetMaint"/>
+                <set field="noteId" from-field="parameters.noteId"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonFixedAssetMaintDecorator">


Reply via email to