f99059c8166ab33885d26d1d754ef252cf9e4711
[odoo/odoo.git] / addons / account_payment / wizard / account_payment_populate_statement_view.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <openerp>
3         <data>
4
5         <record id="account_payment_populate_statement_view" model="ir.ui.view">
6              <field name="name">Payment Populate statement</field>
7              <field name="model">account.payment.populate.statement</field>
8              <field name="type">form</field>
9              <field name="arch" type="xml">
10                 <form string="Populate Statement:" version="7.0">
11                     <header>
12                         <button name="populate_statement" string="ADD" type="object" icon="gtk-ok" class="oe_highlight"/>
13                     </header>
14                     <group>
15                         <field name="lines"/>
16                     </group>
17                 </form>
18              </field>
19         </record>
20
21         <record id="action_account_populate_statement_confirm" model="ir.actions.act_window">
22              <field name="name">Payment Populate statement</field>
23              <field name="res_model">account.payment.populate.statement</field>
24              <field name="type">ir.actions.act_window</field>
25              <field name="view_type">form</field>
26              <field name="view_mode">tree,form</field>
27              <field name="view_id" ref="account_payment_populate_statement_view"/>
28              <field name="context">{'record_id':active_id}</field>
29              <field name="target">new</field>
30        </record>
31
32         <record id="action_account_payment_populate_statement" model="ir.actions.act_window">
33              <field name="name">Payment Populate statement</field>
34              <field name="res_model">account.payment.populate.statement</field>
35              <field name="type">ir.actions.act_window</field>
36              <field name="view_type">form</field>
37              <field name="view_mode">tree,form</field>
38              <field name="view_id" ref="account_payment_populate_statement_view"/>
39              <field name="context">{'record_id':active_id}</field>
40              <field name="target">new</field>
41        </record>
42
43         </data>
44 </openerp>