[IMP]stock_plannig: Remove cancel btn and set Duration

bzr revid: dbr@tinyerp.com-20120625071920-gnn2vy3zji3mcne8
This commit is contained in:
DBR (OpenERP) 2012-06-25 12:49:20 +05:30
parent 1236cb1a9d
commit 6d8b91f69e
1 changed files with 5 additions and 2 deletions

View File

@ -10,14 +10,17 @@
<field name="arch" type="xml">
<form string="Stock Periods" version="7.0">
<header>
<button string="Cancel" special="cancel" icon="gtk-cancel"/>
<button name="create_stock_periods" icon="gtk-dnd" string="Create Daily Periods" type="object"/>
<button name="create_stock_periods" icon="gtk-dnd" string="Create Weekly Periods" type="object" context="{'interval': 6, 'name': 'Weekly'}"/>
<button name="create_stock_periods" icon="gtk-dnd" string="Create Monthly Periods" type="object" context="{'interval': 1, 'name': 'Monthly'}"/>
</header>
<group col="4">
<group>
<label for="date_start" string="Duration"/>
<div>
<field name="date_start"/>
<label string="-"/>
<field name="date_stop"/>
</div>
</group>
</form>
</field>