diff --git a/addons/crm/crm_installer.py b/addons/crm/crm_installer.py index 1d9235feac6..8fb7c02ff85 100644 --- a/addons/crm/crm_installer.py +++ b/addons/crm/crm_installer.py @@ -39,7 +39,8 @@ class crm_installer(osv.osv_memory): 'crm_caldav': fields.boolean('Calendar Synchronizing', help="Help you to synchronize the meetings with other calender clients(e.g.: Sunbird)."), 'sale_crm': fields.boolean('Create Quotation from Opportunity', help="This module relates sale to opportunity cases in the CRM."), 'fetchmail': fields.boolean('Fetch Emails', help="Fetchmail Server."), - 'thunderbird': fields.boolean('Thunderbird', help="Thunderbird Interface."), + 'thunderbird': fields.boolean('Thunderbird', help="Thunderbird Interface."), + 'wiki_sale_faq': fields.boolean('Sale FAQ', help="Sale FAQ."), } def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False): diff --git a/addons/crm/crm_installer_view.xml b/addons/crm/crm_installer_view.xml index 370285352d1..e0d84c6eed2 100644 --- a/addons/crm/crm_installer_view.xml +++ b/addons/crm/crm_installer_view.xml @@ -35,7 +35,8 @@ - + + diff --git a/addons/wiki_sale_faq/__init__.py b/addons/wiki_sale_faq/__init__.py new file mode 100644 index 00000000000..938f045b9fd --- /dev/null +++ b/addons/wiki_sale_faq/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# +# 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/wiki_sale_faq/__openerp__.py b/addons/wiki_sale_faq/__openerp__.py new file mode 100644 index 00000000000..9619ec98f15 --- /dev/null +++ b/addons/wiki_sale_faq/__openerp__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# +# 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': 'Wiki -Sale - FAQ', + 'version': '1.0', + 'category': 'Generic Modules/Others', + 'description': """This module provides a wiki FAQ Template + """, + 'author': 'Tiny', + 'website': 'http://openerp.com', + 'depends': ['wiki_faq','document','crm'], + 'init_xml': [ + 'wiki_sale_faq_data.xml' + ], + 'update_xml': [ + 'wiki_sale_faq_view.xml' + ], + 'demo_xml': [ + ], + 'installable': True, + 'active': False, +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/wiki_sale_faq/wiki_sale_faq_data.xml b/addons/wiki_sale_faq/wiki_sale_faq_data.xml new file mode 100644 index 00000000000..4a8eea1cb38 --- /dev/null +++ b/addons/wiki_sale_faq/wiki_sale_faq_data.xml @@ -0,0 +1,26 @@ + + + + + Sales Document + + + 0 + + + + Sale FAQ + list + + == Question == + +== Answer == + +== External Links == + + + + + + + diff --git a/addons/wiki_sale_faq/wiki_sale_faq_view.xml b/addons/wiki_sale_faq/wiki_sale_faq_view.xml new file mode 100644 index 00000000000..52ff998ac4a --- /dev/null +++ b/addons/wiki_sale_faq/wiki_sale_faq_view.xml @@ -0,0 +1,38 @@ + + + + + + + + + ir.actions.act_window + ir.attachment + form + [('parent_id','=',ref('dir_sale'))] + + + + Wiki Pages + wiki.wiki + form + tree,form + [('group_id','=',ref('wiki_groups_sale_faq'))] + + + + + + + + + +