mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
style: format code with black
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
data = {
|
||||
'desktop_icons': [
|
||||
'Item',
|
||||
'Customer',
|
||||
'Supplier',
|
||||
'Lead',
|
||||
'Sales Order',
|
||||
'Purchase Order',
|
||||
'Task',
|
||||
'Sales Invoice',
|
||||
'CRM',
|
||||
'ToDo'
|
||||
"desktop_icons": [
|
||||
"Item",
|
||||
"Customer",
|
||||
"Supplier",
|
||||
"Lead",
|
||||
"Sales Order",
|
||||
"Purchase Order",
|
||||
"Task",
|
||||
"Sales Invoice",
|
||||
"CRM",
|
||||
"ToDo",
|
||||
],
|
||||
'set_value': [
|
||||
['Stock Settings', None, 'show_barcode_field', 1]
|
||||
],
|
||||
'default_portal_role': 'Customer'
|
||||
"set_value": [["Stock Settings", None, "show_barcode_field", 1]],
|
||||
"default_portal_role": "Customer",
|
||||
}
|
||||
|
||||
@@ -1,27 +1,19 @@
|
||||
data = {
|
||||
'desktop_icons': [
|
||||
'Student',
|
||||
'Program',
|
||||
'Course',
|
||||
'Student Group',
|
||||
'Instructor',
|
||||
'Fees',
|
||||
'Task',
|
||||
'ToDo',
|
||||
'Education',
|
||||
'Student Attendance Tool',
|
||||
'Student Applicant'
|
||||
"desktop_icons": [
|
||||
"Student",
|
||||
"Program",
|
||||
"Course",
|
||||
"Student Group",
|
||||
"Instructor",
|
||||
"Fees",
|
||||
"Task",
|
||||
"ToDo",
|
||||
"Education",
|
||||
"Student Attendance Tool",
|
||||
"Student Applicant",
|
||||
],
|
||||
'default_portal_role': 'Student',
|
||||
'restricted_roles': [
|
||||
'Student',
|
||||
'Instructor',
|
||||
'Academics User',
|
||||
'Education Manager'
|
||||
],
|
||||
'modules': [
|
||||
'Education'
|
||||
],
|
||||
'on_setup': 'erpnext.education.setup.setup_education'
|
||||
|
||||
"default_portal_role": "Student",
|
||||
"restricted_roles": ["Student", "Instructor", "Academics User", "Education Manager"],
|
||||
"modules": ["Education"],
|
||||
"on_setup": "erpnext.education.setup.setup_education",
|
||||
}
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
data = {
|
||||
'desktop_icons': [
|
||||
'Item',
|
||||
'BOM',
|
||||
'Customer',
|
||||
'Supplier',
|
||||
'Sales Order',
|
||||
'Purchase Order',
|
||||
'Work Order',
|
||||
'Task',
|
||||
'Accounts',
|
||||
'HR',
|
||||
'ToDo'
|
||||
],
|
||||
'properties': [
|
||||
{'doctype': 'Item', 'fieldname': 'manufacturing', 'property': 'collapsible_depends_on', 'value': 'is_stock_item'},
|
||||
"desktop_icons": [
|
||||
"Item",
|
||||
"BOM",
|
||||
"Customer",
|
||||
"Supplier",
|
||||
"Sales Order",
|
||||
"Purchase Order",
|
||||
"Work Order",
|
||||
"Task",
|
||||
"Accounts",
|
||||
"HR",
|
||||
"ToDo",
|
||||
],
|
||||
'set_value': [
|
||||
['Stock Settings', None, 'show_barcode_field', 1]
|
||||
"properties": [
|
||||
{
|
||||
"doctype": "Item",
|
||||
"fieldname": "manufacturing",
|
||||
"property": "collapsible_depends_on",
|
||||
"value": "is_stock_item",
|
||||
},
|
||||
],
|
||||
'default_portal_role': 'Customer'
|
||||
"set_value": [["Stock Settings", None, "show_barcode_field", 1]],
|
||||
"default_portal_role": "Customer",
|
||||
}
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
data = {
|
||||
'desktop_icons': [
|
||||
'POS',
|
||||
'Item',
|
||||
'Customer',
|
||||
'Sales Invoice',
|
||||
'Purchase Order',
|
||||
'Accounts',
|
||||
'Task',
|
||||
'ToDo'
|
||||
"desktop_icons": [
|
||||
"POS",
|
||||
"Item",
|
||||
"Customer",
|
||||
"Sales Invoice",
|
||||
"Purchase Order",
|
||||
"Accounts",
|
||||
"Task",
|
||||
"ToDo",
|
||||
],
|
||||
'set_value': [
|
||||
['Stock Settings', None, 'show_barcode_field', 1]
|
||||
],
|
||||
'default_portal_role': 'Customer'
|
||||
"set_value": [["Stock Settings", None, "show_barcode_field", 1]],
|
||||
"default_portal_role": "Customer",
|
||||
}
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
data = {
|
||||
'desktop_icons': [
|
||||
'Project',
|
||||
'Timesheet',
|
||||
'Customer',
|
||||
'Sales Order',
|
||||
'Sales Invoice',
|
||||
'CRM',
|
||||
'Task',
|
||||
'Expense Claim',
|
||||
'Employee',
|
||||
'HR',
|
||||
'ToDo'
|
||||
"desktop_icons": [
|
||||
"Project",
|
||||
"Timesheet",
|
||||
"Customer",
|
||||
"Sales Order",
|
||||
"Sales Invoice",
|
||||
"CRM",
|
||||
"Task",
|
||||
"Expense Claim",
|
||||
"Employee",
|
||||
"HR",
|
||||
"ToDo",
|
||||
],
|
||||
'set_value': [
|
||||
['Stock Settings', None, 'show_barcode_field', 0]
|
||||
],
|
||||
'default_portal_role': 'Customer'
|
||||
"set_value": [["Stock Settings", None, "show_barcode_field", 0]],
|
||||
"default_portal_role": "Customer",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user