1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="create_payment_profile_view" model="ir.ui.view">
6
<field name="name">create.payment.profile.form</field>
7
<field name="model">create.payment.profile</field>
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<form string="Payment Profile">
11
<group colspan="2" col="4">
12
<field name="cc_number" />
13
<field name="cc_ed_month" />
14
<field name="cc_ed_year" />
15
<field name="cc_verify_code" />
16
<field name="partner_id" invisible="1" />
17
<field name="description" />
18
<field name="address_id" domain="[('partner_id','=',partner_id)]"/>
19
<!--button name="button_install" states="uninstalled" string="Schedule for Installation" icon="terp-gtk-jump-to-ltr" type="object"/-->
23
<group colspan="2" col="4">
24
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
25
<button name="create_payment_profile" string="Create Payment Profile" type="object" icon="gtk-ok" default_focus="1"/>
31
<record id="action_create_payment_profile" model="ir.actions.act_window">
32
<field name="name">Payment Profile</field>
33
<field name="type">ir.actions.act_window</field>
34
<field name="res_model">create.payment.profile</field>
35
<field name="view_type">form</field>
36
<field name="view_mode">form</field>
37
<field name="view_id" ref="create_payment_profile_view"/>
38
<field name="target">new</field>