diff --git a/addons/crm_configuration/__terp__.py b/addons/crm_configuration/__terp__.py index 4b61410cd43..dd5ffb26fdc 100644 --- a/addons/crm_configuration/__terp__.py +++ b/addons/crm_configuration/__terp__.py @@ -17,22 +17,25 @@ "crm_lead_view.xml", "crm_meeting_view.xml", "crm_opportunity_view.xml", - "crm_fund_view.xml" + "crm_fund_view.xml", + "crm_report_view.xml" ], "demo_xml" : [ -# "crm_bugs_data.xml", -# "crm_jobs_data.xml", -# "crm_meeting_data.xml", -# "crm_lead_data.xml", -# "crm_opportunity_data.xml" + "crm_bugs_demo.xml", + "crm_fund_demo.xml", + "crm_jobs_demo.xml", + "crm_meeting_demo.xml", + "crm_lead_demo.xml", + "crm_opportunity_demo.xml" ], "update_xml" : [ -# "crm_bugs_demo.xml", -# "crm_jobs_demo.xml", -# "crm_lead_demo.xml", -# "crm_meeting_demo.xml", -# "crm_opportunity_demo.xml", -# "crm_report_view.xml" + "crm_bugs_data.xml", + "crm_fund_data.xml", + "crm_jobs_data.xml", + "crm_meeting_data.xml", + "crm_lead_data.xml", + "crm_opportunity_data.xml", + ], "active": False, "installable": True diff --git a/addons/crm_configuration/crm_bugs_data.xml b/addons/crm_configuration/crm_bugs_data.xml index c618447703a..bc03ac1f4b1 100644 --- a/addons/crm_configuration/crm_bugs_data.xml +++ b/addons/crm_configuration/crm_bugs_data.xml @@ -1,276 +1,78 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + Bug Tracking + BugSup - - - - - - - - - - - - - - + + + + + Bugs + + + + Patches + + + + Feature Requests + - - - - - - - - - - - - - - + + + + Version 4.2 + + + + Version 4.4 + - - - - - - - - - - - - - - - + + + + + Accepted as Bug + + + + Fixed + + + + Won't fix + + + + Invalid + + + + Awaiting Response + + + + Works For Me + + + + Future + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/addons/crm_configuration/crm_bugs_demo.xml b/addons/crm_configuration/crm_bugs_demo.xml index 66467393e66..c618447703a 100644 --- a/addons/crm_configuration/crm_bugs_demo.xml +++ b/addons/crm_configuration/crm_bugs_demo.xml @@ -1,694 +1,276 @@ - - - - Bug Tracking - BugSup - - - - - - - Bugs - - - - Patches - - - - Feature Requests - - - - - - - Version 4.2 - - - - Version 4.4 - - - - - - - - Accepted as Bug - - - - Fixed - - - - Won't fix - - - - Invalid - - - - Awaiting Response - - - - Works For Me - - - - Future - - - - ######################## BUG TRACKING (menu) ########################### - - All Bugs - crm.case - form - tree,calendar - - + + + + + + + + + + + + + + + + - - - tree - - - - - - calendar - - + + + + + + - - - form - - - - - - - New Bug - crm.case - form - form,tree - - + + + + + + + + + + + + + + - - - form - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - tree - - - - - - Bugs Waiting Approval - crm.case - form - tree,calendar - - + + + + + + + + + + + + + + - - - tree - - - - - - calendar - - - - - - form - - - - - - - Open Bugs - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Bugs With Patches Waiting Approval - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Bugs Not Fixed - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Pending Bugs - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Planned For Future Release - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - Waiting For Reporter Response - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - Old Bugs - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - My Bugs - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - My Open Bugs - crm.case - form - tree,calendar - - + + + + + + + + + + + + + + - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Bugs With Patches - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Bugs Not Fixed - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - All Feature Request - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - New Feature Request - crm.case - form - form,tree - - + + + + + + + + + + + + + + - - - form - - + + + + + + + + + + + + + + + + - - - tree - - + + + + + + + + + + + + + + + + - - - - - Feature Requests Waiting Approval - crm.case - form - tree,calendar - - + + + + + + + + + + + + + + + + + - - - tree - - + + + + + + + + + + + + + + + - - - calendar - - + + + + + + + + + + + + + + + - - - form - - - - - - Open Feature Requests - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Pending Feature Requests - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Planned For Future Release - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Waiting For Reporter Response - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Old Feature Requests - crm.case - form - tree,calendar - - - - - - tree - - - - - - calendar - - - - - - form - - - - diff --git a/addons/crm_configuration/crm_bugs_menu.xml b/addons/crm_configuration/crm_bugs_menu.xml new file mode 100644 index 00000000000..4f24f096b47 --- /dev/null +++ b/addons/crm_configuration/crm_bugs_menu.xml @@ -0,0 +1,650 @@ + + + + + Bug Tracking + BugSup + + + Bugs + + + + Patches + + + + Feature Requests + + + + Fixed + + + + Awaiting Response + + + + Future + + + + + ######################## BUG TRACKING (menu) ########################### + + + All Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + New Bug + crm.case + form + form,tree + + + + + + form + + + + + + tree + + + + + + + Bugs Waiting Approval + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Open Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Bugs With Patches Waiting Approval + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Bugs Not Fixed + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Pending Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Planned For Future Release + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + Waiting For Reporter Response + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + Old Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + My Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Open Bugs + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Bugs With Patches + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Bugs Not Fixed + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + All Feature Request + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + New Feature Request + crm.case + form + form,tree + + + + + + form + + + + + + tree + + + + + + + + Feature Requests Waiting Approval + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + Open Feature Requests + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Pending Feature Requests + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Planned For Future Release + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Waiting For Reporter Response + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Old Feature Requests + crm.case + form + tree,calendar + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + diff --git a/addons/crm_configuration/crm_config.py b/addons/crm_configuration/crm_config.py index 1e82f135839..c10d9bab425 100644 --- a/addons/crm_configuration/crm_config.py +++ b/addons/crm_configuration/crm_config.py @@ -1,4 +1,33 @@ # -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2004-2008 TINY SPRL. (http://tiny.be) All Rights Reserved. +# +# $Id$ +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + import time import tools from osv import fields,osv,orm @@ -71,7 +100,7 @@ class crm_menu_config_wizard(osv.osv_memory): # 'update' for section in res : if res[section]: - file_name = 'crm_'+section+'_demo.xml' + file_name = 'crm_'+section+'_menu.xml' try: tools.convert_xml_import(cr, 'crm_configuration', tools.file_open(os.path.join('crm_configuration',file_name )), {}, 'init', *args) except Exception, e: diff --git a/addons/crm_configuration/crm_fund_data.xml b/addons/crm_configuration/crm_fund_data.xml index c6965852c6e..d62df40d66e 100644 --- a/addons/crm_configuration/crm_fund_data.xml +++ b/addons/crm_configuration/crm_fund_data.xml @@ -1,146 +1,54 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Fund Raising + funds + + + + + + Social Rehabilitation And Rural Upliftment + + + + + Learning And Education + + + + + Healthcare + + + + + Arts And Culture + + + + + + + Cash + + + + + Cheque + + + + + Credit Card + + + + + Demand Draft + + + + diff --git a/addons/crm_configuration/crm_fund_demo.xml b/addons/crm_configuration/crm_fund_demo.xml index e5f1a83e6ae..e7b6cd2bde5 100644 --- a/addons/crm_configuration/crm_fund_demo.xml +++ b/addons/crm_configuration/crm_fund_demo.xml @@ -1,243 +1,146 @@ - + - - - - Fund Raising - funds - - - - - - Social Rehabilitation And Rural Upliftment - - - - - Learning And Education - - - - - Healthcare - - - - - Arts And Culture - - - - - - - Cash - - - - - Cheque - - - - - Credit Card - - - - - Demand Draft - - - - - - - - Funds - crm.case - form,graph - - - - - - graph - - - - - - form - - - - - - - - My Funds - crm.case - tree,form - - - - - - tree - - - - - - graph - - - - - - form - - - - - - - My Funds Waiting Validation - crm.case - tree,form,graph - - - - - - tree - - - - - - form - - - - - - graph - - - - - - - My Funds To Be Processed - crm.case - tree,form,graph - - - - - - tree - - - - - - form - - - - - - graph - - - - - - - - All Funds - crm.case - tree,form,graph - - - - - - tree - - - - - - form - - - - - - graph - - - - - - - All Funds Waiting Validation - crm.case - tree,form,graph - - - - - - tree - - - - - - form - - - - - - graph - - - - - - - All Funds To Be Processed - crm.case - tree,form,graph - - - - - - tree - - - - - - form - - - - - - graph - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/crm_configuration/crm_fund_menu.xml b/addons/crm_configuration/crm_fund_menu.xml new file mode 100644 index 00000000000..40c3e9fdee7 --- /dev/null +++ b/addons/crm_configuration/crm_fund_menu.xml @@ -0,0 +1,198 @@ + + + + + Fund Raising + funds + + + + + + + Funds + crm.case + form,graph + + + + + + graph + + + + + + form + + + + + + + + My Funds + crm.case + tree,form + + + + + + tree + + + + + + graph + + + + + + form + + + + + + + My Funds Waiting Validation + crm.case + tree,form,graph + + + + + + tree + + + + + + form + + + + + + graph + + + + + + + My Funds To Be Processed + crm.case + tree,form,graph + + + + + + tree + + + + + + form + + + + + + graph + + + + + + + + All Funds + crm.case + tree,form,graph + + + + + + tree + + + + + + form + + + + + + graph + + + + + + + All Funds Waiting Validation + crm.case + tree,form,graph + + + + + + tree + + + + + + form + + + + + + graph + + + + + + + All Funds To Be Processed + crm.case + tree,form,graph + + + + + + tree + + + + + + form + + + + + + graph + + + + + + + diff --git a/addons/crm_configuration/crm_jobs_data.xml b/addons/crm_configuration/crm_jobs_data.xml index 9366486e483..8fdbbea6c17 100644 --- a/addons/crm_configuration/crm_jobs_data.xml +++ b/addons/crm_configuration/crm_jobs_data.xml @@ -1,149 +1,67 @@ - + + Jobs + jobs + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Salesman + + + Junior Developer + + + + + + + Graduate + + + + Licenced + + + + > Bac +5 + + + + + + + Initial Jobs Demand + + + + First Interview + + + + Second Interview + + + + Contract Proposed + + + + Contract Signed + + + + Refused by Employee + + + + Refused by Company + + diff --git a/addons/crm_configuration/crm_jobs_demo.xml b/addons/crm_configuration/crm_jobs_demo.xml index d2aebb803a6..9366486e483 100644 --- a/addons/crm_configuration/crm_jobs_demo.xml +++ b/addons/crm_configuration/crm_jobs_demo.xml @@ -1,411 +1,149 @@ - - - Jobs - jobs - - - - - - Salesman - - - - - Junior Developer - - - - - - - Graduate - - - - Licenced - - - - > Bac +5 - - - - - - - Initial Jobs Demand - - - - First Interview - - - - Second Interview - - - - Contract Proposed - - - - Contract Signed - - - - Refused by Employee - - - - Refused by Company - - - - ######################## JOB OPPORTUNITIES (menu) ########################### - - - - My Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - My Unclosed Requests - crm.case - tree,calendar,form - - + + + + + + + + + + + + + + + + + + + - - - tree - - + + + + + + + + + + + + + + + + + + + + + - - - calendar - - + + + + + + + + + + + + + + + + + + + - - - form - - + + + + + + + + + + + + + + + + - - - - My Jobs Propositions to Review - crm.case - tree,calendar,form - - + + + + + + + + + + + + + + + + + + - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Pending Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Open Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - Calendar Of Jobs Meetings - crm.case - calendar,tree,form - - - - - - calendar - - - - - - tree - - - - - - form - - + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + - - - All Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - All Unclosed Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Jobs Propositions - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Pending Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - All Open Jobs Requests - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Calendar Of Jobs Meetings - crm.case - calendar,tree,form - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - - - - diff --git a/addons/crm_configuration/crm_jobs_menu.xml b/addons/crm_configuration/crm_jobs_menu.xml new file mode 100644 index 00000000000..44ac99da6de --- /dev/null +++ b/addons/crm_configuration/crm_jobs_menu.xml @@ -0,0 +1,346 @@ + + + + + Jobs + jobs + + + ######################## JOB OPPORTUNITIES (menu) ########################### + + + + + My Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Unclosed Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Jobs Propositions to Review + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Pending Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Open Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + Calendar Of Jobs Meetings + crm.case + calendar,tree,form + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + All Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + All Unclosed Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Jobs Propositions + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Pending Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + All Open Jobs Requests + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Calendar Of Jobs Meetings + crm.case + calendar,tree,form + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + diff --git a/addons/crm_configuration/crm_lead_data.xml b/addons/crm_configuration/crm_lead_data.xml index c53098b6518..a761961968c 100644 --- a/addons/crm_configuration/crm_lead_data.xml +++ b/addons/crm_configuration/crm_lead_data.xml @@ -1,143 +1,105 @@ - + + + Leads + leads + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Existing Customer + + + + Self Generated + + + + Employee + + + + Partner + + + + Campaign + + + + Website + + + + Word of mouth + + + + Other + + + + + + New + + + + Assigned + + + + In Process + + + + Converted + + + + Recycled + + + + Dead + + + + + + Telesales + + + + Mail + + + + Email + + + + Print + + + + Web + + + + Radio + + + + Television + + + + Newsletter + + + + diff --git a/addons/crm_configuration/crm_lead_demo.xml b/addons/crm_configuration/crm_lead_demo.xml index 17acce86078..c53098b6518 100644 --- a/addons/crm_configuration/crm_lead_demo.xml +++ b/addons/crm_configuration/crm_lead_demo.xml @@ -1,562 +1,143 @@ - - - Leads - leads - + - - - Existing Customer - - - - Self Generated - - - - Employee - - - - Partner - - - - Campaign - - - - Website - - - - Word of mouth - - - - Other - - - - - - New - - - - Assigned - - - - In Process - - - - Converted - - - - Recycled - - - - Dead - - - - - - Telesales - - - - Mail - - - - Email - - - - Print - - - - Web - - - - Radio - - - - Television - - - - Newsletter - - - - - - - Leads - crm.case - form - form,tree - - - - - - tree - - - - - - form - - - - - - - - All Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Unclosed Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Draft Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Open Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Pending Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - All Cancelled Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Calendar Of All Leads Meetings - crm.case - calendar,tree,form - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - My Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Unclosed Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Draft Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Open Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Pending Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Cancelled Leads - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - Calendar Of My Leads Meetings - crm.case - calendar,tree,form - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - - - - - report.crm.case.user - form - graph,tree - - - - - - - report.crm.case.section.categ2 - form - graph,tree - - - - - - report.crm.case.section.stage - form - graph,tree - - - - - - report.crm.case.section.categ.stage - form - tree - - - - - - report.crm.case.section.categ.categ2 - form - tree - - - - - - - - - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/crm_configuration/crm_lead_menu.xml b/addons/crm_configuration/crm_lead_menu.xml new file mode 100644 index 00000000000..277b0dd2fa0 --- /dev/null +++ b/addons/crm_configuration/crm_lead_menu.xml @@ -0,0 +1,460 @@ + + + + + Leads + leads + + + + + Leads + crm.case + form + form,tree + + + + + + tree + + + + + + form + + + + + + + + All Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Unclosed Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Draft Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Open Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Pending Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + All Cancelled Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Calendar Of All Leads Meetings + crm.case + calendar,tree,form + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + My Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Unclosed Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Draft Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Open Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Pending Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Cancelled Leads + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + Calendar Of My Leads Meetings + crm.case + calendar,tree,form + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + + + + + report.crm.case.user + form + graph,tree + + + + + + + report.crm.case.section.categ2 + form + graph,tree + + + + + + report.crm.case.section.stage + form + graph,tree + + + + + + report.crm.case.section.categ.stage + form + tree + + + + + + report.crm.case.section.categ.categ2 + form + tree + + + + + + + diff --git a/addons/crm_configuration/crm_meeting_data.xml b/addons/crm_configuration/crm_meeting_data.xml index 4444573e9b7..55101c62b17 100644 --- a/addons/crm_configuration/crm_meeting_data.xml +++ b/addons/crm_configuration/crm_meeting_data.xml @@ -1,114 +1,63 @@ - - - - - - - - - - - - - - - - - - + + Meetings + Mtngs + + - - - - - - - - - - - - - - - - - + + Sales Meeting + + + + Internal Meeting + + + + Training + + - - - - - - - - - - - - - - - - - + + + + Office + + + + Home + + + + Customer Office + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Fixed + + + + Not fixed + + + + Invalid + + + + Awaiting Response + + + + Future + + + + diff --git a/addons/crm_configuration/crm_meeting_demo.xml b/addons/crm_configuration/crm_meeting_demo.xml index f931633e4c6..4444573e9b7 100644 --- a/addons/crm_configuration/crm_meeting_demo.xml +++ b/addons/crm_configuration/crm_meeting_demo.xml @@ -1,288 +1,114 @@ - - - Meetings - Mtngs - - - - - Sales Meeting - - - - Internal Meeting - - - - Training - - - - - - - Office - - - - Home - - - - Customer Office - - - - - - - Fixed - - - - Not fixed - - - - Invalid - - - - Awaiting Response - - - - Future - - - - ######################## MEETINGS (menu) ########################### - - Meetings - crm.case - form - form,tree - - - - - form - - - - - - tree - - - - - - - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - Draft Meetings - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - Confirmed Meetings - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - - crm.case - tree,form,calendar - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - Draft Meetings - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - Confirmed Meetings - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - Next Deadlines - crm.case - form - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/crm_configuration/crm_meeting_menu.xml b/addons/crm_configuration/crm_meeting_menu.xml new file mode 100644 index 00000000000..4802fd5124b --- /dev/null +++ b/addons/crm_configuration/crm_meeting_menu.xml @@ -0,0 +1,229 @@ + + + + + Meetings + Mtngs + + + ######################## MEETINGS (menu) ########################### + + Meetings + crm.case + form + form,tree + + + + + form + + + + + + tree + + + + + + + + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + Draft Meetings + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + Confirmed Meetings + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + + crm.case + tree,form,calendar + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + Draft Meetings + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + Confirmed Meetings + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + Next Deadlines + crm.case + form + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + diff --git a/addons/crm_configuration/crm_opportunity_data.xml b/addons/crm_configuration/crm_opportunity_data.xml index c20cb450468..41ef8714aa5 100644 --- a/addons/crm_configuration/crm_opportunity_data.xml +++ b/addons/crm_configuration/crm_opportunity_data.xml @@ -1,98 +1,84 @@ - + + Opportunities + oppor + - + + + Existing Customer + + + + Self Generated + + + + Employee + + + + Partner + + + + Campaign + + + + Website + + + + Word of mouth + + + + Other + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Prospecting + + + + Needs Analysis + + + + Value Proposition + + + + Proposal/Price Quote + + + + Negotiation/Review + + + + Closed Won + + + + Closed Lost + + + + + + Existing Business + + + + New Business + + + + diff --git a/addons/crm_configuration/crm_opportunity_demo.xml b/addons/crm_configuration/crm_opportunity_demo.xml index 964da43ba5f..c20cb450468 100644 --- a/addons/crm_configuration/crm_opportunity_demo.xml +++ b/addons/crm_configuration/crm_opportunity_demo.xml @@ -1,325 +1,98 @@ - - Opportunities - oppor - + - - - Existing Customer - - - - Self Generated - - - - Employee - - - - Partner - - - - Campaign - - - - Website - - - - Word of mouth - - - - Other - - + - - - Prospecting - - - - Needs Analysis - - - - Value Proposition - - - - Proposal/Price Quote - - - - Negotiation/Review - - - - Closed Won - - - - Closed Lost - - - - - - Existing Business - - - - New Business - - - - - - - - - All Opportunities - crm.case - tree,form,calendar - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - Opportunity - crm.case - form - form,tree - - - - - - form - - - - - - tree - - - - - - - All Open Opportunities - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - All Pending Opportunities - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - - My Opportunities - crm.case - tree,calendar,form - - - - - - calendar - - - - - - tree - - - - - - form - - - - - - - - My Open Opportunities - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - My Pending Opportunities - crm.case - tree,calendar,form - - - - - - tree - - - - - - calendar - - - - - - form - - - - - - - - report.crm.case.user - form - graph,tree - - - - - - - report.crm.case.section.categ2 - form - graph,tree - - - - - - report.crm.case.section.stage - form - graph,tree - - - - - - report.crm.case.section.categ.stage - form - tree - - - - - - report.crm.case.section.categ.categ2 - form - tree - - - - - - - - + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/crm_configuration/crm_opportunity_menu.xml b/addons/crm_configuration/crm_opportunity_menu.xml new file mode 100644 index 00000000000..2104d39f415 --- /dev/null +++ b/addons/crm_configuration/crm_opportunity_menu.xml @@ -0,0 +1,244 @@ + + + + + Opportunities + oppor + + + + + + + All Opportunities + crm.case + tree,form,calendar + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + Opportunity + crm.case + form + form,tree + + + + + + form + + + + + + tree + + + + + + + All Open Opportunities + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + All Pending Opportunities + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + + My Opportunities + crm.case + tree,calendar,form + + + + + + calendar + + + + + + tree + + + + + + form + + + + + + + + My Open Opportunities + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + My Pending Opportunities + crm.case + tree,calendar,form + + + + + + tree + + + + + + calendar + + + + + + form + + + + + + + + report.crm.case.user + form + graph,tree + + + + + + + report.crm.case.section.categ2 + form + graph,tree + + + + + + report.crm.case.section.stage + form + graph,tree + + + + + + report.crm.case.section.categ.stage + form + tree + + + + + + report.crm.case.section.categ.categ2 + form + tree + + + + + + + diff --git a/addons/crm_vertical/__init__.py b/addons/crm_vertical/__init__.py index cd9c7c0a27c..a820153d64e 100644 --- a/addons/crm_vertical/__init__.py +++ b/addons/crm_vertical/__init__.py @@ -3,4 +3,4 @@ # Generated by the Tiny ERP module recorder ! # # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - +#import crm_vertical diff --git a/addons/crm_vertical/__terp__.py b/addons/crm_vertical/__terp__.py index d30dae92963..889ba7fd67f 100644 --- a/addons/crm_vertical/__terp__.py +++ b/addons/crm_vertical/__terp__.py @@ -9,7 +9,7 @@ "depends" : ["crm_configuration"], "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : ["crm_vertical_view.xml"], + "update_xml" : [], "installable": True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm_vertical/crm_bugs_vertical_view.xml b/addons/crm_vertical/crm_bugs_vertical_view.xml new file mode 100644 index 00000000000..75dbffc9559 --- /dev/null +++ b/addons/crm_vertical/crm_bugs_vertical_view.xml @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/addons/crm_vertical/crm_fund_vertical_view.xml b/addons/crm_vertical/crm_fund_vertical_view.xml new file mode 100644 index 00000000000..0a611753ec2 --- /dev/null +++ b/addons/crm_vertical/crm_fund_vertical_view.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/addons/crm_vertical/crm_jobs_vertical_view.xml b/addons/crm_vertical/crm_jobs_vertical_view.xml new file mode 100644 index 00000000000..2a3abb7fe42 --- /dev/null +++ b/addons/crm_vertical/crm_jobs_vertical_view.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/crm_vertical/crm_lead_vertical_view.xml b/addons/crm_vertical/crm_lead_vertical_view.xml new file mode 100644 index 00000000000..be658f099de --- /dev/null +++ b/addons/crm_vertical/crm_lead_vertical_view.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/addons/crm_vertical/crm_meeting_vertical_view.xml b/addons/crm_vertical/crm_meeting_vertical_view.xml new file mode 100644 index 00000000000..fe638b8abab --- /dev/null +++ b/addons/crm_vertical/crm_meeting_vertical_view.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/crm_vertical/crm_opportunity_vertical_view.xml b/addons/crm_vertical/crm_opportunity_vertical_view.xml new file mode 100644 index 00000000000..f7c4dd5f8d6 --- /dev/null +++ b/addons/crm_vertical/crm_opportunity_vertical_view.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/crm_vertical/crm_vertical.py b/addons/crm_vertical/crm_vertical.py new file mode 100644 index 00000000000..c8ae2e23554 --- /dev/null +++ b/addons/crm_vertical/crm_vertical.py @@ -0,0 +1,54 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2004-2008 TINY SPRL. (http://tiny.be) All Rights Reserved. +# +# $Id$ +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +import time +import tools +from osv import fields,osv,orm +import os +import mx.DateTime +import base64 + +# here need to implement inheritance on osv_memory object. after that, it will work well. +class crm_menu_config_wizard(osv.osv_memory): + _inherit='crm.menu.config_wizard' + def action_create(self, cr, uid, ids, *args): + res=super(crm_menu_config_wizard, self).action_create(cr, uid, ids, *args) + for res in self.read(cr,uid,ids): + res.__delitem__('id') + for section in res : + if res[section]: + file_name = 'crm_'+section+'_vertical_view.xml' + try: + tools.convert_xml_import(cr, 'crm_configuration', tools.file_open(os.path.join('crm_vertical',file_name )), {}, 'init', *args) + except Exception, e: + raise osv.except_osv('Error !', e) + return res + +crm_menu_config_wizard() diff --git a/addons/crm_vertical/crm_vertical_view.xml b/addons/crm_vertical/crm_vertical_view.xml deleted file mode 100644 index 57d4c1eeb69..00000000000 --- a/addons/crm_vertical/crm_vertical_view.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -