[IMP] Use manual layout for sale order form view

bzr revid: fme@openerp.com-20120409213037-0fehbp1572e0qrkk
This commit is contained in:
Fabien Meghazi 2012-04-09 23:30:37 +02:00
parent 542a2bb0da
commit 214ec28024
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@
<field name="model">sale.order</field>
<field name="type">form</field>
<field name="arch" type="xml">
<html>
<html layout="manual">
<div class="oe_form_topbar">
<button name="invoice_recreate" states="invoice_except" string="Recreate Invoice" icon="gtk-go-forward"/>
<button name="invoice_corrected" states="invoice_except" string="Ignore Exception" icon="gtk-apply"/>
@ -115,7 +115,7 @@
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,progress,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
</div>
</div>
<form string="Sales Order">
<form string="Sales Order" class="oe_form_autolayout">
<group col="2" class="oe_form_header">
<group col="2">
<field name="partner_id" options='{"quick_create": false}' on_change="onchange_partner_id(partner_id)" domain="[('customer','=',True)]" context="{'search_default_customer':1}" required="1"/>