[IMwP] open the right menu according to the installed application

bzr revid: fp@openerp.com-20120804215327-651jy6mn1w15x430
This commit is contained in:
Fabien Pinckaers 2012-08-04 23:53:27 +02:00
parent a5ffb7f90f
commit 7904580e60
17 changed files with 171 additions and 5 deletions

View File

@ -7,6 +7,20 @@
</record> </record>
</data> </data>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_account_menu" model="ir.actions.client">
<field name="name">Open Accounting Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('account.menu_finance')}"/>
</record>
<record id="todo_open_account_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_account_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data noupdate="1"> <data noupdate="1">
<!-- notify all employees of module installation --> <!-- notify all employees of module installation -->
<function model="mail.group" name="message_append_note"> <function model="mail.group" name="message_append_note">

View File

@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_crm_menu" model="ir.actions.client">
<field name="name">Open Sale Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('base.menu_base_partner')}"/>
</record>
<record id="todo_open_crm_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_sale_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
<record model="crm.case.channel"> <record model="crm.case.channel">
<field name="name">website</field> <field name="name">website</field>
</record> </record>

View File

@ -1,6 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_event_menu" model="ir.actions.client">
<field name="name">Open Event Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('event.event_main_menu')}"/>
</record>
<record id="todo_open_event_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_event_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
<!-- notify all employees of module installation --> <!-- notify all employees of module installation -->
<function model="mail.group" name="message_append_note"> <function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' --> <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->

View File

@ -1,5 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_hr_menu" model="ir.actions.client">
<field name="name">Open HR Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('menu_hr_root')}"/>
</record>
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="open_payroll_modules" model="ir.actions.act_window"> <record id="open_payroll_modules" model="ir.actions.act_window">

View File

@ -1,6 +1,12 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="hr.action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
<!-- notify all employees of module installation --> <!-- notify all employees of module installation -->
<function model="mail.group" name="message_append_note"> <function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' --> <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->

View File

@ -1,4 +1,12 @@
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="hr.action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="product_expense_installer_tree_view" model="ir.ui.view"> <record id="product_expense_installer_tree_view" model="ir.ui.view">
<field name="name">product.product.tree</field> <field name="name">product.product.tree</field>

View File

@ -1,6 +1,12 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="hr.action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
<!-- notify all employees of module installation --> <!-- notify all employees of module installation -->
<function model="mail.group" name="message_append_note"> <function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' --> <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->

View File

@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="hr.action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_hr_apll_config_settings" model="ir.ui.view"> <record id="view_hr_apll_config_settings" model="ir.ui.view">
<field name="name">hr settings for recruitment</field> <field name="name">hr settings for recruitment</field>

View File

@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_hr_menu" model="ir.actions.todo">
<field name="action_id" ref="hr.action_client_hr_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_hr_timehseet_config_settings" model="ir.ui.view"> <record id="view_hr_timehseet_config_settings" model="ir.ui.view">
<field name="name">hr settings for timesheets</field> <field name="name">hr settings for timesheets</field>

View File

@ -1,5 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_mrp_menu" model="ir.actions.client">
<field name="name">Open MRP Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('base.menu_mrp_root')}"/>
</record>
<record id="todo_open_mrp_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_mrp_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_mrp_config" model="ir.ui.view"> <record id="view_mrp_config" model="ir.ui.view">
<field name="name">mrp settings</field> <field name="name">mrp settings</field>

View File

@ -1,5 +1,18 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_pos_menu" model="ir.actions.client">
<field name="name">Open POS Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
</record>
<record id="todo_open_pos_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_pos_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record model="pos.config" id="pos_config_main"> <record model="pos.config" id="pos_config_main">
<field name="name">Main PoS</field> <field name="name">Main PoS</field>

View File

@ -286,11 +286,15 @@
<field name="search_view_id" ref="view_project_project_filter"/> <field name="search_view_id" ref="view_project_project_filter"/>
<field name="context">{}</field> <field name="context">{}</field>
<field name="help" type="html"> <field name="help" type="html">
<p>Click <i>'Create'</i> to <b>start a new project</b>.</p> <p class="oe_form_nocontent_create">
<p>Projects are used to organize your activities; plan tasks, Click to start a new project.
track issues, invoice timesheets. You can define internal </p>
projects (R&amp;D, Improve Sales Process), private projects (My <p>
Todos) or customer ones.</p> Projects are used to organize your activities; plan
tasks, track issues, invoice timesheets. You can define
internal projects (R&amp;D, Improve Sales Process),
private projects (My Todos) or customer ones.
</p>
<p> <p>
You will be able collaborate with internal users on You will be able collaborate with internal users on
projects or invite customers to share your activities. projects or invite customers to share your activities.

View File

@ -1,5 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_project_menu" model="ir.actions.client">
<field name="name">Open Project Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('base.menu_main_pm')}"/>
</record>
<record id="todo_open_project_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_project_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_config_settings" model="ir.ui.view"> <record id="view_config_settings" model="ir.ui.view">
<field name="name">project settings</field> <field name="name">project settings</field>

View File

@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="todo_open_project_menu" model="ir.actions.todo">
<field name="action_id" ref="project.action_client_project_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_config_settings" model="ir.ui.view"> <record id="view_config_settings" model="ir.ui.view">
<field name="name">Project Application</field> <field name="name">Project Application</field>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- notify all employees of module installation --> <!-- notify all employees of module installation -->
<function model="mail.group" name="message_append_note"> <function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' --> <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->

View File

@ -1,5 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_purchase_menu" model="ir.actions.client">
<field name="name">Open Purchase Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('base.menu_purchase_root')}"/>
</record>
<record id="todo_open_purchase_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_purchase_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
</data>
<data> <data>
<record id="view_purchase_configuration" model="ir.ui.view"> <record id="view_purchase_configuration" model="ir.ui.view">
<field name="name">purchase settings</field> <field name="name">purchase settings</field>

View File

@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<!-- After installation of the module, open the related menu -->
<record id="action_client_sale_menu" model="ir.actions.client">
<field name="name">Open Sale Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('base.menu_base_partner')}"/>
</record>
<record id="todo_open_sale_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_sale_menu"/>
<field name="type">automatic</field>
<field name="sequence">100</field>
</record>
<!-- Requests Links --> <!-- Requests Links -->
<record id="req_link_sale_order" model="res.request.link"> <record id="req_link_sale_order" model="res.request.link">
<field name="name">Sales Order</field> <field name="name">Sales Order</field>