[IMP]stock : Minore view improvemnetas
bzr revid: dbr@tinyerp.com-20120625104643-jm9axgyr1n54nyp6
This commit is contained in:
parent
83f42e319e
commit
df0a9899c9
|
@ -123,6 +123,7 @@
|
|||
<sheet>
|
||||
<h1>
|
||||
<field name="name" placeholder="Annual inventory" class="oe_inline"/>
|
||||
<span> - </span>
|
||||
<field name="date" class="oe_inline"/>
|
||||
</h1>
|
||||
<div>
|
||||
|
|
|
@ -11,13 +11,21 @@
|
|||
<header>
|
||||
<button icon="gtk-ok" name="create_planning" string="Create" type="object"/>
|
||||
</header>
|
||||
<group col="4">
|
||||
<field name="period_id" widget="one2many_list"/>
|
||||
<field name="company_id" widget= "selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/>
|
||||
<field name="warehouse_id" domain = "[('company_id','=',company_id)] "/>
|
||||
<field name="forecasted_products"/>
|
||||
<field name="product_categ_id" attrs="{'required':[('forecasted_products','=',0)]}" widget="one2many_list"/>
|
||||
</group>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="company_id" widget= "selection" on_change="onchange_company(company_id)" groups="base.group_multi_company"/>
|
||||
<field name="warehouse_id" domain = "[('company_id','=',company_id)] "/>
|
||||
<field name="forecasted_products"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group string="Period">
|
||||
<field name="period_id" widget="one2many_list" nolabel="1"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group string="Product category">
|
||||
<field name="product_categ_id" attrs="{'required':[('forecasted_products','=',0)]}" widget="one2many_list" nolabel="1"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue