svn commit: r788652 - /ofbiz/trunk/applications/accounting/widget/Menus.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r788652 - /ofbiz/trunk/applications/accounting/widget/Menus.xml

ashish-18
Author: ashish
Date: Fri Jun 26 11:05:56 2009
New Revision: 788652

URL: http://svn.apache.org/viewvc?rev=788652&view=rev
Log:
defaultOrganizationPartyId will not be required in case of Accounting Menus.
As each menu is included in the screens where organizationPartyId is passed in the parameters.

This "defaultOrganizationPartyId" creates problem when you have Parent Organization by name "Company" (values are set in general.properties)
 & you are navigating in these two menus for Child Organization by name "Child_Company".
Then it finds the default organization which is "Company" so on navigating b/w these two menus it gives wrong data on the screens.

Modified:
    ofbiz/trunk/applications/accounting/widget/Menus.xml

Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=788652&r1=788651&r2=788652&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/Menus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/Menus.xml Fri Jun 26 11:05:56 2009
@@ -565,7 +565,7 @@
                 <if-service-permission service-name="acctgPrefPermissionCheck" main-action="UPDATE"/>
             </condition>
             <link target="AdminMain">
-                <parameter param-name="organizationPartyId" from-field="defaultOrganizationPartyId"/>
+                <parameter param-name="organizationPartyId" from-field="organizationPartyId"/>
             </link>
         </menu-item>
         <menu-item name="PartyAccounts" title="${uiLabelMap.AccountingAccounting}">
@@ -573,7 +573,7 @@
                 <if-service-permission service-name="basicGeneralLedgerPermissionCheck" main-action="VIEW"/>
             </condition>
             <link target="PartyAccountsSummary">
-                <parameter param-name="organizationPartyId" from-field="defaultOrganizationPartyId"/>
+                <parameter param-name="organizationPartyId" from-field="organizationPartyId"/>
             </link>
         </menu-item>
     </menu>