[IMP]stock : Minore view improvemnetas

bzr revid: dbr@tinyerp.com-20120625104643-jm9axgyr1n54nyp6
This commit is contained in:
DBR (OpenERP) 2012-06-25 16:16:43 +05:30
parent 83f42e319e
commit df0a9899c9
2 changed files with 16 additions and 7 deletions

View File

@ -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>

View File

@ -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>