From 0f3ed1e09addc905b85c6188ef0b652782fcace3 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Fri, 26 Oct 2012 17:28:27 +0200 Subject: [PATCH] [IMP] portal_sale: better menu labels, add group to restrict visibility of payment options, improve module description bzr revid: odo@openerp.com-20121026152827-iq5ku8q3atqisw6m --- addons/portal_sale/__openerp__.py | 20 +++++++++++++--- addons/portal_sale/portal_sale_view.xml | 24 +++++++++---------- .../portal_sale/security/portal_security.xml | 12 ++++++++++ 3 files changed, 40 insertions(+), 16 deletions(-) diff --git a/addons/portal_sale/__openerp__.py b/addons/portal_sale/__openerp__.py index 8d7cd8b3935..ba5d25c56ed 100644 --- a/addons/portal_sale/__openerp__.py +++ b/addons/portal_sale/__openerp__.py @@ -26,8 +26,22 @@ 'category': 'Tools', 'complexity': 'easy', 'description': """ -This module adds sale menu and features to your portal if sale and portal are installed. -======================================================================================== +This module adds a Sales menu to your portal as soon as sale and portal are installed. +====================================================================================== + +After installing this module, portal users will be able to access their own documents +via the following menus: + + - Quotations + - Sale Orders + - Delivery Orders + - Products (public ones) + - Invoices + - Payments/Refunds + +If online payment acquirers are configured, portal users will also be given the opportunity to +pay online on their Sale Orders and Invoices that are not paid yet. Paypal is included +by default, you simply need to configure a Paypal account in the Accounting settings. """, 'author': 'OpenERP SA', 'depends': ['sale_stock','portal'], @@ -36,8 +50,8 @@ This module adds sale menu and features to your portal if sale and portal are in 'portal_sale_view.xml', 'security/ir.model.access.csv', ], - 'installable': True, 'auto_install': True, 'category': 'Hidden', } + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_sale/portal_sale_view.xml b/addons/portal_sale/portal_sale_view.xml index f4607590717..e1c5a233eb9 100644 --- a/addons/portal_sale/portal_sale_view.xml +++ b/addons/portal_sale/portal_sale_view.xml @@ -8,7 +8,7 @@ - + @@ -29,7 +29,7 @@ - Sales Orders + Sale Orders ir.actions.act_window sale.order tree,form,calendar,graph @@ -57,11 +57,11 @@ kanban,tree,form - No public products. + There are no public products. - Customer Invoices + Invoices account.invoice tree,form,calendar,graph [('type','=','out_invoice')] @@ -71,7 +71,7 @@ - Customer Payment + Refunds/Payments account.voucher [('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')] {'type':'receipt'} @@ -80,19 +80,17 @@ You don't have any payment. - - - - - - - - diff --git a/addons/portal_sale/security/portal_security.xml b/addons/portal_sale/security/portal_security.xml index c4bf6131ba1..07fb49b64d6 100644 --- a/addons/portal_sale/security/portal_security.xml +++ b/addons/portal_sale/security/portal_security.xml @@ -2,6 +2,18 @@ + + View Online Payment Options + + Members of this group see the online payment options +on Sale Orders and Customer Invoices. These options are meant for customers who are accessing +their documents through the portal. + + + + + + Portal Personal Quotations/Sales Orders