[IMP] hr_payroll: default value for scheduled pay field
[odoo/odoo.git] / addons / account / partner_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_account_position_form" model="ir.ui.view">
6             <field name="name">account.fiscal.position.form</field>
7             <field name="model">account.fiscal.position</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10                 <form string="Fiscal Position">
11                     <field name="name" select="1"/>
12                     <field name="company_id" widget="selection" groups="base.group_multi_company"/>
13                     <separator string="Mapping" colspan="4"/>
14                     <newline/>
15                     <field name="tax_ids" colspan="2" widget="one2many_list" nolabel="1">
16                         <tree string="Tax Mapping" editable="bottom">
17                             <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
18                             <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
19                         </tree>
20                         <form string="Tax Mapping">
21                             <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
22                             <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
23                         </form>
24                     </field>
25                     <field name="account_ids" colspan="2" widget="one2many_list" nolabel="1">
26                         <tree string="Account Mapping" editable="bottom">
27                             <field name="account_src_id"/>
28                             <field name="account_dest_id"/>
29                         </tree>
30                         <form string="Account Mapping">
31                             <field name="account_src_id"/>
32                             <field name="account_dest_id"/>
33                         </form>
34                     </field>
35                     <separator string="Notes" colspan="4"/>
36                     <field name="note" colspan="4" nolabel="1"/>
37                 </form>
38             </field>
39         </record>
40         <record id="view_account_position_tree" model="ir.ui.view">
41             <field name="name">account.fiscal.position.tree</field>
42             <field name="model">account.fiscal.position</field>
43             <field name="type">tree</field>
44             <field name="arch" type="xml">
45                 <tree string="Fiscal Position">
46                     <field name="name"/>
47                     <field name="company_id" groups="base.group_multi_company" widget="selection"/>
48                 </tree>
49             </field>
50         </record>
51
52         <record id="action_account_fiscal_position_form" model="ir.actions.act_window">
53             <field name="name">Fiscal Positions</field>
54             <field name="res_model">account.fiscal.position</field>
55             <field name="view_type">form</field>
56             <field name="view_mode">tree,form</field>
57         </record>
58
59         <menuitem
60             action="action_account_fiscal_position_form"
61             id="menu_action_account_fiscal_position_form"
62             parent="next_id_27" sequence="20"/>
63
64         <!--
65         Partners Extension
66         -->
67
68         <record id="view_partner_property_form" model="ir.ui.view">
69             <field name="name">res.partner.property.form.inherit</field>
70             <field name="model">res.partner</field>
71             <field name="type">form</field>
72             <field name="priority">2</field>
73             <field name="inherit_id" ref="base.view_partner_form"/>
74             <field name="arch" type="xml">
75                 <page string="History" position="before">
76                 <page string="Accounting">
77                     <group col="2" colspan="2">
78                         <separator string="Customer Accounting Properties" colspan="2"/>
79                         <field name="property_account_receivable" groups="account.group_account_invoice" />
80                         <field name="property_account_position" widget="selection"/>
81                         <field name="property_payment_term" widget="selection"/>
82                     </group>
83                     <group col="2" colspan="2">
84                         <separator string="Supplier Accounting Properties" colspan="2"/>
85                         <field name="property_account_payable" groups="account.group_account_invoice"/>
86                     </group>
87                     <group col="2" colspan="2">
88                         <separator string="Customer Credit" colspan="2"/>
89                         <field name="credit"/>
90                         <field name="credit_limit" groups="base.group_extended"/>
91                     </group>
92                     <group col="2" colspan="2">
93                         <separator string="Supplier Debit" colspan="2"/>
94                         <field name="debit"/>
95                     </group>
96                     <field colspan="4" context="{'address': address}" name="bank_ids" nolabel="1">
97                         <form string="Bank account">
98                             <field name="state"/>
99                             <newline/>
100                             <field name="acc_number"/>
101                             <newline/>
102                             <group name="owner" colspan="2" col="2">
103                                 <separator colspan="4" string="Bank Account Owner"/>
104                                 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
105                                 <field name="owner_name"/>
106                                 <field name="street"/>
107                                 <field name="city"/>
108                                 <field name="zip"/>
109                                 <field name="state_id"/>
110                                 <field name="country_id"/>
111                             </group>
112                             <group name="bank" colspan="2" col="2">
113                                 <separator colspan="2" string="Information About the Bank"/>
114                                 <field name="bank" on_change="onchange_bank_id(bank)" groups="base.group_extended"/>
115                                 <field name="bank_name"/>
116                                 <field name="bank_bic"/>
117                             </group>
118                         </form>
119                         <tree string="Bank Details">
120                             <field name="sequence" invisible="1"/>
121                             <field name="acc_number"/>
122                             <field name="bank_name"/>
123                             <field name="owner_name"/>
124                         </tree>
125                     </field>
126                 </page>
127                 </page>
128             </field>
129         </record>
130
131         <!--  Partners info tab view-->
132
133         <act_window
134             id="action_analytic_open"
135             name="Contracts/Analytic Accounts"
136             res_model="account.analytic.account"
137             context="{'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
138             src_model="res.partner"
139             view_type="form"
140             view_mode="tree,form,graph,calendar"
141             groups="base.group_extended"/>
142
143         <record id="view_res_partner_reconcile" model="ir.ui.view">
144             <field name="name">res.partner.form.reconcile</field>
145             <field name="model">res.partner</field>
146             <field name="inherit_id" ref="base.view_partner_form"/>
147             <field name="arch" type="xml">
148                 <field name="credit_limit" position="after">
149                     <field name="last_reconciliation_date" groups="base.group_extended"/>
150                 </field>
151             </field>
152         </record>
153
154     </data>
155 </openerp>