From d74281c300ac097aa24dd13f97fd1d3f2a755d3b Mon Sep 17 00:00:00 2001 From: Yogesh Sakhreliya Date: Tue, 11 Jan 2011 14:37:20 +0530 Subject: [PATCH] FIX] shortcuts remove in view file and create data in separate file and set noupdate='1'. bzr revid: ysa@tinyerp.com-20110111090720-d65ynsn07d52fobg --- addons/crm/__openerp__.py | 9 +++++---- addons/crm/crm_meeting_menu.xml | 6 ------ addons/crm/crm_meeting_shortcut_data.xml | 13 +++++++++++++ addons/product/__openerp__.py | 1 + addons/product/product_shortcut_data.xml | 13 +++++++++++++ addons/product/product_view.xml | 10 ++-------- 6 files changed, 34 insertions(+), 18 deletions(-) create mode 100644 addons/crm/crm_meeting_shortcut_data.xml create mode 100644 addons/product/product_shortcut_data.xml diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 74eb1a95b23..af2b53d1c93 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -41,7 +41,7 @@ appropriate staff, and make sure all future correspondence gets to the right place. The CRM module has a email gateway for the synchronisation interface -between mails and OpenERP. +between mails and OpenERP. Create dashboard for CRM that includes: * My Leads (list) * Leads by Stage (graph) @@ -95,6 +95,7 @@ Create dashboard for CRM that includes: 'crm_meeting_view.xml', 'crm_meeting_menu.xml', + 'crm_meeting_shortcut_data.xml', 'crm_phonecall_view.xml', 'crm_phonecall_menu.xml', @@ -106,12 +107,12 @@ Create dashboard for CRM that includes: 'report/crm_phonecall_report_view.xml', 'process/crm_configuration_process.xml', - 'crm_installer_view.xml', - + 'crm_installer_view.xml', + 'res_partner_view.xml', 'board_crm_view.xml', 'board_crm_statistical_view.xml', - + ], 'demo_xml': [ 'crm_demo.xml', diff --git a/addons/crm/crm_meeting_menu.xml b/addons/crm/crm_meeting_menu.xml index a75528810e0..35ff86cb5b8 100644 --- a/addons/crm/crm_meeting_menu.xml +++ b/addons/crm/crm_meeting_menu.xml @@ -92,12 +92,6 @@ action="crm_case_categ_meet" parent="menu_meeting_sale" sequence="1" /> - - Meetings - ir.ui.menu - - - Meeting Invitations ir.actions.act_window diff --git a/addons/crm/crm_meeting_shortcut_data.xml b/addons/crm/crm_meeting_shortcut_data.xml new file mode 100644 index 00000000000..fcba36f7a61 --- /dev/null +++ b/addons/crm/crm_meeting_shortcut_data.xml @@ -0,0 +1,13 @@ + + + + + + Meetings + ir.ui.menu + + + + + + diff --git a/addons/product/__openerp__.py b/addons/product/__openerp__.py index 851031e0424..712e17aebc3 100644 --- a/addons/product/__openerp__.py +++ b/addons/product/__openerp__.py @@ -53,6 +53,7 @@ 'product_data.xml', 'product_report.xml', 'product_view.xml', + 'product_shortcut_data.xml', 'pricelist_view.xml', 'partner_view.xml', 'process/product_process.xml' diff --git a/addons/product/product_shortcut_data.xml b/addons/product/product_shortcut_data.xml new file mode 100644 index 00000000000..4f48445a197 --- /dev/null +++ b/addons/product/product_shortcut_data.xml @@ -0,0 +1,13 @@ + + + + + + Products + ir.ui.menu + + + + + + diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 642ef43caf9..59623a5204e 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -9,7 +9,7 @@ search - + @@ -30,7 +30,7 @@ - + @@ -635,12 +635,6 @@ form - - Products - ir.ui.menu - - -