~zaber/openupgrade-addons/missing-import

« back to all changes in this revision

Viewing changes to analytic_user_function/analytic_user_function_view.xml

  • Committer: Sofia
  • Date: 2008-09-16 11:45:13 UTC
  • mto: (1558.2.75 addons)
  • mto: This revision was merged to the branch mainline in revision 1588.
  • Revision ID: sahibsofia@gmail.com-20080916114513-7an9yz59hucjmjk8
The following modules are merged::
addons-extra/product_procurement -> mrp module
addons-extra/inventory_merge -> stock
addons-extra/product_pricelist_print -> product
addons-extra/invoice_payment -> account 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
        <data>
 
4
 
 
5
                <!-- analytic_user_funct_grid views -->
 
6
                <record model="ir.ui.view" id="analytic_user_funct_grid_tree">
 
7
                        <field name="name">analytic_user_funct_grid.tree</field>
 
8
                        <field name="model">analytic_user_funct_grid</field>
 
9
                        <field name="type">tree</field>
 
10
                        <field name="arch" type="xml">
 
11
                                <tree string="User's Product for this Analytic Account" editable="bottom">
 
12
                                        <field name="user_id" required="1"/>
 
13
                                        <field name="product_id" required="1" />
 
14
                                </tree>
 
15
                        </field>
 
16
                </record>
 
17
 
 
18
                <record model="ir.ui.view" id="analytic_user_funct_grid_form">
 
19
                        <field name="name">analytic_user_funct_grid.form</field>
 
20
                        <field name="model">analytic_user_funct_grid</field>
 
21
                        <field name="type">form</field>
 
22
                        <field name="arch" type="xml">
 
23
                                <form string="User's Product for this Analytic Account">
 
24
                                        <field name="user_id" required="1"/>
 
25
                                        <field name="product_id" required="1"/>
 
26
                                </form>
 
27
                        </field>
 
28
                </record>
 
29
 
 
30
                <!-- account.analytic.account inherited view -->
 
31
                <record model="ir.ui.view" id="view_account_analytic_account_form_inherit">
 
32
                        <field name="name">account.analytic.account.form</field>
 
33
                        <field name="model">account.analytic.account</field>
 
34
                        <field name="type">form</field>
 
35
                        <field name="inherit_id" ref="account.view_account_analytic_account_form"/>
 
36
                        <field name="arch" type="xml">
 
37
                                <xpath expr="/form/notebook/page" position="after">
 
38
                                        <page string="Users/Products Rel.">
 
39
                                                <field name="user_product_ids" colspan="4" nolabel="1"/>
 
40
                                        </page>
 
41
                                </xpath>
 
42
                        </field>
 
43
                </record>
 
44
 
 
45
                <!-- hr_timesheet_sheet.sheet inherited view -->
 
46
                <record model="ir.ui.view" id="hr_timesheet_sheet_form_inherit">
 
47
                        <field name="name">hr.timesheet.sheet.form</field>
 
48
                        <field name="model">hr_timesheet_sheet.sheet</field>
 
49
                        <field name="type">form</field>
 
50
                        <field name="priority" eval="18"/>
 
51
                        <field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_form"/>
 
52
                        <field name="arch" type="xml">
 
53
                                <xpath expr="/form/notebook/page/field[@name='timesheet_ids']/tree/field[@name='account_id']" position="replace">
 
54
                                        <field name="account_id"  domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(user_id, account_id, unit_amount)"/>
 
55
                                </xpath>
 
56
                        </field>
 
57
                </record>
 
58
 
 
59
                <!-- hr.analytic.timesheet inherited views -->
 
60
                <record model="ir.ui.view" id="hr_timesheet_line_form_inherit">
 
61
                        <field name="name">hr.analytic.timesheet.form</field>
 
62
                        <field name="model">hr.analytic.timesheet</field>
 
63
                        <field name="type">form</field>
 
64
                        <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
 
65
                        <field name="arch" type="xml">
 
66
                                <xpath expr="/form/field[@name='account_id']" position="replace">
 
67
                                        <field name="account_id"  domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(user_id, account_id, unit_amount)" select="1"/>
 
68
                                </xpath>
 
69
                        </field>
 
70
                </record>
 
71
 
 
72
                <record model="ir.ui.view" id="hr_timesheet_line_form_inherit_2">
 
73
                        <field name="name">hr.analytic.timesheet.form</field>
 
74
                        <field name="model">hr.analytic.timesheet</field>
 
75
                        <field name="type">form</field>
 
76
                        <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
 
77
                        <field name="arch" type="xml">
 
78
                                <xpath expr="/form/field[@name='user_id']" position="replace">
 
79
                                        <field name="user_id" select="1" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
 
80
                                </xpath>
 
81
                        </field>
 
82
                </record>
 
83
 
 
84
                <record model="ir.ui.view" id="hr_timesheet_line_tree_inherit">
 
85
                        <field name="name">hr.analytic.timesheet.tree</field>
 
86
                        <field name="model">hr.analytic.timesheet</field>
 
87
                        <field name="type">tree</field>
 
88
                        <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
 
89
                        <field name="arch" type="xml">
 
90
                                <xpath expr="/tree/field[@name='account_id']" position="replace">
 
91
                                        <field name="account_id"  domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(user_id, account_id, unit_amount)" select="1"/>
 
92
                                </xpath>
 
93
                        </field>
 
94
                </record>
 
95
 
 
96
                <record model="ir.ui.view" id="hr_timesheet_line_tree_inherit_2">
 
97
                        <field name="name">hr.analytic.timesheet.tree</field>
 
98
                        <field name="model">hr.analytic.timesheet</field>
 
99
                        <field name="type">tree</field>
 
100
                        <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
 
101
                        <field name="arch" type="xml">
 
102
                                <xpath expr="/tree/field[@name='user_id']" position="replace">
 
103
                                        <field name="user_id" select="1" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
 
104
                                </xpath>
 
105
                        </field>
 
106
                </record>
 
107
 
 
108
        </data>
 
109
</openerp>