mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 17:48:30 +00:00
fix: correct typos in marketing campaign custom fields function
(cherry picked from commit 6b7fed7f59)
This commit is contained in:
committed by
Mergify
parent
53e400cca1
commit
531bdbc727
@@ -2,7 +2,7 @@ import click
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe.query_builder.functions import Coalesce
|
from frappe.query_builder.functions import Coalesce
|
||||||
|
|
||||||
from erpnext.setup.install import create_marketgin_campagin_custom_fields
|
from erpnext.setup.install import create_marketing_campaign_custom_fields
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
@@ -31,7 +31,7 @@ def execute():
|
|||||||
frappe.delete_doc("DocType", "Lead Source", ignore_missing=True)
|
frappe.delete_doc("DocType", "Lead Source", ignore_missing=True)
|
||||||
|
|
||||||
campaign = frappe.qb.DocType("Campaign")
|
campaign = frappe.qb.DocType("Campaign")
|
||||||
create_marketgin_campagin_custom_fields()
|
create_marketing_campaign_custom_fields()
|
||||||
marketing_campaign = frappe.qb.DocType("UTM Campaign")
|
marketing_campaign = frappe.qb.DocType("UTM Campaign")
|
||||||
|
|
||||||
# Fetch all Campaigns
|
# Fetch all Campaigns
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ def after_install():
|
|||||||
|
|
||||||
set_single_defaults()
|
set_single_defaults()
|
||||||
create_print_setting_custom_fields()
|
create_print_setting_custom_fields()
|
||||||
create_marketgin_campagin_custom_fields()
|
create_marketing_campaign_custom_fields()
|
||||||
create_custom_company_links()
|
create_custom_company_links()
|
||||||
add_all_roles_to("Administrator")
|
add_all_roles_to("Administrator")
|
||||||
create_default_success_action()
|
create_default_success_action()
|
||||||
@@ -119,16 +119,16 @@ def create_print_setting_custom_fields():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def create_marketgin_campagin_custom_fields():
|
def create_marketing_campaign_custom_fields():
|
||||||
create_custom_fields(
|
create_custom_fields(
|
||||||
{
|
{
|
||||||
"UTM Campaign": [
|
"UTM Campaign": [
|
||||||
{
|
{
|
||||||
"label": _("Messaging CRM Campagin"),
|
"label": _("Messaging CRM Campaign"),
|
||||||
"fieldname": "crm_campaign",
|
"fieldname": "crm_campaign",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"options": "Campaign",
|
"options": "Campaign",
|
||||||
"insert_after": "campaign_decription",
|
"insert_after": "campaign_description",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user