diff --git a/addons/portal_customer/portal_customer_view.xml b/addons/portal_customer/portal_customer_view.xml index 7ebfc9ac843..b8f734ea7c6 100644 --- a/addons/portal_customer/portal_customer_view.xml +++ b/addons/portal_customer/portal_customer_view.xml @@ -4,11 +4,12 @@ - + + diff --git a/addons/portal_customer/portal_demo.xml b/addons/portal_customer/portal_demo.xml index 3bc08fe9e76..43c654b3949 100644 --- a/addons/portal_customer/portal_demo.xml +++ b/addons/portal_customer/portal_demo.xml @@ -3,7 +3,7 @@ - @@ -78,4 +78,4 @@ - \ No newline at end of file + diff --git a/addons/portal_customer_lead/__init__.py b/addons/portal_customer_lead/__init__.py new file mode 100644 index 00000000000..cb65ea0b3dc --- /dev/null +++ b/addons/portal_customer_lead/__init__.py @@ -0,0 +1,23 @@ +# -*- 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 . +# +############################################################################## + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_customer_lead/__openerp__.py b/addons/portal_customer_lead/__openerp__.py new file mode 100644 index 00000000000..994168f61c8 --- /dev/null +++ b/addons/portal_customer_lead/__openerp__.py @@ -0,0 +1,42 @@ +# -*- 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 . +# +############################################################################## + +{ + 'name' : "Customer Portal Claim", + 'version' : "0.1", + 'category': 'Tools', + 'complexity': "easy", + 'description': """ + This module add the menu if crm and portal_customer is install. + """, + 'author' : "OpenERP SA", + 'depends' : ["portal_customer","crm"], + 'website': 'http://www.openerp.com', + 'update_xml': [ + 'portal_customer_lead_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_customer_lead/portal_customer_lead_view.xml b/addons/portal_customer_lead/portal_customer_lead_view.xml new file mode 100644 index 00000000000..83c07b92614 --- /dev/null +++ b/addons/portal_customer_lead/portal_customer_lead_view.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/addons/portal_customer_lead/security/ir.model.access.csv b/addons/portal_customer_lead/security/ir.model.access.csv new file mode 100644 index 00000000000..3cf348e7a85 --- /dev/null +++ b/addons/portal_customer_lead/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_portal_crm_lead,portal.crm.lead,crm.model_crm_lead,portal_customer.group_sales_portal,1,0,0,0