fix_and_better_access_rights
[odoo/odoo.git] / addons / account_budget / wizard / account_budget_spread_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3      <data>
4
5         <record id="account_budget_spread_view" model="ir.ui.view">
6              <field name="name">account.budget.spread.form</field>
7              <field name="model">account.budget.spread</field>
8              <field name="type">form</field>
9              <field name="arch" type="xml">
10                      <form string="Select Dates Period">
11                                     <field name="fiscalyear"/>
12                                     <field name="amount"/>
13                                     <group colspan="4" col="6">
14                         <label string ="" colspan="2"/>
15                                         <button special="cancel" string="Cancel" icon="gtk-cancel"/>
16                                 <button name="check_spread" string="Ok" type="object" icon="gtk-ok" default_focus="1"/>
17                                         </group>
18                                 </form>
19                         </field>
20                 </record>
21
22                 <record id="action_account_budget_spread" model="ir.actions.act_window">
23                         <field name="name">Spread</field>
24                         <field name="type">ir.actions.act_window</field>
25                         <field name="res_model">account.budget.spread</field>
26                         <field name="view_type">form</field>
27                         <field name="view_mode">form</field>
28                         <field name="view_id" ref="account_budget_spread_view"/>
29                         <field name="target">new</field>
30                 </record>
31
32          </data>
33 </openerp>