[IMP]stock planning : set widget="o2m_list"
bzr revid: hsa@tinyerp.com-20120625055259-y0p8m1owm5zbycm2
This commit is contained in:
parent
f1582918e6
commit
5731d34731
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue