[FIX]:Pricelist field should be on Operations tab not on Invoicing tab
authorAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 19 Jun 2012 12:25:24 +0000 (17:55 +0530)
committerAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 19 Jun 2012 12:25:24 +0000 (17:55 +0530)
bzr revid: apa@tinyerp.com-20120619122524-kf7hsjbwl3h0qljn

addons/mrp_repair/mrp_repair_view.xml

index 80ae7ae..4f9bae9 100644 (file)
                     </group>
                 <notebook>
                     <page string="Operations">
+                        <group col="4">
+                            <field
+                                name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}"
+                                attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
+                        </group>
                         <field name="operations">
                             <form string="Operations" version="7.0">
                                 <notebook>
                     <page string="Invoicing">
                         <group col="4">
                             <field name="invoice_method"/>
-                            <field
-                                name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}"
-                                attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
                             <field name="partner_invoice_id" attrs="{'readonly':[('invoice_method','=', 'none')]}"/>
                         </group>
                         <!-- <field name="invoice_id"/> -->