[perm] added stock, project user for company

This commit is contained in:
Rushabh Mehta 2015-07-14 11:54:42 +05:30
parent 94157334a7
commit bdb71bca4e

View File

@ -1,512 +1,538 @@
{
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:company_name",
"creation": "2013-04-10 08:35:39",
"description": "Legal Entity / Subsidiary with a separate Chart of Accounts belonging to the Organization.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:company_name",
"creation": "2013-04-10 08:35:39",
"description": "Legal Entity / Subsidiary with a separate Chart of Accounts belonging to the Organization.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"fields": [
{
"fieldname": "details",
"fieldtype": "Section Break",
"label": "",
"oldfieldtype": "Section Break",
"permlevel": 0,
"fieldname": "details",
"fieldtype": "Section Break",
"label": "",
"oldfieldtype": "Section Break",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "company_name",
"fieldtype": "Data",
"label": "Company",
"no_copy": 0,
"oldfieldname": "company_name",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 0,
"fieldname": "company_name",
"fieldtype": "Data",
"label": "Company",
"no_copy": 0,
"oldfieldname": "company_name",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
},
{
"description": "",
"fieldname": "abbr",
"fieldtype": "Data",
"label": "Abbr",
"no_copy": 0,
"oldfieldname": "abbr",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 0,
"description": "",
"fieldname": "abbr",
"fieldtype": "Data",
"label": "Abbr",
"no_copy": 0,
"oldfieldname": "abbr",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
},
{
"depends_on": "eval:!doc.__islocal && in_list(user_roles, \"System Manager\")",
"fieldname": "change_abbr",
"fieldtype": "Button",
"label": "Change Abbreviation",
"depends_on": "eval:!doc.__islocal && in_list(user_roles, \"System Manager\")",
"fieldname": "change_abbr",
"fieldtype": "Button",
"label": "Change Abbreviation",
"permlevel": 0
},
},
{
"fieldname": "cb0",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "cb0",
"fieldtype": "Column Break",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "domain",
"fieldtype": "Select",
"label": "Domain",
"options": "Distribution\nManufacturing\nRetail\nServices",
"permlevel": 0,
"fieldname": "domain",
"fieldtype": "Select",
"label": "Domain",
"options": "Distribution\nManufacturing\nRetail\nServices",
"permlevel": 0,
"reqd": 0
},
},
{
"fieldname": "charts_section",
"fieldtype": "Section Break",
"hidden": 0,
"label": "Default Values",
"fieldname": "charts_section",
"fieldtype": "Section Break",
"hidden": 0,
"label": "Default Values",
"permlevel": 0
},
},
{
"fieldname": "default_letter_head",
"fieldtype": "Link",
"label": "Default Letter Head",
"options": "Letter Head",
"permlevel": 0,
"fieldname": "default_letter_head",
"fieldtype": "Link",
"label": "Default Letter Head",
"options": "Letter Head",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "default_holiday_list",
"fieldtype": "Link",
"label": "Default Holiday List",
"options": "Holiday List",
"permlevel": 0,
"fieldname": "default_holiday_list",
"fieldtype": "Link",
"label": "Default Holiday List",
"options": "Holiday List",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "country",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Country",
"options": "Country",
"permlevel": 0,
"fieldname": "country",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Country",
"options": "Country",
"permlevel": 0,
"reqd": 1
},
},
{
"fieldname": "column_break_10",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break_10",
"fieldtype": "Column Break",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Currency",
"options": "Currency",
"permlevel": 0,
"read_only": 0,
"fieldname": "default_currency",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Currency",
"options": "Currency",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
},
{
"fieldname": "chart_of_accounts",
"fieldtype": "Select",
"hidden": 0,
"ignore_user_permissions": 1,
"label": "Chart of Accounts",
"options": "",
"fieldname": "chart_of_accounts",
"fieldtype": "Select",
"hidden": 0,
"ignore_user_permissions": 1,
"label": "Chart of Accounts",
"options": "",
"permlevel": 0
},
},
{
"fieldname": "default_terms",
"fieldtype": "Link",
"label": "Default Terms",
"options": "Terms and Conditions",
"permlevel": 0,
"fieldname": "default_terms",
"fieldtype": "Link",
"label": "Default Terms",
"options": "Terms and Conditions",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "default_settings",
"fieldtype": "Section Break",
"label": "Accounts Settings",
"oldfieldtype": "Section Break",
"permlevel": 0,
"fieldname": "default_settings",
"fieldtype": "Section Break",
"label": "Accounts Settings",
"oldfieldtype": "Section Break",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_bank_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Bank Account",
"no_copy": 1,
"oldfieldname": "default_bank_account",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_bank_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Bank Account",
"no_copy": 1,
"oldfieldname": "default_bank_account",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_cash_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Cash Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_cash_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Cash Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_receivable_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Receivable Account",
"no_copy": 1,
"oldfieldname": "receivables_group",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_receivable_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Receivable Account",
"no_copy": 1,
"oldfieldname": "receivables_group",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "round_off_account",
"fieldtype": "Link",
"ignore_user_permissions": 0,
"label": "Round Off Account",
"options": "Account",
"permlevel": 0,
"fieldname": "round_off_account",
"fieldtype": "Link",
"ignore_user_permissions": 0,
"label": "Round Off Account",
"options": "Account",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"permlevel": 0,
"read_only": 0,
"fieldname": "column_break0",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"permlevel": 0,
"read_only": 0,
"width": "50%"
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_payable_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Payable Account",
"no_copy": 1,
"oldfieldname": "payables_group",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_payable_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Payable Account",
"no_copy": 1,
"oldfieldname": "payables_group",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_expense_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Cost of Goods Sold Account",
"no_copy": 1,
"options": "Account",
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_expense_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Cost of Goods Sold Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_income_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Income Account",
"no_copy": 1,
"options": "Account",
"depends_on": "eval:!doc.__islocal",
"fieldname": "default_income_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Default Income Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0
},
},
{
"fieldname": "round_off_cost_center",
"fieldtype": "Link",
"ignore_user_permissions": 0,
"label": "Round Off Cost Center",
"options": "Cost Center",
"permlevel": 0,
"fieldname": "round_off_cost_center",
"fieldtype": "Link",
"ignore_user_permissions": 0,
"label": "Round Off Cost Center",
"options": "Cost Center",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "section_break_22",
"fieldtype": "Section Break",
"permlevel": 0,
"fieldname": "section_break_22",
"fieldtype": "Section Break",
"permlevel": 0,
"precision": ""
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "cost_center",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Cost Center",
"no_copy": 1,
"options": "Cost Center",
"depends_on": "eval:!doc.__islocal",
"fieldname": "cost_center",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Cost Center",
"no_copy": 1,
"options": "Cost Center",
"permlevel": 0
},
},
{
"fieldname": "credit_days_based_on",
"fieldtype": "Select",
"label": "Credit Days Based On",
"options": "\nFixed Days\nLast Day of the Next Month",
"permlevel": 0,
"fieldtype": "Select",
"label": "Credit Days Based On",
"options": "\nFixed Days\nLast Day of the Next Month",
"permlevel": 0,
"precision": ""
},
},
{
"depends_on": "eval:(!doc.__islocal && doc.credit_days_based_on=='Fixed Days')",
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"permlevel": 0,
"depends_on": "eval:(!doc.__islocal && doc.credit_days_based_on=='Fixed Days')",
"fieldname": "credit_days",
"fieldtype": "Int",
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "credit_limit",
"fieldtype": "Currency",
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "default_currency",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "credit_limit",
"fieldtype": "Currency",
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "default_currency",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "column_break_26",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break_26",
"fieldtype": "Column Break",
"permlevel": 0,
"precision": ""
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "yearly_bgt_flag",
"fieldtype": "Select",
"label": "If Yearly Budget Exceeded",
"oldfieldname": "yearly_bgt_flag",
"oldfieldtype": "Select",
"options": "\nWarn\nIgnore\nStop",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "yearly_bgt_flag",
"fieldtype": "Select",
"label": "If Yearly Budget Exceeded",
"oldfieldname": "yearly_bgt_flag",
"oldfieldtype": "Select",
"options": "\nWarn\nIgnore\nStop",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "monthly_bgt_flag",
"fieldtype": "Select",
"label": "If Monthly Budget Exceeded",
"oldfieldname": "monthly_bgt_flag",
"oldfieldtype": "Select",
"options": "\nWarn\nIgnore\nStop",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "monthly_bgt_flag",
"fieldtype": "Select",
"label": "If Monthly Budget Exceeded",
"oldfieldname": "monthly_bgt_flag",
"oldfieldtype": "Select",
"options": "\nWarn\nIgnore\nStop",
"permlevel": 0,
"read_only": 0
},
},
{
"depends_on": "eval:!doc.__islocal",
"fieldname": "auto_accounting_for_stock_settings",
"fieldtype": "Section Break",
"label": "Stock Settings",
"permlevel": 0,
"depends_on": "eval:!doc.__islocal",
"fieldname": "auto_accounting_for_stock_settings",
"fieldtype": "Section Break",
"label": "Stock Settings",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "stock_received_but_not_billed",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Stock Received But Not Billed",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"fieldname": "stock_received_but_not_billed",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Stock Received But Not Billed",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "stock_adjustment_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Stock Adjustment Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"fieldname": "stock_adjustment_account",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Stock Adjustment Account",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "column_break_32",
"fieldtype": "Column Break",
"permlevel": 0,
"fieldname": "column_break_32",
"fieldtype": "Column Break",
"permlevel": 0,
"precision": ""
},
},
{
"fieldname": "expenses_included_in_valuation",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Expenses Included In Valuation",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"fieldname": "expenses_included_in_valuation",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"label": "Expenses Included In Valuation",
"no_copy": 1,
"options": "Account",
"permlevel": 0,
"read_only": 0
},
},
{
"description": "For reference only.",
"fieldname": "company_info",
"fieldtype": "Section Break",
"label": "Company Info",
"permlevel": 0,
"description": "For reference only.",
"fieldname": "company_info",
"fieldtype": "Section Break",
"label": "Company Info",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "address",
"fieldtype": "Small Text",
"label": "Address",
"oldfieldname": "address",
"oldfieldtype": "Small Text",
"permlevel": 0,
"fieldname": "address",
"fieldtype": "Small Text",
"label": "Address",
"oldfieldname": "address",
"oldfieldtype": "Small Text",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"permlevel": 0,
"read_only": 0,
"fieldname": "column_break1",
"fieldtype": "Column Break",
"oldfieldtype": "Column Break",
"permlevel": 0,
"read_only": 0,
"width": "50%"
},
},
{
"fieldname": "phone_no",
"fieldtype": "Data",
"label": "Phone No",
"oldfieldname": "phone_no",
"oldfieldtype": "Data",
"options": "Phone",
"permlevel": 0,
"fieldname": "phone_no",
"fieldtype": "Data",
"label": "Phone No",
"oldfieldname": "phone_no",
"oldfieldtype": "Data",
"options": "Phone",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "fax",
"fieldtype": "Data",
"label": "Fax",
"oldfieldname": "fax",
"oldfieldtype": "Data",
"options": "Phone",
"permlevel": 0,
"fieldname": "fax",
"fieldtype": "Data",
"label": "Fax",
"oldfieldname": "fax",
"oldfieldtype": "Data",
"options": "Phone",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "email",
"fieldtype": "Data",
"label": "Email",
"oldfieldname": "email",
"oldfieldtype": "Data",
"options": "Email",
"permlevel": 0,
"fieldname": "email",
"fieldtype": "Data",
"label": "Email",
"oldfieldname": "email",
"oldfieldtype": "Data",
"options": "Email",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"oldfieldname": "website",
"oldfieldtype": "Data",
"permlevel": 0,
"fieldname": "website",
"fieldtype": "Data",
"label": "Website",
"oldfieldname": "website",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 0
},
},
{
"description": "",
"fieldname": "registration_info",
"fieldtype": "Section Break",
"label": "",
"oldfieldtype": "Section Break",
"permlevel": 0,
"read_only": 0,
"description": "",
"fieldname": "registration_info",
"fieldtype": "Section Break",
"label": "",
"oldfieldtype": "Section Break",
"permlevel": 0,
"read_only": 0,
"width": "50%"
},
},
{
"description": "Company registration numbers for your reference. Tax numbers etc.",
"fieldname": "registration_details",
"fieldtype": "Code",
"label": "Registration Details",
"oldfieldname": "registration_details",
"oldfieldtype": "Code",
"permlevel": 0,
"description": "Company registration numbers for your reference. Tax numbers etc.",
"fieldname": "registration_details",
"fieldtype": "Code",
"label": "Registration Details",
"oldfieldname": "registration_details",
"oldfieldtype": "Code",
"permlevel": 0,
"read_only": 0
},
},
{
"fieldname": "delete_company_transactions",
"fieldtype": "Button",
"label": "Delete Company Transactions",
"permlevel": 0,
"fieldname": "delete_company_transactions",
"fieldtype": "Button",
"label": "Delete Company Transactions",
"permlevel": 0,
"precision": ""
}
],
"icon": "icon-building",
"idx": 1,
"modified": "2015-07-13 05:00:14.678471",
"modified_by": "Administrator",
"module": "Setup",
"name": "Company",
"owner": "Administrator",
],
"icon": "icon-building",
"idx": 1,
"modified": "2015-07-14 02:23:45.064575",
"modified_by": "Administrator",
"module": "Setup",
"name": "Company",
"owner": "Administrator",
"permissions": [
{
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"submit": 0,
"amend": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"submit": 0,
"write": 1
},
},
{
"apply_user_permissions": 1,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"apply_user_permissions": 1,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"role": "Accounts User"
},
},
{
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Employee",
"share": 0,
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Employee",
"share": 0,
"write": 0
},
},
{
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Sales User",
"share": 0,
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Sales User",
"share": 0,
"write": 0
},
},
{
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Purchase User",
"share": 0,
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Purchase User",
"share": 0,
"write": 0
},
{
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Stock User",
"share": 0,
"write": 0
},
{
"create": 0,
"delete": 0,
"email": 0,
"export": 0,
"permlevel": 0,
"print": 0,
"read": 1,
"report": 0,
"role": "Projects User",
"share": 0,
"write": 0
}
]
}
}