[FIX] website_forum: post edition working again
[odoo/odoo.git] / addons / account_budget / wizard / account_budget_report_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3      <data>
4
5       <record id="account_budget_report_view" model="ir.ui.view">
6         <field name="name">account.budget.report.form</field>
7         <field name="model">account.budget.report</field>
8         <field name="arch" type="xml">
9           <form string="Select Dates Period" version="7.0">
10               <group string="Print Budgets" col="4">
11                   <field name="date_from"/>
12                   <field name="date_to"/>
13               </group>
14               <footer>
15                   <button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
16                   or
17                   <button string="Cancel" class="oe_link" special="cancel"/>
18               </footer>
19           </form>
20         </field>
21       </record>
22
23     <record id="action_account_budget_report" model="ir.actions.act_window">
24       <field name="name">Budgets</field>
25       <field name="type">ir.actions.act_window</field>
26       <field name="res_model">account.budget.report</field>
27       <field name="view_type">form</field>
28       <field name="view_mode">form</field>
29       <field name="view_id" ref="account_budget_report_view"/>
30       <field name="target">new</field>
31     </record>
32
33     <record model="ir.values" id="account_budget_report_values">
34       <field name="model_id" ref="account_budget.model_account_budget_post" />
35       <field name="name">Budgets</field>
36       <field name="key2">client_print_multi</field>
37       <field name="value" eval="'ir.actions.act_window,' + str(ref('action_account_budget_report'))" />
38       <field name="key">action</field>
39       <field name="model">account.budget.post</field>
40     </record>
41
42   </data>
43 </openerp>