[FIX] analytic: move action after corresponding search view
Rev d115c24d6b introduced the
dependency but forgot to move the records in the right order.
This commit is contained in:
@@ -44,32 +44,6 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="account_analytic_line_action_entries">
|
||||
<field name="name">Analytic Entries</field>
|
||||
<field name="res_model">account.analytic.line</field>
|
||||
<field name="view_mode">tree,form,graph,pivot</field>
|
||||
<field name="view_id" ref="view_account_analytic_line_tree"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="search_view_id" ref="analytic.view_account_analytic_line_filter"/>
|
||||
<field name="help" type="html">
|
||||
<p>
|
||||
No activity yet.
|
||||
</p><p>
|
||||
In Odoo, sale orders and projects are implemented using
|
||||
analytic accounts. You can track costs and revenues to analyse
|
||||
your margins easily.
|
||||
</p><p>
|
||||
Costs will be created automatically when you register supplier
|
||||
invoices, expenses or timesheets.
|
||||
</p><p>
|
||||
Revenues will be created automatically when you create customer
|
||||
invoices. Customer invoices can be created based on sale orders
|
||||
(fixed price invoices), on timesheets (based on the work done) or
|
||||
on expenses (e.g. reinvoicing of travel costs).
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_analytic_account_form" model="ir.ui.view">
|
||||
<field name="name">analytic.analytic.account.form</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
@@ -234,5 +208,31 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="account_analytic_line_action_entries">
|
||||
<field name="name">Analytic Entries</field>
|
||||
<field name="res_model">account.analytic.line</field>
|
||||
<field name="view_mode">tree,form,graph,pivot</field>
|
||||
<field name="view_id" ref="view_account_analytic_line_tree"/>
|
||||
<field name="view_type">form</field>
|
||||
<field name="search_view_id" ref="analytic.view_account_analytic_line_filter"/>
|
||||
<field name="help" type="html">
|
||||
<p>
|
||||
No activity yet.
|
||||
</p><p>
|
||||
In Odoo, sale orders and projects are implemented using
|
||||
analytic accounts. You can track costs and revenues to analyse
|
||||
your margins easily.
|
||||
</p><p>
|
||||
Costs will be created automatically when you register supplier
|
||||
invoices, expenses or timesheets.
|
||||
</p><p>
|
||||
Revenues will be created automatically when you create customer
|
||||
invoices. Customer invoices can be created based on sale orders
|
||||
(fixed price invoices), on timesheets (based on the work done) or
|
||||
on expenses (e.g. reinvoicing of travel costs).
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user