[FIX] purchase: restrict location fields on purchase order to group_locations
bzr revid: rco@openerp.com-20120514124535-ko11t7zawuitu9pf
This commit is contained in:
parent
37cd1e5d59
commit
1a0994043f
|
@ -136,7 +136,7 @@
|
|||
<field name="date_order"/>
|
||||
<field name="invoiced"/>
|
||||
<newline/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
|
||||
<field name="partner_ref"/>
|
||||
<field name="shipped"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
|
@ -182,7 +182,7 @@
|
|||
<separator string="Delivery" colspan="2"/>
|
||||
<field name="dest_address_id" on_change="onchange_dest_address_id(dest_address_id)"/>
|
||||
<field name="minimum_planned_date"/>
|
||||
<field name="location_id"/>
|
||||
<field name="location_id" groups="stock.group_locations"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Invoice Control" colspan="2"/>
|
||||
|
|
Loading…
Reference in New Issue