[IMP]stock planning : set widget="o2m_list"

bzr revid: hsa@tinyerp.com-20120625055259-y0p8m1owm5zbycm2
This commit is contained in:
Hardik 2012-06-25 11:22:59 +05:30
parent f1582918e6
commit 5731d34731
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@
<button icon="gtk-ok" name="create_planning" string="Create" type="object"/>
</header>
<group col="4">
<field name="period_id" widget="selection"/>
<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="selection"/>
<field name="product_categ_id" attrs="{'required':[('forecasted_products','=',0)]}" widget="one2many_list"/>
</group>
</form>
</field>