svn commit: r1021650 - /ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml

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

svn commit: r1021650 - /ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml

jacopoc
Author: jacopoc
Date: Tue Oct 12 07:54:42 2010
New Revision: 1021650

URL: http://svn.apache.org/viewvc?rev=1021650&view=rev
Log:
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/trunk/applications/accounting/widget/AgreementScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml?rev=1021650&r1=1021649&r2=1021650&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementScreens.xml Tue Oct 12 07:54:42 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>