[IMP]when install stock module and related with stock module redirect to stock base menu

bzr revid: sgo@tinyerp.com-20120925114439-vki58lblw6yywynr
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-09-25 17:14:39 +05:30
parent 092f0e4e1e
commit bd65786264
3 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,16 @@
<openerp>
<data>
<!-- After installation of the module, open the related menu -->
<record id="action_client_warehouse_menu" model="ir.actions.client">
<field name="name">Open Warehouse Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('menu_stock_root')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_warehouse_menu"/>
<field name="state">open</field>
</record>
<record id="view_stock_config_settings" model="ir.ui.view">
<field name="name">stock settings</field>
<field name="model">stock.config.settings</field>

View File

@ -2,6 +2,11 @@
<openerp>
<data>
<!-- After installation of the module, open the related menu -->
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="stock.action_client_warehouse_menu"/>
<field name="state">open</field>
</record>
<record id="stock_location_path_tree" model="ir.ui.view">
<field name="name">stock.location.path.tree</field>
<field name="model">stock.location.path</field>

View File

@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- After installation of the module, open the related menu -->
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="stock.action_client_warehouse_menu"/>
<field name="state">open</field>
</record>
<menuitem id="menu_stock_period_main"
name="Stock Periods"
parent="stock.menu_stock_configuration" sequence="20"/>