From 530a3086eb8efd2e65fe3170062272a91ce5904f Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Fri, 25 May 2012 19:05:53 +0200 Subject: [PATCH] [FIX] fix the portal user menu; remove a bunch of useless views and actions bzr revid: abo@openerp.com-20120525170553-1gofhlgrex3sr2wn --- addons/portal/__openerp__.py | 1 - addons/portal/board_portal_view.xml | 38 ------------- addons/portal/portal_view.xml | 66 ++++++++--------------- addons/portal_crm/wizard/__init__.py | 23 +++++++- addons/portal_crm/wizard/contact_view.xml | 4 +- 5 files changed, 46 insertions(+), 86 deletions(-) delete mode 100644 addons/portal/board_portal_view.xml diff --git a/addons/portal/__openerp__.py b/addons/portal/__openerp__.py index ea138364048..aaf94526615 100644 --- a/addons/portal/__openerp__.py +++ b/addons/portal/__openerp__.py @@ -39,7 +39,6 @@ module 'share'. 'data': [ 'security/portal_security.xml', 'security/ir.model.access.csv', - 'board_portal_view.xml', 'portal_view.xml', 'portal_data.xml', 'res_user_view.xml', diff --git a/addons/portal/board_portal_view.xml b/addons/portal/board_portal_view.xml deleted file mode 100644 index 33b34844860..00000000000 --- a/addons/portal/board_portal_view.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - My Feeds - mail.all_feeds - - - - board.portal.form - board.board - form - -
- - - - - - - - -
-
-
- - - Portal Dashboard - board.board - form - form - menu - - - -
-
diff --git a/addons/portal/portal_view.xml b/addons/portal/portal_view.xml index dc7a22a2f56..d7326de9758 100644 --- a/addons/portal/portal_view.xml +++ b/addons/portal/portal_view.xml @@ -66,39 +66,9 @@ the portal's users. - - Product Kanban - product.product - kanban - - - - - - - - -
-
- -
-
-

-
    -
  • Stock on hand:
  • -
  • Stock available:
  • -
  • Price:
  • -
-
-
- -
-
-
-
-
+ + News + mail.all_feeds @@ -112,7 +82,6 @@ the portal's users. - - - - - - - - - - - - + + + + + News + + + + + + + + + diff --git a/addons/portal_crm/wizard/__init__.py b/addons/portal_crm/wizard/__init__.py index 60f3b1c1d2a..92b3ac62321 100644 --- a/addons/portal_crm/wizard/__init__.py +++ b/addons/portal_crm/wizard/__init__.py @@ -1 +1,22 @@ -import contact \ No newline at end of file +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2011 OpenERP S.A (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +import contact diff --git a/addons/portal_crm/wizard/contact_view.xml b/addons/portal_crm/wizard/contact_view.xml index dd173b304c8..bea5764b5da 100644 --- a/addons/portal_crm/wizard/contact_view.xml +++ b/addons/portal_crm/wizard/contact_view.xml @@ -21,6 +21,7 @@
+ Wizard thanks message @@ -40,16 +41,17 @@ + Contact Us portal_crm.crm_contact_us form + -