Author: hansbak
Date: Sun Jul 19 03:54:22 2009 New Revision: 795474 URL: http://svn.apache.org/viewvc?rev=795474&view=rev Log: take the default currency as set in the commonext component Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml ofbiz/trunk/applications/accounting/widget/CostForms.xml ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml ofbiz/trunk/applications/accounting/widget/GlForms.xml ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/agreement/AgreementForms.xml Sun Jul 19 03:54:22 2009 @@ -156,7 +156,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml Sun Jul 19 03:54:22 2009 @@ -216,7 +216,7 @@ <display-entity entity-name="FixedAssetStdCostType"/> </field> <field name="amountUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -243,7 +243,7 @@ </field> <field name="fromDate" title="${uiLabelMap.CommonFromDate}"/> <field name="amountUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml Sun Jul 19 03:54:22 2009 @@ -99,6 +99,7 @@ </entity-condition> </actions> <field name="statusId"><hidden value="PMNT_NOT_PAID"/></field> + <field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field> <field position="1" name="organizationPartyId" parameter-name="partyIdFrom"> <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}"> <entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId"> @@ -120,14 +121,6 @@ </drop-down> </field> <field name="amount" position="1"><text/></field> - <field position="2" name="currencyUomId" > - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> - <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="description"/> - </entity-options> - </drop-down> - </field> <field position="1" name="createButton" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -135,6 +128,7 @@ <form name="NewPaymentIn" type="single" target="createPayment" default-map-name="payment" header-row-style="header-row" default-table-style="basic-table"> <field name="statusId"><hidden value="PMNT_NOT_PAID"/></field> + <field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field> <field position="1" name="organizationPartyId" parameter-name="partyIdTo"> <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}"> <entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId"> @@ -159,14 +153,6 @@ </drop-down> </field> <field name="amount" position="1"><text/></field> - <field position="2" name="currencyUomId" > - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> - <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="description"/> - </entity-options> - </drop-down> - </field> <field position="1" name="createButton" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -177,7 +163,7 @@ <entity-one entity-name="Party" value-field="partyFrom"> <field-map field-name="partyId" from-field="payment.partyIdFrom"/> </entity-one> - <set field="payment.actualCurrencyUomId" from-field="partyFrom.preferredCurrencyUomId" default-value="${defaultCurrencyUomId}"/> + <set field="payment.actualCurrencyUomId" from-field="partyFrom.preferredCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/> <entity-one entity-name="StatusItem" value-field="currentStatus"> <field-map field-name="statusId" from-field="payment.statusId"/> </entity-one> @@ -225,7 +211,7 @@ </field> <field name="amount" position="1"><text/></field> <field position="2" name="currencyUomId"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml Sun Jul 19 03:54:22 2009 @@ -125,7 +125,7 @@ <field use-when="roleTypeId == null" name="roleTypeId"><hidden value="BILL_TO_CUSTOMER"/></field> <field name="accountCurrencyUomId"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/CostForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CostForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/CostForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/CostForms.xml Sun Jul 19 03:54:22 2009 @@ -56,7 +56,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml Sun Jul 19 03:54:22 2009 @@ -85,7 +85,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/GlForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlForms.xml Sun Jul 19 03:54:22 2009 @@ -572,7 +572,7 @@ </field> <field name="origAmount"><text size="30"/></field> <field name="origCurrencyUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml Sun Jul 19 03:54:22 2009 @@ -129,7 +129,7 @@ </field> <field name="baseCurrencyUomId" use-when="partyAcctgPreference==null" tooltip="${uiLabelMap.${bsh:agregatedPartyAcctgPreference!= null&&agregatedPartyAcctgPreference.get("baseCurrencyUomId")!=null?"AccountingInheritedValue":""}}"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -309,7 +309,7 @@ header-row-style="header-row" default-table-style="basic-table"> <field name="organizationPartyId"><hidden value="${organizationPartyId}"/></field> <field name="uomId" title="${uiLabelMap.CommonFrom} ${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -317,7 +317,7 @@ </drop-down> </field> <field name="uomIdTo" title="${uiLabelMap.CommonTo} ${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml Sun Jul 19 03:54:22 2009 @@ -88,7 +88,7 @@ <field name="glXbrlClassId"><display-entity entity-name="GlXbrlClass"></display-entity></field> <field name="parentGlAccountId"><display-entity entity-name="GlAccount" description="${accountName} [${glAccountId}]" key-field-name="glAccountId"></display-entity></field> <field name="accountCode"><hidden/></field> - <field name="postedBalance" widget-area-style="align-text" title-area-style="align-text"><display type="currency" currency="${defaultCurrencyUomId}"/></field> + <field name="postedBalance" widget-area-style="align-text" title-area-style="align-text"><display type="currency" currency="${defaultOrganizationPartyCurrencyUomId}"/></field> </form> <form name="EditGlAccount" type="single" target="updateGlAccount" title="" default-map-name="glAccount" @@ -258,7 +258,7 @@ </field> <field name="rateAmount" position="1"><text/></field> <field name="rateCurrencyUomId" position="2"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml Sun Jul 19 03:54:22 2009 @@ -48,7 +48,7 @@ </drop-down> </field> <field name="currencyUomId" required-field="false"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml Sun Jul 19 03:54:22 2009 @@ -228,7 +228,7 @@ <field use-when="surveyQuestionOption!=null" name="surveyOptionSeqId"><hidden/></field> <field name="amountBaseUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml Sun Jul 19 03:54:22 2009 @@ -178,7 +178,7 @@ <field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}" position="2"><lookup target-form-name="LookupSalaryStep"/></field> <field name="rateAmount"><text/></field> <field name="rateCurrencyUomId" position="2"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml Sun Jul 19 03:54:22 2009 @@ -58,7 +58,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml Sun Jul 19 03:54:22 2009 @@ -50,7 +50,7 @@ <field name="costGlAccountTypeId"><hidden/></field> <field name="offsettingGlAccountTypeId"><hidden/></field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml Sun Jul 19 03:54:22 2009 @@ -51,7 +51,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml Sun Jul 19 03:54:22 2009 @@ -70,7 +70,7 @@ header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="SalesForecast" default-field-type="find"/> <field name="currencyUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml Sun Jul 19 03:54:22 2009 @@ -65,7 +65,7 @@ <lookup target-form-name="LookupPartyName"/> </field> <field name="currencyUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Sun Jul 19 03:54:22 2009 @@ -92,7 +92,7 @@ </field> <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount}"><text size="25"/></field> <field name="currencyUomId" position="2" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml Sun Jul 19 03:54:22 2009 @@ -49,7 +49,7 @@ </field> <field name="productStoreId"><lookup target-form-name="/marketing/control/LookupProductStore"/></field> <field name="currencyUom"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -309,7 +309,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml Sun Jul 19 03:54:22 2009 @@ -65,7 +65,7 @@ </field> <field name="currencyUom"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml Sun Jul 19 03:54:22 2009 @@ -50,7 +50,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -141,7 +141,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml Sun Jul 19 03:54:22 2009 @@ -55,7 +55,7 @@ </drop-down> </field> <field name="currencyUomId" use-when="returnHeader==null"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Sun Jul 19 03:54:22 2009 @@ -275,7 +275,7 @@ </field> <field name="description" parameter-name="story" use-when="custRequest==null" encode-output="false"><textarea cols="60" rows="12" default-value="${communicationEvent.content}"/></field> <field name="maximumAmountUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -296,7 +296,7 @@ <lookup target-form-name="LookupPreferredContactMech" target-parameter="fromPartyId"/> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> 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=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Sun Jul 19 03:54:22 2009 @@ -65,7 +65,7 @@ <drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down> </field> <field name="preferredCurrencyUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -100,7 +100,7 @@ <field name="partyTypeId"><ignored/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field> <field name="preferredCurrencyUomId"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -644,7 +644,7 @@ </drop-down> </field> <field name="currencyUomId"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <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"/> Modified: ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml Sun Jul 19 03:54:22 2009 @@ -363,7 +363,7 @@ <field name="thruDate" title="${uiLabelMap.CommonThruDate}" position="2"><date-time/></field> <field name="price" title="${uiLabelMap.ProductPrice}" widget-style="required" position="1"><text size="25"/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrency}" position="2"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml Sun Jul 19 03:54:22 2009 @@ -138,7 +138,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Sun Jul 19 03:54:22 2009 @@ -157,7 +157,7 @@ </field> <field position="1" name="quantityIncluded" title="${uiLabelMap.ProductQuantityIncluded}"><text size="10" maxlength="20"/></field> <field position="2" name="quantityUomId" title="${uiLabelMap.ProductQuantityUomId}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -354,7 +354,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -802,7 +802,7 @@ <display/> </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}" use-when="supplierProduct==null"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -1164,7 +1164,7 @@ </drop-down> </field> <field name="costUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -1184,7 +1184,7 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options entity-name="Uom" key-field-name="uomId" description="${description} [${uomId}]"> <entity-constraint name="uomTypeId" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml Sun Jul 19 03:54:22 2009 @@ -138,7 +138,7 @@ </field> --> <field name="defaultCurrencyUomId"> - <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> @@ -813,7 +813,7 @@ </drop-down> </field> <field name="puom" title="${uiLabelMap.ProductUnitOfMeasure}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml Sun Jul 19 03:54:22 2009 @@ -95,7 +95,7 @@ <field name="latestCancelDate" title="${uiLabelMap.ProductLatestCancelDate}"><date-time/></field> <field name="estimatedShipCost" title="${uiLabelMap.ProductEstimatedShipCost}"><text/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=795474&r1=795473&r2=795474&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Sun Jul 19 03:54:22 2009 @@ -799,7 +799,7 @@ </field> <field name="rateAmount" tooltip="${uiLabelMap.WorkEffortOverrideDefaultRateAmount}"><text/></field> <field name="rateCurrencyUomId" position="2"> - <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> <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"/> |
Free forum by Nabble | Edit this page |