Author: jacopoc
Date: Tue Oct 12 07:58:24 2010
New Revision: 1021653

URL: http://svn.apache.org/viewvc?rev=1021653&view=rev
Log:
Backported from rev. 1021650:

"Added missing sorting to the agreement products screens (and reports): this 
was making maintenance of price lists very difficult. Thanks to Giorgio 
Tomaselli for the bug report."


Modified:
    
ofbiz/branches/release10.04/applications/accounting/widget/AgreementScreens.xml

Modified: 
ofbiz/branches/release10.04/applications/accounting/widget/AgreementScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/accounting/widget/AgreementScreens.xml?rev=1021653&r1=1021652&r2=1021653&view=diff
==============================================================================
--- 
ofbiz/branches/release10.04/applications/accounting/widget/AgreementScreens.xml 
(original)
+++ 
ofbiz/branches/release10.04/applications/accounting/widget/AgreementScreens.xml 
Tue Oct 12 07:58:24 2010
@@ -365,6 +365,7 @@ under the License.
                 <entity-and entity-name="AgreementProductAppl" 
list="agreementProducts">
                     <field-map from-field="agreement.agreementId" 
field-name="agreementId"/>
                     <field-map from-field="agreementItem.agreementItemSeqId" 
field-name="agreementItemSeqId"/>
+                    <order-by field-name="productId"/>
                 </entity-and>
             </actions>
             <widgets>
@@ -401,6 +402,7 @@ under the License.
                 <entity-and entity-name="AgreementProductAppl" 
list="agreementProducts">
                     <field-map from-field="agreement.agreementId" 
field-name="agreementId"/>
                     <field-map from-field="agreementItem.agreementItemSeqId" 
field-name="agreementItemSeqId"/>
+                    <order-by field-name="productId"/>
                 </entity-and>
             </actions>
             <widgets>
@@ -464,6 +466,7 @@ under the License.
                 <entity-and entity-name="SupplierProduct" 
list="agreementProducts">
                     <field-map from-field="agreement.agreementId" 
field-name="agreementId"/>
                     <field-map from-field="agreementItem.agreementItemSeqId" 
field-name="agreementItemSeqId"/>
+                    <order-by field-name="productId"/>
                 </entity-and>
             </actions>
             <widgets>
@@ -500,6 +503,7 @@ under the License.
                 <entity-and entity-name="SupplierProduct" 
list="agreementProducts">
                     <field-map from-field="agreement.agreementId" 
field-name="agreementId"/>
                     <field-map from-field="agreementItem.agreementItemSeqId" 
field-name="agreementItemSeqId"/>
+                    <order-by field-name="productId"/>
                 </entity-and>
             </actions>
             <widgets>


Reply via email to