[FIX] sale: Hide the state field on the sale order lines

bzr revid: stw@openerp.com-20120724133858-a38ovfjt6gklbz3t
This commit is contained in:
Stephane Wirtel 2012-07-24 15:38:58 +02:00
parent 4721000902
commit 41617e1100
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,7 @@
</header>
<group>
<group>
<field name="state" invisible="1" />
<field name="product_id"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"
groups="base.group_user"
@ -256,6 +257,7 @@
</div>
</form>
<tree string="Sales Order Lines">
<field name="state" invisible="1" />
<field name="sequence"/>
<field name="name"/>
<field name="product_uom_qty" string="Quantity"/>