[REF] purchase: search view of purchase order and form view of merge order wizard
authorHarry (Open ERP) <hmo@tinyerp.com>
Thu, 25 Mar 2010 07:44:05 +0000 (13:14 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Thu, 25 Mar 2010 07:44:05 +0000 (13:14 +0530)
bzr revid: hmo@tinyerp.com-20100325074405-4rwf5u5ys8le07m3

addons/purchase/purchase_view.xml
addons/purchase/wizard/purchase_order_group_view.xml

index 70942ea..6532387 100644 (file)
                         <filter icon="terp-partner" domain="[('create_uid','=',uid)]" help="My Purchase Orders"/>                        
                     </field>
                 </group>
+                <newline/>
                   <group expand="1" string="Group By..." colspan="4" col="10">
                     <filter string="Supplier" icon="terp-purchase" domain="[]" context="{'group_by':'partner_id'}"/>    
                     <filter string="State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>                
index b943c64..aa835b3 100644 (file)
@@ -9,24 +9,19 @@
                <form string="Merge orders">
                                <separator string="Are you sure you want to merge these orders ?" colspan="4"/>
                                        <newline/>
-                               <label string="Please note that:" colspan="4"/>
-                               <newline/>
-                               <label string="-orders will only be merged if:" colspan="4"/>
-                               <newline/>
-                               <label string="* their status is draft" colspan="4"/>
-                               <newline/>
-                               <label string="* they belong to the same partner" colspan="4"/>
-                               <newline/>
-                               <label string="* are going to the same location" colspan="4"/>
-                               <newline/>
-                               <label string="* have the same pricelist" colspan="4"/>
-                               <newline/>
-                               <label string="- lines will only be merged if:" colspan="4"/>
-                               <newline/>
-                               <label string="* they are exactly the same except for the quantity and unit" colspan="4"/>
+                               <label string="
+Please note that: &#13; &#13;  
+Orders will only be merged if: &#13;  
+* Purchase Orders are in draft &#13;  
+* Purchase Orders belong to the same partner &#13;  
+* Purchase Orders are have same stock location, same pricelist &#13; &#13;   
+Lines will only be merged if: &#13;  
+* Order lines are exactly the same except for the quantity and unit &#13;
+" colspan="4"/>                                
+                                   <newline/>                                  
                                <separator string="" colspan="4" />
-                                       <button special="cancel" string="Cancel" />
-                   <button name="merge_orders" string="Merge orders" type="object" />
+                                       <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                   <button name="merge_orders" string="Merge orders" type="object" icon="gtk-convert"/>
                        </form>
             </field>
                </record>