Job Applicant Source (#14543)

* New doctype - Job Applicant Source

* Source and source name field in job applicant

* Updated install_fixtures with default options

* Update install_fixtures.py

* Fixes codacy
This commit is contained in:
Siddhi Sawant
2018-06-21 10:47:54 +05:30
committed by Rushabh Mehta
parent ab37c6912c
commit 51e4d641c8
8 changed files with 263 additions and 4 deletions

View File

@@ -167,7 +167,6 @@ def install(country=None):
{'doctype': 'Activity Type', 'activity_type': _('Execution')},
{'doctype': 'Activity Type', 'activity_type': _('Communication')},
# Lead Source
{'doctype': "Item Attribute", "attribute_name": _("Size"), "item_attribute_values": [
{"attribute_value": _("Extra Small"), "abbr": "XS"},
{"attribute_value": _("Small"), "abbr": "S"},
@@ -184,6 +183,12 @@ def install(country=None):
{"attribute_value": _("White"), "abbr": "WHI"}
]},
#Job Applicant Source
{'doctype': 'Job Applicant Source', 'source_name': _('Website Listing')},
{'doctype': 'Job Applicant Source', 'source_name': _('Walk In')},
{'doctype': 'Job Applicant Source', 'source_name': _('Employee Referral')},
{'doctype': 'Job Applicant Source', 'source_name': _('Campaign')},
{'doctype': "Email Account", "email_id": "sales@example.com", "append_to": "Opportunity"},
{'doctype': "Email Account", "email_id": "support@example.com", "append_to": "Issue"},
{'doctype': "Email Account", "email_id": "jobs@example.com", "append_to": "Job Applicant"},