Sanjay Gohel (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-addons11-warehouse-apa-redirect-sgo 
into lp:~openerp-dev/openobject-addons/trunk-addons11-warehouse-apa.

Requested reviews:
  Amit Patel (OpenERP) (apa-tiny)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons11-warehouse-apa-redirect-sgo/+merge/126227

Hello sir,

       If install warehouse and related warehouse module it redirect to 
warehouse.before it redirects to hr or home menu.

Thank You.
SGO
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons11-warehouse-apa-redirect-sgo/+merge/126227
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-addons11-warehouse-apa.
=== modified file 'stock/res_config_view.xml'
--- stock/res_config_view.xml	2012-08-09 06:05:16 +0000
+++ stock/res_config_view.xml	2012-09-25 11:52:33 +0000
@@ -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>

=== modified file 'stock_location/stock_location_view.xml'
--- stock_location/stock_location_view.xml	2012-08-31 13:50:10 +0000
+++ stock_location/stock_location_view.xml	2012-09-25 11:52:33 +0000
@@ -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>

=== modified file 'stock_planning/stock_planning_view.xml'
--- stock_planning/stock_planning_view.xml	2012-08-13 16:06:57 +0000
+++ stock_planning/stock_planning_view.xml	2012-09-25 11:52:33 +0000
@@ -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"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to