<field name="arch" type="xml">
<form string="Create Stock Planning Lines" version="7.0">
<group col="4">
+ <field name="period_id"/>
<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="period_id"/>
<field name="product_categ_id" attrs="{'required':[('forecasted_products','=',0)]}"/>
</group>
<footer>
<button name="create_planning" string="Create" type="object" class="oe_highlight"/>
or
- <button string="Cancel" class="oe_link" special="cancel" />
+ <button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>