Author: jleroux
Date: Sat Oct 24 15:49:23 2009 New Revision: 829392 URL: http://svn.apache.org/viewvc?rev=829392&view=rev Log: A patch from Deepak Dixit "Could not find screen with name [CommonPartyDecorator]." (https://issues.apache.org/jira/browse/OFBIZ-3080) - OFBIZ-3080 Steps to generate error: 1) Go to AP/AR. 2) Select Invoice. 3) Search Invoices. 4) Select an Invoice. 5) Click on Acctg Trans Id Modified: ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml Modified: ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml?rev=829392&r1=829391&r2=829392&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ap/CommonScreens.xml Sat Oct 24 15:49:23 2009 @@ -344,4 +344,27 @@ </widgets> </section> </screen> + <screen name="CommonPartyDecorator"> + <section> + <actions> + <set field="headerItem" value="companies"/> + <set field="organizationPartyId" from-field="parameters.organizationPartyId" global="true"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <not><if-empty field="organizationPartyId"/></not> + </condition> + <widgets> + <include-menu name="PartyTopTabBar" location="component://accounting/widget/AccountingMenus.xml"/> + <decorator-section-include name="body"/> + </widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> </screens> \ No newline at end of file Modified: ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml?rev=829392&r1=829391&r2=829392&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ar/CommonScreens.xml Sat Oct 24 15:49:23 2009 @@ -178,5 +178,28 @@ </widgets> </section> </screen> + <screen name="CommonPartyDecorator"> + <section> + <actions> + <set field="headerItem" value="companies"/> + <set field="organizationPartyId" from-field="parameters.organizationPartyId" global="true"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <not><if-empty field="organizationPartyId"/></not> + </condition> + <widgets> + <include-menu name="PartyTopTabBar" location="component://accounting/widget/AccountingMenus.xml"/> + <decorator-section-include name="body"/> + </widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> </screens> \ No newline at end of file |
Free forum by Nabble | Edit this page |