chore: Remove domains from Setup
This commit is contained in:
@@ -12,37 +12,6 @@ frappe.setup.on("before_load", function () {
|
||||
});
|
||||
|
||||
erpnext.setup.slides_settings = [
|
||||
{
|
||||
// Domain
|
||||
name: 'domain',
|
||||
title: __('Select your Domains'),
|
||||
fields: [
|
||||
{
|
||||
fieldname: 'domains',
|
||||
label: __('Domains'),
|
||||
fieldtype: 'MultiCheck',
|
||||
options: [
|
||||
{ "label": __("Distribution"), "value": "Distribution" },
|
||||
{ "label": __("Education"), "value": "Education" },
|
||||
{ "label": __("Manufacturing"), "value": "Manufacturing" },
|
||||
{ "label": __("Retail"), "value": "Retail" },
|
||||
{ "label": __("Services"), "value": "Services" },
|
||||
{ "label": __("Healthcare (beta)"), "value": "Healthcare" },
|
||||
{ "label": __("Non Profit (beta)"), "value": "Non Profit" }
|
||||
], reqd: 1
|
||||
},
|
||||
],
|
||||
// help: __('Select the nature of your business.'),
|
||||
validate: function () {
|
||||
if (this.values.domains.length === 0) {
|
||||
frappe.msgprint(__("Please select at least one domain."));
|
||||
return false;
|
||||
}
|
||||
frappe.setup.domains = this.values.domains;
|
||||
return true;
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
// Brand
|
||||
name: 'brand',
|
||||
|
||||
Reference in New Issue
Block a user