Files
ofbiz-framework/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml
T
Ashish Vijaywargiya b261859529 Applied patch from jira issue OFBIZ-3226 - "Quick lookup" screen for purchase order is broken when adding item from order detail page in edit mode.
Steps to produce the bug:

1) Place a purchase order
2) Once your order is placed then click on "Edit items" button of "Actions block"
3) After this down at the bottom click on "Quick lookup" button
4) You will land on screen which is broken 

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882132 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:49:07 +00:00

312 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="CommonOrderCheckoutDecorator">
<section>
<actions>
<set field="headerItem" value="orderentry"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/SetShoppingCart.groovy"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/SetCheckOutTabBar.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/OrderEntryCheckOutTabBar.ftl"/></html>
</platform-specific>
<decorator-section-include name="body"/>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="quickFinalizeOrder">
<section>
<actions>
<set field="headerItem" value="orderentry"/>
<set field="title-property" value="PageTitleCheckoutOptions"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/StorePaymentOptions.groovy"/>
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<container>
<label style="h1" text="${uiLabelMap.OrderQuickFinalizeOrder}"/>
</container>
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/checkoutoptions.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CustSettings">
<section>
<actions>
<set field="stepLabelId" value="PartyParties"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/custsettings.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ShipSettings">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderEntryShipToSettings"/>
<set field="stepLabelId" value="FacilityShipping"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/shipsettings.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditShipAddress">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderEntryShipToSettings"/>
<set field="stepLabelId" value="FacilityShipping"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/editShipAddress.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="SetItemShipGroups">
<section>
<actions>
<set field="stepTitleId" value="SetItemShipGroups"/>
<set field="stepLabelId" value="OrderShipGroups"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/SetShoppingCart.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/SetItemShipGroups.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OptionSettings">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderOptionSettings"/>
<set field="stepLabelId" value="CommonOptions"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/OptionSettings.groovy"/>
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/optionsettings.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="BillSettings">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderEntryPaymentSettings"/>
<set field="stepLabelId" value="AccountingPayment"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/BillSettings.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/billsettings.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="SetAdditionalParty">
<section>
<actions>
<set field="stepTitleId" value="PartyAdditionalPartyEntry"/>
<set field="stepLabelId" value="PartyParties"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/SetAdditionalParty.groovy"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/AdditionalPartyListing.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/setAdditionalParty.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/additionalPartyListing.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderTerms">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderEntryOrderTerms"/>
<set field="stepLabelId" value="OrderOrderTerms"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/OrderTerms.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/orderterms.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ConfirmOrder">
<section>
<actions>
<set field="stepTitleId" value="OrderOrderConfirmation"/>
<set field="stepLabelId" value="OrderReviewOrder"/>
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutReview.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderCheckoutDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/order/orderheaderinfo.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/order/orderpaymentinfo.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/order/shipGroupConfirmSummary.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/order/orderitems.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="checkoutshippingaddress">
<section>
<actions>
<set field="rightbarScreenName" value="rightbar"/>
<set field="MainColumnStyle" value="rightonly"/>
<set field="titleProperty" value="PageTitleCheckoutOptions"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutShippingAddress.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/checkoutshippingaddress.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="customertaxinfo">
<!-- meant to be included, generally through a screens.render type of thing -->
<section>
<actions>
<set field="partyId" from-field="userLogin.partyId"/>
<entity-condition entity-name="PartyTaxAuthInfoAndDetail" list="partyTaxAuthInfoAndDetailList">
<condition-expr field-name="partyId" from-field="partyId"/>
<order-by field-name="geoCode"/>
<order-by field-name="groupName"/>
</entity-condition>
<entity-condition entity-name="TaxAuthorityAndDetail" list="taxAuthorityAndDetailList">
<order-by field-name="geoCode"/>
<order-by field-name="groupName"/>
</entity-condition>
</actions>
<widgets>
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/customertaxinfo.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<screen name="LookupBulkAddSupplierProductsInApprovedOrder">
<section>
<actions>
<set field="titleProperty" value="PageTitleLookupBulkAddSupplierProduct"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/LookupBulkAddSupplierProducts.groovy"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<container style="screenlet">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/entry/OrderEntryCatalogTabBar.ftl"/></html>
</platform-specific>
<container style="screenlet-body">
<include-form location="component://order/widget/ordermgr/OrderForms.xml" name="LookupBulkAddSupplierProductsInApprovedOrder"></include-form>
</container>
</container>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>