From c7f4b5ead1edbd30cd0c43fc3fec8c45327e452a Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Wed, 18 Jul 2012 12:34:29 +0200 Subject: [PATCH] [IMP] format all the top menu items' XML the same way, prefixed by the comment '<- Top menu item -->', making them easier to spot also fix some identation bzr revid: abo@openerp.com-20120718103429-98gl4oe0hkmmf35k --- addons/account/account_menuitem.xml | 11 ++++-- addons/base_tools/tools_view.xml | 11 +++--- addons/event/event_view.xml | 5 ++- addons/hr/hr_view.xml | 8 +++-- addons/knowledge/knowledge_view.xml | 24 ++++++++----- addons/mail/mail_thread_view.xml | 13 ++++--- addons/marketing/marketing_view.xml | 9 ++--- addons/mrp/mrp_view.xml | 15 +++++--- addons/project/project_view.xml | 54 +++++++++++++++-------------- addons/purchase/stock_view.xml | 8 ++--- addons/sale/sale_view.xml | 1 + addons/stock/stock_view.xml | 13 ++++--- 12 files changed, 106 insertions(+), 66 deletions(-) diff --git a/addons/account/account_menuitem.xml b/addons/account/account_menuitem.xml index 401f77c9f94..69c4f3a7307 100644 --- a/addons/account/account_menuitem.xml +++ b/addons/account/account_menuitem.xml @@ -2,10 +2,15 @@ - + + web_icon_hover="images/accounting-hover.png" + groups="group_account_user,group_account_manager,group_account_invoice" + sequence="100"/> + - + + diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 11e2322a0d8..890cb1be9e6 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -10,7 +10,10 @@ context="{'search_default_event_id': active_id, 'default_event_id': active_id}" view_type="form"/> - + + diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 6e798449fba..521ebafdd97 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -2,10 +2,14 @@ - + + groups="base.group_hr_manager,base.group_hr_user,base.group_user" + sequence="110"/> diff --git a/addons/knowledge/knowledge_view.xml b/addons/knowledge/knowledge_view.xml index b2eefd90cce..5f36ad110c6 100644 --- a/addons/knowledge/knowledge_view.xml +++ b/addons/knowledge/knowledge_view.xml @@ -1,13 +1,19 @@ - - - + - + + - + + + + + diff --git a/addons/mail/mail_thread_view.xml b/addons/mail/mail_thread_view.xml index f15141d3711..06cb8189915 100644 --- a/addons/mail/mail_thread_view.xml +++ b/addons/mail/mail_thread_view.xml @@ -2,11 +2,13 @@ - - + + @@ -22,5 +24,6 @@ + diff --git a/addons/marketing/marketing_view.xml b/addons/marketing/marketing_view.xml index e9ee0a11e97..d478b9f6479 100644 --- a/addons/marketing/marketing_view.xml +++ b/addons/marketing/marketing_view.xml @@ -2,13 +2,14 @@ + + web_icon_hover="images/marketing-hover.png" + groups="marketing.group_marketing_user,marketing.group_marketing_manager" + sequence="120"/> diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index ac6c82f6642..72cd8b5c1ff 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -2,12 +2,19 @@ - + + web_icon_hover="images/manufacturing-hover.png" + groups="group_mrp_user,group_mrp_manager" + sequence="60"/> - + + + web_icon_hover="images/project-hover.png" + groups="group_project_manager,group_project_user" + sequence="90"/> @@ -156,31 +158,31 @@ search - - - - + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/addons/purchase/stock_view.xml b/addons/purchase/stock_view.xml index f9d6239e0a5..d96d9124e0b 100644 --- a/addons/purchase/stock_view.xml +++ b/addons/purchase/stock_view.xml @@ -11,7 +11,7 @@ - + Picking list stock.picking @@ -35,7 +35,7 @@ - + stock.picking.in.search @@ -86,7 +86,7 @@ {'search_default_purchase_id': active_id,'default_type': 'in'} - + Purchase Picking Inherited purchase.order @@ -102,7 +102,7 @@ - + Based on Incoming Shipments stock.picking diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 37b68a47ef7..62145ad064b 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -8,6 +8,7 @@ icon="terp-partner" groups="base.group_sale_salesman,base.group_sale_manager" sequence="30"/> + diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 38b5d677c6b..b8cda122e6b 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -2,10 +2,15 @@ - + + +