Hardik Sanchawat (OpenERP) has proposed merging 
lp:~openerp-commiter/openobject-addons/trunk-review-purchase-form-dbr-po-line-hsa
 into lp:~openerp-dev/openobject-addons/trunk-review-purchase-form-dbr.

Requested reviews:
  OpenERP R&D Team (openerp-dev)

For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-review-purchase-form-dbr-po-line-hsa/+merge/111194

Hello,

In Purchase Order Create Child View.

Thanks
- hsa
-- 
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-review-purchase-form-dbr-po-line-hsa/+merge/111194
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-commiter/openobject-addons/trunk-review-purchase-form-dbr-po-line-hsa
 into lp:~openerp-dev/openobject-addons/trunk-review-purchase-form-dbr.
=== modified file 'purchase/purchase_view.xml'
--- purchase/purchase_view.xml	2012-06-20 10:35:43 +0000
+++ purchase/purchase_view.xml	2012-06-20 11:23:19 +0000
@@ -166,13 +166,30 @@
                     <notebook>
                         <page string="Purchase Order">
                             <field name="order_line">
+                            	<form string="Purchase Order Lines" version="7.0">
+                            	<header>
+                                        <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done" statusbar_colors='{"exception":"red","cancel":"red"}'/>
+                                </header>
+                                <group col="4" colspan="4">
+                                	<group>
+                                		<field name="name"/>
+                                		<field name="product_qty"/>
+                                    	<field name="price_unit"/>
+                                	</group>
+                                	<group>
+                                		<field name="product_uom" groups="product.group_uom"/>
+                                		<field name="date_planned"/>
+                                		<field name="price_subtotal"/>
+                                	</group>
+                                </group>
+                            	</form>
                                 <tree string="Purchase Order Lines">
-                                    <field name="date_planned"/>
+                                	<field name="date_planned"/>
                                     <field name="name"/>
                                     <field name="product_qty"/>
                                     <field name="product_uom" groups="product.group_uom"/>
                                     <field name="price_unit"/>
-                                    <field name="price_subtotal"/>
+                                    <field name="price_subtotal"/>  
                                 </tree>
                             </field>
                             <group class="oe_subtotal_footer" col="4">
@@ -396,38 +413,25 @@
             <field name="arch" type="xml">
                 <form string="Purchase Order Line" version="7.0">
                 	<sheet>
-	                    <label for="order_id" class="oe_edit_only"/>
-	                    <h1>
-	                        <field name="order_id" class="oe_inline"/>, 
-	                        <field name="date_order" class="oe_inline"/>
-	                    </h1>
-	                    <label for="partner_id" class="oe_edit_only"/>
-	                    <h2><field name="partner_id"/></h2>
-	
-	                    <group>
+	                    <group col="4" colspan="4">
+	                        <group>
+	                           <field name="product_id"/>
+	                           <field name="product_qty" readonly="1" class="oe_inline"/>
+	                           <field name="price_unit"/>
+	                           <field name="taxes_id" widget="many2many_tags"
+	                                domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>                         
+	                        </group>
 	                        <group>
 	                            <field name="name"/>
-	                            <field name="product_id" readonly="1"/>
-	                            <label for="product_qty"/>
-	                            <div>
-	                                <field name="product_qty" readonly="1" class="oe_inline"/>
-	                                <field name="product_uom" readonly="1" groups="product.group_uom" class="oe_inline"/>
-	                            </div>
-	                            <field name="price_unit"/>
-	                        </group>
-	                        <group>
-	                            <field name="date_planned" widget="date"  readonly="1"/>
-	                            <field name="company_id" groups="base.group_multi_company" widget="selection"/>
-	                            <field name="account_analytic_id" colspan="4" groups="purchase.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
-	                            <field name="taxes_id" widget="many2many_tags"
-	                                domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
-	                            <field name="invoiced"/>
+ 	                            <field name="date_planned" widget="date"  readonly="1"/>
+ 	                            <field name="company_id" groups="base.group_multi_company" widget="selection"/>
+ 	                            <field name="account_analytic_id" colspan="2" groups="purchase.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
 	                        </group>
 	                    </group>
 	                    <separator string="Manual Invoices"/>
 	                    <field name="invoice_lines"/>
 	                    <separator string="Notes"/>
-	                    <field name="notes"/>
+	                    <field name="notes" placeholder="Add a note on the purchase line..."/>
 	                    <separator string="Stock Moves"/>
 	                    <field name="move_ids"/>
 	            	</sheet>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to