You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2012/05/29 06:13:29 UTC

svn commit: r1343487 - in /ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks: FinAccounts.ftl SerializedInventory.ftl

Author: doogie
Date: Tue May 29 04:13:29 2012
New Revision: 1343487

URL: http://svn.apache.org/viewvc?rev=1343487&view=rev
Log:
DEPRECATION: applications/party: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl?rev=1343487&r1=1343486&r2=1343487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/FinAccounts.ftl Tue May 29 04:13:29 2012
@@ -46,7 +46,7 @@ under the License.
         </thead>
         <tbody>
             <#list ownedFinAccountTransList as ownedFinAccountTrans>
-                <#assign finAccountTransType = ownedFinAccountTrans.getRelatedOne('FinAccountTransType')>
+                <#assign finAccountTransType = ownedFinAccountTrans.getRelatedOne('FinAccountTransType', false)>
                 <#assign displayAmount = ownedFinAccountTrans.amount>
                 <#if ownedFinAccountTrans.finAccountTransTypeId == 'WITHDRAWAL'>
                     <#assign displayAmount = -displayAmount>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl?rev=1343487&r1=1343486&r2=1343487&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/SerializedInventory.ftl Tue May 29 04:13:29 2012
@@ -38,7 +38,7 @@ under the License.
             </thead>
             <tbody>
                 <#list inventoryItemList as inventoryItem>
-                    <#assign product = inventoryItem.getRelatedOne('Product')?if_exists>
+                    <#assign product = inventoryItem.getRelatedOne('Product', false)?if_exists>
                     <tr>
                         <td><a href="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItem.inventoryItemId}&amp;externalLoginKey=${requestAttributes.externalLoginKey?if_exists}" class="linktext">${inventoryItem.inventoryItemId}</a></td>
                         <td>