You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.1 KiB
56 lines
2.1 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="form_salon_module_month_auto">
|
|
<field name="name">salon.month.form.auto</field>
|
|
<field name="model">salon.auto_fill.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group>
|
|
<group>
|
|
<field name="name"/>
|
|
</group>
|
|
<group>
|
|
<field name="month"/>
|
|
<field name="no_days"/>
|
|
<field name="year"/>
|
|
</group>
|
|
</group>
|
|
<group>
|
|
<p class="oe_grey">
|
|
Click the button 'Schedule' to generate a month that filled automatically.
|
|
</p>
|
|
</group>
|
|
<group>
|
|
<group>
|
|
<div style="width:200px">
|
|
<button string="Schedule"
|
|
name="act_auto_fill"
|
|
type="object"
|
|
class="oe_highlight"/>
|
|
<button string="Close"
|
|
name="close_auto_fill"
|
|
type="object"/>
|
|
</div>
|
|
</group>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<!--ACTION [AUTO MONTH]-->
|
|
<record id="action_auto_month" model="ir.actions.act_window">
|
|
<field name="name">Auto-Filled Month</field>
|
|
<field name="res_model">salon.auto_fill.wizard</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
<!--MENU [AUTO MONTH]-->
|
|
<menuitem id="menu_auto_month"
|
|
parent="base.menu_sales"
|
|
action="action_auto_month"
|
|
sequence="13"/>
|
|
|
|
</data>
|
|
</openerp>
|