svn commit: r674255 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/PartyForms.xml widget/partymgr/ProfileScreens.xml

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

svn commit: r674255 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/PartyForms.xml widget/partymgr/ProfileScreens.xml

hansbak-2
Author: hansbak
Date: Sat Jul  5 21:28:22 2008
New Revision: 674255

URL: http://svn.apache.org/viewvc?rev=674255&view=rev
Log:
some small problem in the partygroup info fixed: currency not displayed

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=674255&r1=674254&r2=674255&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Sat Jul  5 21:28:22 2008
@@ -85,6 +85,7 @@
         <field use-when="partyGroup==null&amp;&amp;partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field>
         <field name="groupName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"></field>
         <field name="partyTypeId"><ignored/></field>
+        <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field>
         <field name="preferredCurrencyUomId">
             <drop-down allow-empty="true">
                 <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
@@ -100,16 +101,9 @@
     <form name="ViewPartyGroup" type="single" default-map-name="lookupGroup">
         <auto-fields-entity entity-name="PartyGroup" default-field-type="display"/>
         <field name="partyTypeId"><ignored/></field>
-        <field name="preferredCurrencyUomId">
-            <drop-down allow-empty="true">
-                <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
-                    <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
-                    <entity-order-by field-name="abbreviation"/>
-                </entity-options>
-            </drop-down>
-        </field>
         <field name="comments"><ignored/></field>
         <field name="logoImageUrl"><ignored/></field>
+        <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
         <field name="preferredCurrencyUomId" title="${uiLabelMap.CommonCurrency}"><display-entity entity-name="Uom" key-field-name="uomId" description="${description}"/></field>
     </form>
     

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=674255&r1=674254&r2=674255&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sat Jul  5 21:28:22 2008
@@ -27,10 +27,10 @@
                     <field-map field-name="partyId" env-name="parameters.partyId"/>
                     <order-by field-name="-changeDate"/>
                 </entity-and>
-                <entity-one entity-name="PartyGroup" value-name="lookupGroup">
+                <entity-one entity-name="PartyAndGroup" value-name="lookupGroup">
                     <field-map field-name="partyId" env-name="parameters.partyId"/><!-- is required -->
                 </entity-one>
-                <entity-one entity-name="Person" value-name="lookupPerson">
+                <entity-one entity-name="PartyAndPerson" value-name="lookupPerson">
                     <field-map field-name="partyId" env-name="parameters.partyId"/><!-- is required -->
                 </entity-one>
             </actions>