Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crm_reveal will allow the automated generation of leads based on the visits of the website.
- Loading branch information
Showing
20 changed files
with
3,243 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
||
from . import controllers | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
||
{ | ||
'name': 'Lead Generation', | ||
'summary': 'Create Leads/Opportunities from your website\'s traffic', | ||
'category': 'CRM', | ||
'depends': ['iap', 'crm', 'website_form'], | ||
'data': [ | ||
'data/crm.reveal.industry.csv', | ||
'data/crm.reveal.role.csv', | ||
'data/crm.reveal.seniority.csv', | ||
'data/message_template.xml', | ||
'data/reveal_data.xml', | ||
'security/ir.model.access.csv', | ||
'views/crm_lead_view.xml', | ||
'views/crm_reveal_views.xml', | ||
'views/res_config_settings_views.xml' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
||
from . import main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
import json | ||
|
||
from odoo import http | ||
from odoo.addons.website_form.controllers.main import WebsiteForm | ||
from odoo.http import request | ||
|
||
|
||
class ContactController(WebsiteForm): | ||
|
||
@http.route('/website_form/<string:model_name>', type='http', auth="public", methods=['POST'], website=True) | ||
def website_form(self, model_name, **kwargs): | ||
if model_name == 'crm.lead': | ||
# Add the ip_address to the request in order to add this to the lead | ||
# that will be created. With this, we avoid to create a lead from | ||
# reveal if a lead is already created from the contact form. | ||
request.params['reveal_ip'] = request.httprequest.remote_addr | ||
|
||
return super(ContactController, self).website_form(model_name, **kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
"id",name,reveal_id | ||
"crm_reveal_industry_1","3D Printing","1" | ||
"crm_reveal_industry_2","Accounting","2" | ||
"crm_reveal_industry_3","Aerospace & Defense","3" | ||
"crm_reveal_industry_4","Agriculture","4" | ||
"crm_reveal_industry_5","Airlines","5" | ||
"crm_reveal_industry_6","Alternative Medicine","6" | ||
"crm_reveal_industry_7","Animation","7" | ||
"crm_reveal_industry_8","Apparel & Footwear","8" | ||
"crm_reveal_industry_9","Architecture","9" | ||
"crm_reveal_industry_10","Arts","10" | ||
"crm_reveal_industry_11","Arts & Crafts","11" | ||
"crm_reveal_industry_12","Asset Management","12" | ||
"crm_reveal_industry_13","Audio","13" | ||
"crm_reveal_industry_14","Automation","14" | ||
"crm_reveal_industry_15","Automotive","15" | ||
"crm_reveal_industry_16","Banking & Mortgages","16" | ||
"crm_reveal_industry_17","Beverages","17" | ||
"crm_reveal_industry_18","Biotechnology","18" | ||
"crm_reveal_industry_19","Broadcasting","19" | ||
"crm_reveal_industry_20","Building Materials","20" | ||
"crm_reveal_industry_21","Business Supplies","21" | ||
"crm_reveal_industry_22","Chemicals","22" | ||
"crm_reveal_industry_23","Civil Engineering","23" | ||
"crm_reveal_industry_24","Cloud Services","24" | ||
"crm_reveal_industry_25","Communications","25" | ||
"crm_reveal_industry_26","Computer Hardware","26" | ||
"crm_reveal_industry_27","Construction","27" | ||
"crm_reveal_industry_28","Construction Contractors & Services","28" | ||
"crm_reveal_industry_29","Consulting & Professional Services","29" | ||
"crm_reveal_industry_30","Consumer Discretionary","30" | ||
"crm_reveal_industry_31","Consumer Electronics","31" | ||
"crm_reveal_industry_32","Consumer Goods","32" | ||
"crm_reveal_industry_33","Consumer Staples","33" | ||
"crm_reveal_industry_34","Corporate & Business","34" | ||
"crm_reveal_industry_35","Cosmetics","35" | ||
"crm_reveal_industry_36","Design","36" | ||
"crm_reveal_industry_37","E-Commerce & Marketplaces","37" | ||
"crm_reveal_industry_38","E-Learning","38" | ||
"crm_reveal_industry_39","Education","39" | ||
"crm_reveal_industry_40","Electrical","40" | ||
"crm_reveal_industry_41","Energy","41" | ||
"crm_reveal_industry_42","Energy & Utilities","42" | ||
"crm_reveal_industry_43","Entertainment & Recreation","43" | ||
"crm_reveal_industry_44","Events","44" | ||
"crm_reveal_industry_45","Eyewear","45" | ||
"crm_reveal_industry_46","Facilities","46" | ||
"crm_reveal_industry_47","Family Services","47" | ||
"crm_reveal_industry_48","Finance","48" | ||
"crm_reveal_industry_49","Financial Services","49" | ||
"crm_reveal_industry_50","Fine Art","50" | ||
"crm_reveal_industry_51","Firearms","51" | ||
"crm_reveal_industry_52","Fishery","52" | ||
"crm_reveal_industry_53","Food","53" | ||
"crm_reveal_industry_54","Food Production","54" | ||
"crm_reveal_industry_55","Forums","55" | ||
"crm_reveal_industry_56","Fundraising","56" | ||
"crm_reveal_industry_57","Gambling & Casinos","57" | ||
"crm_reveal_industry_58","Government","58" | ||
"crm_reveal_industry_59","Ground Transportation","59" | ||
"crm_reveal_industry_60","Health & Wellness","60" | ||
"crm_reveal_industry_61","Health Care","61" | ||
"crm_reveal_industry_62","Higher Education","62" | ||
"crm_reveal_industry_63","Home & Furniture","63" | ||
"crm_reveal_industry_64","Home Improvement","64" | ||
"crm_reveal_industry_65","Human Resources","65" | ||
"crm_reveal_industry_66","Import & Export","66" | ||
"crm_reveal_industry_67","Industrials & Manufacturing","67" | ||
"crm_reveal_industry_68","Information Technology & Services","68" | ||
"crm_reveal_industry_69","Insurance","69" | ||
"crm_reveal_industry_70","International Relations","70" | ||
"crm_reveal_industry_71","International Trade","71" | ||
"crm_reveal_industry_72","Internet","72" | ||
"crm_reveal_industry_73","Investment","73" | ||
"crm_reveal_industry_74","Investment Banking","74" | ||
"crm_reveal_industry_75","Investment Management","75" | ||
"crm_reveal_industry_76","Jewelry, Watches & Luxury Goods","76" | ||
"crm_reveal_industry_77","Judiciary","77" | ||
"crm_reveal_industry_78","Law Enforcement","78" | ||
"crm_reveal_industry_79","Legal Services","79" | ||
"crm_reveal_industry_80","Libraries","80" | ||
"crm_reveal_industry_81","Machinery","81" | ||
"crm_reveal_industry_82","Maritime","82" | ||
"crm_reveal_industry_83","Market Research","83" | ||
"crm_reveal_industry_84","Marketing & Advertising","84" | ||
"crm_reveal_industry_85","Mechanical Engineering","85" | ||
"crm_reveal_industry_86","Media","86" | ||
"crm_reveal_industry_87","Medicine","87" | ||
"crm_reveal_industry_88","Military","88" | ||
"crm_reveal_industry_89","Mining & Metals","89" | ||
"crm_reveal_industry_90","Movies & TV","90" | ||
"crm_reveal_industry_91","Museums","91" | ||
"crm_reveal_industry_92","Music","92" | ||
"crm_reveal_industry_93","Nanotechnology","93" | ||
"crm_reveal_industry_94","Networking","94" | ||
"crm_reveal_industry_95","Non-Profit & Philanthropy","95" | ||
"crm_reveal_industry_96","Oil & Gas","96" | ||
"crm_reveal_industry_97","Outsourcing","97" | ||
"crm_reveal_industry_98","Packaging & Containers","98" | ||
"crm_reveal_industry_99","Paper Goods","99" | ||
"crm_reveal_industry_100","Payments","100" | ||
"crm_reveal_industry_101","Performing Arts","101" | ||
"crm_reveal_industry_102","Pharmaceuticals","102" | ||
"crm_reveal_industry_103","Pharmacy","103" | ||
"crm_reveal_industry_104","Photography","104" | ||
"crm_reveal_industry_105","Plastics","105" | ||
"crm_reveal_industry_106","Plumbing","106" | ||
"crm_reveal_industry_107","Political Organization","107" | ||
"crm_reveal_industry_108","Pornography","108" | ||
"crm_reveal_industry_109","Primary & Secondary Education","109" | ||
"crm_reveal_industry_110","Printing","110" | ||
"crm_reveal_industry_111","Public Relations","111" | ||
"crm_reveal_industry_112","Publishing","112" | ||
"crm_reveal_industry_113","Ranching","113" | ||
"crm_reveal_industry_114","Real Estate","114" | ||
"crm_reveal_industry_115","Religion","115" | ||
"crm_reveal_industry_116","Renewables & Environment","116" | ||
"crm_reveal_industry_117","Restaurants","117" | ||
"crm_reveal_industry_118","Retail","118" | ||
"crm_reveal_industry_119","Sanitization Services","119" | ||
"crm_reveal_industry_120","Scientific & Academic Research","120" | ||
"crm_reveal_industry_121","Security","121" | ||
"crm_reveal_industry_122","Services","122" | ||
"crm_reveal_industry_123","Shipbuilding","123" | ||
"crm_reveal_industry_124","Shipping & Logistics","124" | ||
"crm_reveal_industry_125","Society","125" | ||
"crm_reveal_industry_126","Sporting Goods","126" | ||
"crm_reveal_industry_127","Sports & Fitness","127" | ||
"crm_reveal_industry_128","Stores","128" | ||
"crm_reveal_industry_129","Talent Agencies","129" | ||
"crm_reveal_industry_130","Technology","130" | ||
"crm_reveal_industry_131","Telecommunications","131" | ||
"crm_reveal_industry_132","Textiles","132" | ||
"crm_reveal_industry_133","Tobacco","133" | ||
"crm_reveal_industry_134","Tools","134" | ||
"crm_reveal_industry_135","Translation","135" | ||
"crm_reveal_industry_136","Transportation","136" | ||
"crm_reveal_industry_137","Travel & Leisure","137" | ||
"crm_reveal_industry_138","Utilities","138" | ||
"crm_reveal_industry_139","Venture Capital","139" | ||
"crm_reveal_industry_140","Veterinary","140" | ||
"crm_reveal_industry_141","Video Games","141" | ||
"crm_reveal_industry_142","Warehousing","142" | ||
"crm_reveal_industry_143","Web Services & Apps","143" | ||
"crm_reveal_industry_144","Wholesale","144" | ||
"crm_reveal_industry_145","Financials","145" | ||
"crm_reveal_industry_146","Industrials","146" | ||
"crm_reveal_industry_147","Information Technology","147" | ||
"crm_reveal_industry_148","Materials","148" | ||
"crm_reveal_industry_149","Telecommunication Services","149" | ||
"crm_reveal_industry_150","Consumer Services","150" | ||
"crm_reveal_industry_151","Diversified Consumer Services","151" | ||
"crm_reveal_industry_152","Retailing","152" | ||
"crm_reveal_industry_153","Food & Staples Retailing","153" | ||
"crm_reveal_industry_154","Food, Beverage & Tobacco","154" | ||
"crm_reveal_industry_155","Household & Personal Products","155" | ||
"crm_reveal_industry_156","Energy Equipment & Services","156" | ||
"crm_reveal_industry_157","Banks","157" | ||
"crm_reveal_industry_158","Diversified Financial Services","158" | ||
"crm_reveal_industry_159","Diversified Financials","159" | ||
"crm_reveal_industry_160","Health Care Equipment & Services","160" | ||
"crm_reveal_industry_161","Pharmaceuticals, Biotechnology & Life Sciences","161" | ||
"crm_reveal_industry_162","Capital Goods","162" | ||
"crm_reveal_industry_163","Commercial & Professional Services","163" | ||
"crm_reveal_industry_164","Semiconductors & Semiconductor Equipment","164" | ||
"crm_reveal_industry_165","Software & Services","165" | ||
"crm_reveal_industry_166","Technology Hardware & Equipment","166" | ||
"crm_reveal_industry_167","Construction Materials","167" | ||
"crm_reveal_industry_168","Independent Power and Renewable Electricity Producers","168" | ||
"crm_reveal_industry_169","Hotels, Restaurants & Leisure","169" | ||
"crm_reveal_industry_170","Education Services","170" | ||
"crm_reveal_industry_171","Specialized Consumer Services","171" | ||
"crm_reveal_industry_172","Distributors","172" | ||
"crm_reveal_industry_173","Specialty Retail","173" | ||
"crm_reveal_industry_174","Food Products","174" | ||
"crm_reveal_industry_175","Personal Products","175" | ||
"crm_reveal_industry_176","Gas Utilities","176" | ||
"crm_reveal_industry_177","Capital Markets","177" | ||
"crm_reveal_industry_178","Health Care Equipment & Supplies","178" | ||
"crm_reveal_industry_179","Health Care Providers & Services","179" | ||
"crm_reveal_industry_180","Life Sciences Tools & Services","180" | ||
"crm_reveal_industry_181","Commercial Services & Supplies","181" | ||
"crm_reveal_industry_182","Construction & Engineering","182" | ||
"crm_reveal_industry_183","Electrical Equipment","183" | ||
"crm_reveal_industry_184","Industrial Conglomerates","184" | ||
"crm_reveal_industry_185","Trading Companies & Distributors","185" | ||
"crm_reveal_industry_186","Professional Services","186" | ||
"crm_reveal_industry_187","Air Freight & Logistics","187" | ||
"crm_reveal_industry_188","Marine","188" | ||
"crm_reveal_industry_189","Road & Rail","189" | ||
"crm_reveal_industry_190","Internet Software & Services","190" | ||
"crm_reveal_industry_191","IT Services","191" | ||
"crm_reveal_industry_192","Software","192" | ||
"crm_reveal_industry_193","Communications Equipment","193" | ||
"crm_reveal_industry_194","Electronic Equipment, Instruments & Components","194" | ||
"crm_reveal_industry_195","Technology Hardware, Storage & Peripherals","195" | ||
"crm_reveal_industry_196","Containers & Packaging","196" | ||
"crm_reveal_industry_197","Metals & Mining","197" | ||
"crm_reveal_industry_198","Paper & Forest Products","198" | ||
"crm_reveal_industry_199","Diversified Telecommunication Services","199" | ||
"crm_reveal_industry_200","Wireless Telecommunication Services","200" | ||
"crm_reveal_industry_201","Renewable Electricity","201" | ||
"crm_reveal_industry_202","Electric Utilities","202" | ||
"crm_reveal_industry_203","Casinos & Gaming","203" | ||
"crm_reveal_industry_204","Leisure Facilities","204" | ||
"crm_reveal_industry_205","Advertising","205" | ||
"crm_reveal_industry_206","Movies & Entertainment","206" | ||
"crm_reveal_industry_207","Home Improvement Retail","207" | ||
"crm_reveal_industry_208","Homefurnishing Retail","208" | ||
"crm_reveal_industry_209","Food Retail","209" | ||
"crm_reveal_industry_210","Agricultural Products","210" | ||
"crm_reveal_industry_211","Packaged Foods & Meats","211" | ||
"crm_reveal_industry_212","Asset Management & Custody Banks","212" | ||
"crm_reveal_industry_213","Diversified Capital Markets","213" | ||
"crm_reveal_industry_214","Investment Banking & Brokerage","214" | ||
"crm_reveal_industry_215","Health Care Services","215" | ||
"crm_reveal_industry_216","Commercial Printing","216" | ||
"crm_reveal_industry_217","Industrial Machinery","217" | ||
"crm_reveal_industry_218","Consulting","218" | ||
"crm_reveal_industry_219","Human Resource & Employment Services","219" | ||
"crm_reveal_industry_220","Research & Consulting Services","220" | ||
"crm_reveal_industry_221","Semiconductors","221" | ||
"crm_reveal_industry_222","Data Processing & Outsourced Services","222" | ||
"crm_reveal_industry_223","Graphic Design","223" | ||
"crm_reveal_industry_224","Computer Networking","224" | ||
"crm_reveal_industry_225","Commodity Chemicals","225" | ||
"crm_reveal_industry_226","Gold","226" | ||
"crm_reveal_industry_227","Paper Products","227" | ||
"crm_reveal_industry_228","Integrated Telecommunication Services","228" | ||
"crm_reveal_industry_229","Renewable Energy","229" | ||
"crm_reveal_industry_230","B2B","230" | ||
"crm_reveal_industry_231","B2C","231" | ||
"crm_reveal_industry_232","E-Commerce","232" | ||
"crm_reveal_industry_233","Enterprise","233" | ||
"crm_reveal_industry_234","ISP","234" | ||
"crm_reveal_industry_235","Marketplace","235" | ||
"crm_reveal_industry_236","Mobile","236" | ||
"crm_reveal_industry_237","SAAS","237" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"id",name,reveal_id | ||
"crm_reveal_role_1","ceo","ceo" | ||
"crm_reveal_role_2","communications","communications" | ||
"crm_reveal_role_3","consulting","consulting" | ||
"crm_reveal_role_4","customer_service","customer_service" | ||
"crm_reveal_role_5","education","education" | ||
"crm_reveal_role_6","engineering","engineering" | ||
"crm_reveal_role_7","finance","finance" | ||
"crm_reveal_role_8","founder","founder" | ||
"crm_reveal_role_9","health_professional","health_professional" | ||
"crm_reveal_role_10","human_resources","human_resources" | ||
"crm_reveal_role_11","information_technology","information_technology" | ||
"crm_reveal_role_12","legal","legal" | ||
"crm_reveal_role_13","marketing","marketing" | ||
"crm_reveal_role_14","operations","operations" | ||
"crm_reveal_role_15","owner","owner" | ||
"crm_reveal_role_16","president","president" | ||
"crm_reveal_role_17","product","product" | ||
"crm_reveal_role_18","public_relations","public_relations" | ||
"crm_reveal_role_19","real_estate","real_estate" | ||
"crm_reveal_role_20","recruiting","recruiting" | ||
"crm_reveal_role_21","research","research" | ||
"crm_reveal_role_22","sale","sale" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"id",name,reveal_id | ||
"crm_reveal_seniority_1","director","director" | ||
"crm_reveal_seniority_2","executive","executive" | ||
"crm_reveal_seniority_3","manager","manager" |
Oops, something went wrong.
eebaf55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c04065a