~zaber/openobject-addons/stable_5.0-extra-addons

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?xml version="1.0"?>
<openerp>
	<data>

		<record model="ir.ui.view" id="view_report_account_invoice_product_tree">
			<field name="name">report.account.invoice.product.tree</field>
			<field name="model">report.account.invoice.product</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Invoices by product">
					<field name="name"/>
					<field name="type"/>
					<field name="state"/>
					<field name="product_id"/>
					<field name="amount"/>
					<field name="cost_price"/>
					<field name="margin"/>
					<field name="quantity"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_report_account_invoice_product_tree">
			<field name="name">report.account.invoice.product.tree</field>
			<field name="res_model">report.account.invoice.product</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
			<field name="domain">[('name','=',time.strftime('%Y-%m-01'))]</field>
		</record>

		<menuitem name="Invoice" id="menu_report_account_invoice_product" parent="account.menu_finance_reporting"/>
		<menuitem name="This Month" id="menu_report_account_this_month_product" parent="menu_report_account_invoice_product"/>
		<menuitem name="Invoices by Product" id="menu_report_account_invoice_by_product" parent="menu_report_account_this_month_product" action="action_report_account_invoice_product_tree"/>

		<record model="ir.actions.act_window" id="action_report_account_invoice_product_tree_all">
			<field name="name">report.account.invoice.product.tree</field>
			<field name="res_model">report.account.invoice.product</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>

		<menuitem name="All Months" id="menu_report_account_all_month_product" parent="menu_report_account_invoice_product"/>
		<menuitem name="Invoices by Product" id="menu_report_account_all_invoice_by_product" parent="menu_report_account_all_month_product" action="action_report_account_invoice_product_tree_all"/>

		<record model="ir.ui.view" id="view_report_account_invoice_category_tree">
			<field name="name">report.account.invoice.category.tree</field>
			<field name="model">report.account.invoice.category</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Invoices by category">
					<field name="name"/>
					<field name="type"/>
					<field name="state"/>
					<field name="categ_id"/>
					<field name="amount"/>
					<field name="cost_price"/>
					<field name="margin"/>
					<field name="quantity"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_report_account_invoice_category_tree">
			<field name="name">report.account.invoice.category.tree</field>
			<field name="res_model">report.account.invoice.category</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
			<field name="domain">[('name','=',time.strftime('%Y-%m-01'))]</field>
		</record>

		<menuitem name="Invoices by Category" id="menu_report_account_invoice_by_category" parent="menu_report_account_this_month_product" action="action_report_account_invoice_category_tree"/>

		<record model="ir.actions.act_window" id="action_report_account_invoice_category_tree_all">
			<field name="name">report.account.invoice.category.tree</field>
			<field name="res_model">report.account.invoice.category</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>

		<menuitem name="Invoices by Category" id="menu_report_account_all_invoice_by_category" parent="menu_report_account_all_month_product" action="action_report_account_invoice_category_tree_all"/>

		<record model="ir.ui.view" id="view_report_account_invoice_partner_tree">
			<field name="name">report.account.invoice.partner.tree</field>
			<field name="model">report.account.invoice.partner</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Invoices by partner">
					<field name="name"/>
					<field name="type"/>
					<field name="state"/>
					<field name="partner_id"/>
					<field name="amount"/>
					<field name="cost_price"/>
					<field name="margin"/>
					<field name="quantity"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_report_account_invoice_partner_tree">
			<field name="name">report.account.invoice.partner.tree</field>
			<field name="res_model">report.account.invoice.partner</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
			<field name="domain">[('name','=',time.strftime('%Y-%m-01'))]</field>
		</record>

		<menuitem name="Invoices by Partner" id="menu_report_account_invoice_by_partner" parent="menu_report_account_this_month_product" action="action_report_account_invoice_partner_tree"/>

		<record model="ir.actions.act_window" id="action_report_account_invoice_partner_tree_all">
			<field name="name">report.account.invoice.partner.tree</field>
			<field name="res_model">report.account.invoice.partner</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>

		<menuitem name="Invoices by Partner" id="menu_report_account_all_invoice_by_partner" parent="menu_report_account_all_month_product" action="action_report_account_invoice_partner_tree_all"/>

		<record model="ir.ui.view" id="view_report_account_invoice_partner_product_tree">
			<field name="name">report.account.invoice.partner.product.tree</field>
			<field name="model">report.account.invoice.partner.product</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Invoices by partner and product">
					<field name="name"/>
					<field name="type"/>
					<field name="state"/>
					<field name="partner_id"/>
					<field name="product_id"/>
					<field name="amount"/>
					<field name="cost_price"/>
					<field name="margin"/>
					<field name="quantity"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_report_account_invoice_partner_product_tree">
			<field name="name">report.account.invoice.partner.product.tree</field>
			<field name="res_model">report.account.invoice.partner.product</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
			<field name="domain">[('name','=',time.strftime('%Y-%m-01'))]</field>
		</record>

		<menuitem name="Invoices by Partner and Product" id="menu_report_account_invoice_by_partner_product" parent="menu_report_account_this_month_product" action="action_report_account_invoice_partner_product_tree"/>

		<record model="ir.actions.act_window" id="action_report_account_invoice_partner_product_tree_all">
			<field name="name">report.account.invoice.partner.product.tree</field>
			<field name="res_model">report.account.invoice.partner.product</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>

		<menuitem name="Invoices by Partner and Product" id="menu_report_account_all_invoice_by_partner_product" parent="menu_report_account_all_month_product" action="action_report_account_invoice_partner_product_tree_all"/>

		<record model="ir.ui.view" id="view_report_account_invoice_tree">
			<field name="name">report.account.invoice</field>
			<field name="model">report.account.invoice</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Invoices">
					<field name="name"/>
					<field name="type"/>
					<field name="state"/>
					<field name="amount"/>
					<field name="cost_price"/>
					<field name="margin"/>
					<field name="quantity"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_report_account_invoice_tree">
			<field name="name">report.account.invoice.tree</field>
			<field name="res_model">report.account.invoice</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
			<field name="domain">[('name','=',time.strftime('%Y-%m-01'))]</field>
		</record>

		<menuitem name="Invoices" id="menu_report_account_invoice_by_invoices" parent="menu_report_account_this_month_product" action="action_report_account_invoice_tree"/>

		<record model="ir.actions.act_window" id="action_report_account_invoice_tree_all">
			<field name="name">report.account.invoice.tree</field>
			<field name="res_model">report.account.invoice</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>

		<menuitem name="Invoices" id="menu_report_account_all_invoice_by_invoices" parent="menu_report_account_all_month_product" action="action_report_account_invoice_tree_all"/>

	</data>
</openerp>