[IMP] sale form view

bzr revid: fp@tinyerp.com-20120611100757-20fcsrkts3ussa2r
This commit is contained in:
Fabien Pinckaers 2012-06-11 12:07:57 +02:00
parent ca2e0deff5
commit 1c5c914789
1 changed files with 6 additions and 1 deletions

View File

@ -127,6 +127,12 @@
<field name="state" widget="statusbar" statusbar_visible="draft,sent,progress,invoiced,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
</header>
<sheet>
<h1>
<label string="Quotation " attrs="{'invisible': [('state','not in',('draft','sent'))]}"/>
<label string="Sale Order " attrs="{'invisible': [('state','in',('draft','sent'))]}"/>
<field name="name" class="oe_form_inline" readonly="1"/>
</h1>
<group>
<group>
<field name="partner_id" on_change="onchange_partner_id(partner_id)" domain="[('customer','=',True)]" context="{'search_default_customer':1}" />
@ -135,7 +141,6 @@
<field domain="[('type','=','sale')]" name="pricelist_id" groups="product.group_sale_pricelist" on_change="onchange_pricelist_id(pricelist_id,order_line)"/>
<field name="project_id" context="{'partner_id':partner_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="sale.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
</group><group>
<field name="name"/>
<field name="date_order"/>
<field name="shop_id" on_change="onchange_shop_id(shop_id)" widget="selection" groups="stock.group_locations"/>
<field name="client_order_ref"/>