[IMP]purchase: improve form view tabs
bzr revid: je@bcim.be-20130604125927-0ylgwlr0i2cil7at
This commit is contained in:
parent
78cc45b138
commit
4b36b0cd49
|
@ -203,7 +203,7 @@
|
|||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Purchase Order">
|
||||
<page string="Products">
|
||||
<field name="order_line">
|
||||
<tree string="Purchase Order Lines" editable="bottom">
|
||||
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,0,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,product_lead_time,context)"/>
|
||||
|
@ -232,7 +232,14 @@
|
|||
<div class="oe_clear"/>
|
||||
<field name="notes" class="oe_inline" placeholder="Terms and conditions..."/>
|
||||
</page>
|
||||
<page string="Incoming Shipments & Invoices">
|
||||
<page string="RFQ & Bid">
|
||||
<group>
|
||||
<field name="payment_term_id" widget="selection"/>
|
||||
<field name="bid_date"/>
|
||||
<field name="bid_validity"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Deliveries & Invoices">
|
||||
<group>
|
||||
<group>
|
||||
<field name="dest_address_id" string="Customer Address" on_change="onchange_dest_address_id(dest_address_id)" groups="stock.group_locations"/>
|
||||
|
@ -243,7 +250,6 @@
|
|||
<group>
|
||||
<field name="invoice_method"/>
|
||||
<field name="invoiced"/>
|
||||
<field name="payment_term_id" widget="selection"/>
|
||||
<field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}" />
|
||||
<!-- We do not need these fields anymore, the information is in open chatter -->
|
||||
<field name="validator" groups="base.group_no_one"/>
|
||||
|
@ -251,12 +257,6 @@
|
|||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Bid information">
|
||||
<group>
|
||||
<field name="bid_date"/>
|
||||
<field name="bid_validity"/>
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<field name="model">purchase.order</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="validator" position="before">
|
||||
<field name="bid_date" position="before">
|
||||
<field name="requisition_id"/>
|
||||
</field>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue