1 <?xml version="1.0" encoding="UTF-8"?>
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">
12 <button name="populate_statement" string="ADD" type="object" icon="gtk-ok" class="oe_highlight"/>
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>
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>