[enhancement] Int, Currency, Float, Percent as not null and default to 0

This commit is contained in:
Anand Doshi
2015-11-16 19:05:46 +05:30
parent 06df19b56a
commit 602e8253be
251 changed files with 8406 additions and 4858 deletions

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Transaction",
"length": 0,
"no_copy": 0,
"oldfieldname": "transaction",
"oldfieldtype": "Select",
@@ -44,6 +45,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Based On",
"length": 0,
"no_copy": 0,
"oldfieldname": "based_on",
"oldfieldtype": "Select",
@@ -68,6 +70,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Customer or Item",
"length": 0,
"no_copy": 0,
"options": "Customer\nItem",
"permlevel": 0,
@@ -91,6 +94,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Customer / Item Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "master_name",
"oldfieldtype": "Link",
@@ -114,6 +118,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -136,6 +141,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Company",
"length": 0,
"no_copy": 0,
"oldfieldname": "company",
"oldfieldtype": "Link",
@@ -159,6 +165,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -181,6 +188,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Authorized Value",
"length": 0,
"no_copy": 0,
"oldfieldname": "value",
"oldfieldtype": "Currency",
@@ -203,6 +211,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -225,6 +234,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Applicable To (Role)",
"length": 0,
"no_copy": 0,
"oldfieldname": "system_role",
"oldfieldtype": "Link",
@@ -250,6 +260,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Applicable To (Employee)",
"length": 0,
"no_copy": 0,
"oldfieldname": "to_emp",
"oldfieldtype": "Link",
@@ -273,6 +284,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -295,6 +307,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Applicable To (User)",
"length": 0,
"no_copy": 0,
"oldfieldname": "system_user",
"oldfieldtype": "Link",
@@ -320,6 +333,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Applicable To (Designation)",
"length": 0,
"no_copy": 0,
"oldfieldname": "to_designation",
"oldfieldtype": "Link",
@@ -343,6 +357,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -365,6 +380,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Approving Role (above authorized value)",
"length": 0,
"no_copy": 0,
"oldfieldname": "approving_role",
"oldfieldtype": "Link",
@@ -388,6 +404,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -410,6 +427,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Approving User (above authorized value)",
"length": 0,
"no_copy": 0,
"oldfieldname": "approving_user",
"oldfieldtype": "Link",
@@ -433,7 +451,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-11-09 00:57:05.515494",
"max_attachments": 0,
"modified": "2015-11-16 06:29:42.164233",
"modified_by": "Administrator",
"module": "Setup",
"name": "Authorization Rule",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Brand Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "brand",
"oldfieldtype": "Data",
@@ -43,6 +44,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Description",
"length": 0,
"no_copy": 0,
"oldfieldname": "description",
"oldfieldtype": "Text",
@@ -66,7 +68,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:38:40.649074",
"max_attachments": 0,
"modified": "2015-11-16 06:29:43.008609",
"modified_by": "Administrator",
"module": "Setup",
"name": "Brand",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"permlevel": 0,
@@ -43,6 +44,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Company",
"length": 0,
"no_copy": 0,
"oldfieldname": "company_name",
"oldfieldtype": "Data",
@@ -67,6 +69,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Abbr",
"length": 0,
"no_copy": 0,
"oldfieldname": "abbr",
"oldfieldtype": "Data",
@@ -91,6 +94,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Change Abbreviation",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -111,6 +115,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -131,7 +136,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "Domain",
"label": "Domain",
"length": 0,
"no_copy": 0,
"options": "Distribution\nManufacturing\nRetail\nServices",
"permlevel": 0,
@@ -154,6 +160,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Values",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -175,6 +182,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Letter Head",
"length": 0,
"no_copy": 0,
"options": "Letter Head",
"permlevel": 0,
@@ -198,6 +206,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Holiday List",
"length": 0,
"no_copy": 0,
"options": "Holiday List",
"permlevel": 0,
@@ -221,6 +230,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Country",
"length": 0,
"no_copy": 0,
"options": "Country",
"permlevel": 0,
@@ -242,6 +252,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -264,6 +275,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Currency",
"length": 0,
"no_copy": 0,
"options": "Currency",
"permlevel": 0,
@@ -286,6 +298,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Chart of Accounts",
"length": 0,
"no_copy": 0,
"options": "",
"permlevel": 0,
@@ -308,6 +321,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Terms",
"length": 0,
"no_copy": 0,
"options": "Terms and Conditions",
"permlevel": 0,
@@ -331,6 +345,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Accounts Settings",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"permlevel": 0,
@@ -354,6 +369,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Bank Account",
"length": 0,
"no_copy": 1,
"oldfieldname": "default_bank_account",
"oldfieldtype": "Link",
@@ -379,6 +395,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Cash Account",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -402,6 +419,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Receivable Account",
"length": 0,
"no_copy": 1,
"oldfieldname": "receivables_group",
"oldfieldtype": "Link",
@@ -426,6 +444,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Round Off Account",
"length": 0,
"no_copy": 0,
"options": "Account",
"permlevel": 0,
@@ -448,6 +467,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"oldfieldtype": "Column Break",
"permlevel": 0,
@@ -472,6 +492,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Payable Account",
"length": 0,
"no_copy": 1,
"oldfieldname": "payables_group",
"oldfieldtype": "Link",
@@ -497,6 +518,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Cost of Goods Sold Account",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -520,6 +542,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Income Account",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -542,6 +565,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Round Off Cost Center",
"length": 0,
"no_copy": 0,
"options": "Cost Center",
"permlevel": 0,
@@ -564,6 +588,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -587,6 +612,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Cost Center",
"length": 0,
"no_copy": 1,
"options": "Cost Center",
"permlevel": 0,
@@ -608,7 +634,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Days Based On",
"label": "Credit Days Based On",
"length": 0,
"no_copy": 0,
"options": "\nFixed Days\nLast Day of the Next Month",
"permlevel": 0,
@@ -633,6 +660,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Days",
"length": 0,
"no_copy": 0,
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
@@ -657,6 +685,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Limit",
"length": 0,
"no_copy": 0,
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
@@ -680,6 +709,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -702,7 +732,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "If Yearly Budget Exceeded (for expense account)",
"label": "If Yearly Budget Exceeded (for expense account)",
"length": 0,
"no_copy": 0,
"oldfieldname": "yearly_bgt_flag",
"oldfieldtype": "Select",
@@ -727,7 +758,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "If Monthly Budget Exceeded (for expense account)",
"label": "If Monthly Budget Exceeded (for expense account)",
"length": 0,
"no_copy": 0,
"oldfieldname": "monthly_bgt_flag",
"oldfieldtype": "Select",
@@ -753,6 +785,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Stock Settings",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -774,6 +807,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Stock Received But Not Billed",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -796,6 +830,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Stock Adjustment Account",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -817,6 +852,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -839,6 +875,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Expenses Included In Valuation",
"length": 0,
"no_copy": 1,
"options": "Account",
"permlevel": 0,
@@ -862,6 +899,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Company Info",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -883,6 +921,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Address",
"length": 0,
"no_copy": 0,
"oldfieldname": "address",
"oldfieldtype": "Small Text",
@@ -905,6 +944,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"oldfieldtype": "Column Break",
"permlevel": 0,
@@ -928,6 +968,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Phone No",
"length": 0,
"no_copy": 0,
"oldfieldname": "phone_no",
"oldfieldtype": "Data",
@@ -952,6 +993,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Fax",
"length": 0,
"no_copy": 0,
"oldfieldname": "fax",
"oldfieldtype": "Data",
@@ -976,6 +1018,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Email",
"length": 0,
"no_copy": 0,
"oldfieldname": "email",
"oldfieldtype": "Data",
@@ -1000,6 +1043,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Website",
"length": 0,
"no_copy": 0,
"oldfieldname": "website",
"oldfieldtype": "Data",
@@ -1024,6 +1068,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"permlevel": 0,
@@ -1048,6 +1093,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Registration Details",
"length": 0,
"no_copy": 0,
"oldfieldname": "registration_details",
"oldfieldtype": "Code",
@@ -1071,6 +1117,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Delete Company Transactions",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -1092,7 +1139,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-13 09:15:29.028637",
"max_attachments": 0,
"modified": "2015-11-16 06:29:43.539356",
"modified_by": "Administrator",
"module": "Setup",
"name": "Company",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "From Currency",
"length": 0,
"no_copy": 0,
"options": "Currency",
"permlevel": 0,
@@ -42,6 +43,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "To Currency",
"length": 0,
"no_copy": 0,
"options": "Currency",
"permlevel": 0,
@@ -64,6 +66,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Exchange Rate",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "9",
@@ -85,7 +88,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:38:42.981242",
"max_attachments": 0,
"modified": "2015-11-16 06:29:44.028262",
"modified_by": "Administrator",
"module": "Setup",
"name": "Currency Exchange",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Customer Group Name",
"length": 0,
"no_copy": 1,
"oldfieldname": "customer_group_name",
"oldfieldtype": "Data",
@@ -44,6 +45,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Parent Customer Group",
"length": 0,
"no_copy": 0,
"oldfieldname": "parent_customer_group",
"oldfieldtype": "Link",
@@ -68,7 +70,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 1,
"label": "Has Child Node",
"label": "Has Child Node",
"length": 0,
"no_copy": 0,
"oldfieldname": "is_group",
"oldfieldtype": "Select",
@@ -92,6 +95,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -113,6 +117,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Price List",
"length": 0,
"no_copy": 0,
"options": "Price List",
"permlevel": 0,
@@ -134,7 +139,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Days Based On",
"label": "Credit Days Based On",
"length": 0,
"no_copy": 0,
"options": "\nFixed Days\nLast Day of the Next Month",
"permlevel": 0,
@@ -159,6 +165,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Days",
"length": 0,
"no_copy": 0,
"permlevel": 1,
"print_hide": 0,
@@ -180,6 +187,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Limit",
"length": 0,
"no_copy": 0,
"permlevel": 1,
"print_hide": 0,
@@ -201,6 +209,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "lft",
"length": 0,
"no_copy": 1,
"oldfieldname": "lft",
"oldfieldtype": "Int",
@@ -224,6 +233,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "rgt",
"length": 0,
"no_copy": 1,
"oldfieldname": "rgt",
"oldfieldtype": "Int",
@@ -248,6 +258,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "old_parent",
"length": 0,
"no_copy": 1,
"oldfieldname": "old_parent",
"oldfieldtype": "Data",
@@ -272,6 +283,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Receivable Account",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -295,6 +307,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Accounts",
"length": 0,
"no_copy": 0,
"options": "Party Account",
"permlevel": 0,
@@ -316,7 +329,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:38:43.817644",
"max_attachments": 0,
"modified": "2015-11-16 06:29:44.374615",
"modified_by": "Administrator",
"module": "Setup",
"name": "Customer Group",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Email Digest Settings",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -41,6 +42,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -62,6 +64,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Enabled",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -83,6 +86,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "For Company",
"length": 0,
"no_copy": 0,
"options": "Company",
"permlevel": 0,
@@ -104,7 +108,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 1,
"label": "How frequently?",
"label": "How frequently?",
"length": 0,
"no_copy": 0,
"options": "Daily\nWeekly\nMonthly",
"permlevel": 0,
@@ -128,6 +133,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Next email will be sent on:",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -148,6 +154,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -170,6 +177,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Recipients",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -191,6 +199,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Add/Remove Recipients",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -212,6 +221,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Accounts",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -233,6 +243,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Income / Expense",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -255,6 +266,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Income",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -277,6 +289,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Expense",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -299,6 +312,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Bank Balance",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -320,6 +334,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Annual Income",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -341,6 +356,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Annual Expense",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
@@ -364,6 +380,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Receivables / Payables",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -386,6 +403,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Receivables",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -408,6 +426,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Payables",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -428,7 +447,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-12 07:38:48.323418",
"max_attachments": 0,
"modified": "2015-11-16 06:29:46.135437",
"modified_by": "Administrator",
"module": "Setup",
"name": "Email Digest",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "General Settings",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -42,6 +43,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Item Group Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "item_group_name",
"oldfieldtype": "Data",
@@ -66,6 +68,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Parent Item Group",
"length": 0,
"no_copy": 0,
"oldfieldname": "parent_item_group",
"oldfieldtype": "Link",
@@ -90,7 +93,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 1,
"label": "Has Child Node",
"label": "Has Child Node",
"length": 0,
"no_copy": 0,
"oldfieldname": "is_group",
"oldfieldtype": "Select",
@@ -114,6 +118,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -135,6 +140,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Income Account",
"length": 0,
"no_copy": 0,
"options": "Account",
"permlevel": 0,
@@ -157,6 +163,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Expense Account",
"length": 0,
"no_copy": 0,
"options": "Account",
"permlevel": 0,
@@ -179,6 +186,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Cost Center",
"length": 0,
"no_copy": 0,
"options": "Cost Center",
"permlevel": 0,
@@ -201,6 +209,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Website Settings",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -223,6 +232,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Show in Website",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -245,6 +255,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Page Name",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -267,6 +278,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Parent Website Route",
"length": 0,
"no_copy": 0,
"options": "",
"permlevel": 0,
@@ -291,6 +303,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Slideshow",
"length": 0,
"no_copy": 0,
"options": "Website Slideshow",
"permlevel": 0,
@@ -315,6 +328,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Description",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -337,6 +351,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Website Specifications",
"length": 0,
"no_copy": 0,
"options": "Item Website Specification",
"permlevel": 0,
@@ -359,6 +374,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "lft",
"length": 0,
"no_copy": 1,
"oldfieldname": "lft",
"oldfieldtype": "Int",
@@ -382,6 +398,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "rgt",
"length": 0,
"no_copy": 1,
"oldfieldname": "rgt",
"oldfieldtype": "Int",
@@ -406,6 +423,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "old_parent",
"length": 0,
"no_copy": 1,
"oldfieldname": "old_parent",
"oldfieldtype": "Data",
@@ -430,7 +448,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 3,
"modified": "2015-10-02 07:38:53.048954",
"modified": "2015-11-16 06:29:48.316308",
"modified_by": "Administrator",
"module": "Setup",
"name": "Item Group",

View File

@@ -111,7 +111,7 @@ def get_parent_item_groups(item_group_name):
item_group = frappe.get_doc("Item Group", item_group_name)
return frappe.db.sql("""select name, page_name from `tabItem Group`
where lft <= %s and rgt >= %s
and ifnull(show_in_website,0)=1
and show_in_website=1
order by lft asc""", (item_group.lft, item_group.rgt), as_dict=True)
def invalidate_cache_for(doc, item_group=None):

View File

@@ -20,6 +20,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Print Heading",
"length": 0,
"no_copy": 0,
"oldfieldname": "print_heading",
"oldfieldtype": "Data",
@@ -43,6 +44,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Description",
"length": 0,
"no_copy": 0,
"oldfieldname": "description",
"oldfieldtype": "Small Text",
@@ -66,7 +68,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:01.094104",
"max_attachments": 0,
"modified": "2015-11-16 06:29:52.194195",
"modified_by": "Administrator",
"module": "Setup",
"name": "Print Heading",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Quotation Lost Reason",
"length": 0,
"no_copy": 0,
"oldfieldname": "order_lost_reason",
"oldfieldtype": "Data",
@@ -42,7 +43,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:07.868834",
"max_attachments": 0,
"modified": "2015-11-16 06:29:55.325868",
"modified_by": "Administrator",
"module": "Setup",
"name": "Quotation Lost Reason",

View File

@@ -21,6 +21,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "Sales Partner Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "partner_name",
"oldfieldtype": "Data",
@@ -44,6 +45,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Partner Type",
"length": 0,
"no_copy": 0,
"oldfieldname": "partner_type",
"oldfieldtype": "Select",
@@ -69,6 +71,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Territory",
"length": 0,
"no_copy": 0,
"options": "Territory",
"permlevel": 0,
@@ -90,6 +93,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"oldfieldtype": "Column Break",
"permlevel": 0,
@@ -113,6 +117,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Commission Rate",
"length": 0,
"no_copy": 0,
"oldfieldname": "commission_rate",
"oldfieldtype": "Currency",
@@ -136,6 +141,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Address & Contacts",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -158,6 +164,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Address Desc",
"length": 0,
"no_copy": 0,
"options": "<em>Addresses will appear only when you save the customer</em>",
"permlevel": 0,
@@ -180,6 +187,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Address HTML",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -200,6 +208,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -222,6 +231,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Contact Desc",
"length": 0,
"no_copy": 0,
"options": "<em>Contact Details will appear only when you save the customer</em>",
"permlevel": 0,
@@ -244,6 +254,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Contact HTML",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -265,6 +276,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Sales Partner Target",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"permlevel": 0,
@@ -287,6 +299,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Targets",
"length": 0,
"no_copy": 0,
"oldfieldname": "partner_target_details",
"oldfieldtype": "Table",
@@ -312,6 +325,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Target Distribution",
"length": 0,
"no_copy": 0,
"oldfieldname": "distribution_id",
"oldfieldtype": "Link",
@@ -336,6 +350,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Website",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -357,6 +372,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Show In Website",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -378,6 +394,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -399,6 +416,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Logo",
"length": 0,
"no_copy": 0,
"options": "",
"permlevel": 0,
@@ -421,6 +439,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Partner's Website",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -441,6 +460,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -462,6 +482,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Page Name",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -483,6 +504,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -504,6 +526,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Introduction",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -525,6 +548,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Description",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -547,6 +571,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Parent Website Route",
"length": 0,
"no_copy": 0,
"options": "",
"permlevel": 0,
@@ -568,7 +593,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-19 03:04:48.999751",
"max_attachments": 0,
"modified": "2015-11-16 06:29:57.096980",
"modified_by": "Administrator",
"module": "Setup",
"name": "Sales Partner",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Name and Employee ID",
"length": 0,
"no_copy": 0,
"options": "icon-user",
"permlevel": 0,
@@ -43,6 +44,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Sales Person Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "sales_person_name",
"oldfieldtype": "Data",
@@ -67,6 +69,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Parent Sales Person",
"length": 0,
"no_copy": 0,
"oldfieldname": "parent_sales_person",
"oldfieldtype": "Link",
@@ -90,7 +93,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 1,
"label": "Has Child Node",
"label": "Has Child Node",
"length": 0,
"no_copy": 0,
"oldfieldname": "is_group",
"oldfieldtype": "Select",
@@ -114,6 +118,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -135,6 +140,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Employee",
"length": 0,
"no_copy": 0,
"options": "Employee",
"permlevel": 0,
@@ -157,6 +163,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "lft",
"length": 0,
"no_copy": 1,
"oldfieldname": "lft",
"oldfieldtype": "Int",
@@ -180,6 +187,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "rgt",
"length": 0,
"no_copy": 1,
"oldfieldname": "rgt",
"oldfieldtype": "Int",
@@ -203,6 +211,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "old_parent",
"length": 0,
"no_copy": 1,
"oldfieldname": "old_parent",
"oldfieldtype": "Data",
@@ -227,6 +236,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Sales Person Targets",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"options": "icon-bullseye",
@@ -250,6 +260,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Targets",
"length": 0,
"no_copy": 0,
"oldfieldname": "target_details",
"oldfieldtype": "Table",
@@ -275,6 +286,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Target Distribution",
"length": 0,
"no_copy": 0,
"oldfieldname": "distribution_id",
"oldfieldtype": "Link",
@@ -299,6 +311,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Communications",
"length": 0,
"no_copy": 0,
"options": "Communication",
"permlevel": 0,
@@ -320,7 +333,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:11.827879",
"max_attachments": 0,
"modified": "2015-11-16 06:29:57.194163",
"modified_by": "Administrator",
"module": "Setup",
"name": "Sales Person",

View File

@@ -18,6 +18,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Parameter",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -41,6 +42,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Value",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -62,7 +64,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-10-02 07:39:13.345489",
"max_attachments": 0,
"modified": "2015-11-16 06:29:57.845086",
"modified_by": "Administrator",
"module": "Setup",
"name": "SMS Parameter",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Supplier Type",
"length": 0,
"no_copy": 0,
"oldfieldname": "supplier_type",
"oldfieldtype": "Data",
@@ -43,6 +44,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Credit Days",
"length": 0,
"no_copy": 0,
"permlevel": 1,
"print_hide": 0,
@@ -64,6 +66,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Default Payable Account",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -87,6 +90,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Accounts",
"length": 0,
"no_copy": 0,
"options": "Party Account",
"permlevel": 0,
@@ -108,7 +112,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:15.811805",
"max_attachments": 0,
"modified": "2015-11-16 06:29:58.970888",
"modified_by": "Administrator",
"module": "Setup",
"name": "Supplier Type",

View File

@@ -19,6 +19,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Item Group",
"length": 0,
"no_copy": 0,
"oldfieldname": "item_group",
"oldfieldtype": "Link",
@@ -43,6 +44,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Fiscal Year",
"length": 0,
"no_copy": 0,
"oldfieldname": "fiscal_year",
"oldfieldtype": "Select",
@@ -67,6 +69,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Target Qty",
"length": 0,
"no_copy": 0,
"oldfieldname": "target_qty",
"oldfieldtype": "Currency",
@@ -90,6 +93,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Target Amount",
"length": 0,
"no_copy": 0,
"oldfieldname": "target_amount",
"oldfieldtype": "Currency",
@@ -111,7 +115,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-10-02 07:39:15.903411",
"max_attachments": 0,
"modified": "2015-11-16 06:29:59.015624",
"modified_by": "Administrator",
"module": "Setup",
"name": "Target Detail",

View File

@@ -21,6 +21,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "Title",
"length": 0,
"no_copy": 1,
"oldfieldname": "title",
"oldfieldtype": "Data",
@@ -44,6 +45,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Terms and Conditions",
"length": 0,
"no_copy": 0,
"oldfieldname": "terms",
"oldfieldtype": "Text Editor",
@@ -66,7 +68,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:16.489390",
"max_attachments": 0,
"modified": "2015-11-16 06:29:59.292943",
"modified_by": "Administrator",
"module": "Setup",
"name": "Terms and Conditions",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Territory Name",
"length": 0,
"no_copy": 1,
"oldfieldname": "territory_name",
"oldfieldtype": "Data",
@@ -45,6 +46,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Parent Territory",
"length": 0,
"no_copy": 0,
"oldfieldname": "parent_territory",
"oldfieldtype": "Link",
@@ -69,7 +71,8 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 1,
"label": "Has Child Node",
"label": "Has Child Node",
"length": 0,
"no_copy": 0,
"oldfieldname": "is_group",
"oldfieldtype": "Select",
@@ -93,6 +96,7 @@
"ignore_user_permissions": 0,
"in_filter": 0,
"in_list_view": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -115,6 +119,7 @@
"in_filter": 1,
"in_list_view": 1,
"label": "Territory Manager",
"length": 0,
"no_copy": 0,
"oldfieldname": "territory_manager",
"oldfieldtype": "Link",
@@ -139,6 +144,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "lft",
"length": 0,
"no_copy": 1,
"oldfieldname": "lft",
"oldfieldtype": "Int",
@@ -162,6 +168,7 @@
"in_filter": 1,
"in_list_view": 0,
"label": "rgt",
"length": 0,
"no_copy": 1,
"oldfieldname": "rgt",
"oldfieldtype": "Int",
@@ -186,6 +193,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "old_parent",
"length": 0,
"no_copy": 1,
"oldfieldname": "old_parent",
"oldfieldtype": "Data",
@@ -211,6 +219,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Territory Targets",
"length": 0,
"no_copy": 0,
"oldfieldtype": "Section Break",
"permlevel": 0,
@@ -233,6 +242,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Targets",
"length": 0,
"no_copy": 0,
"oldfieldname": "target_details",
"oldfieldtype": "Table",
@@ -258,6 +268,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Target Distribution",
"length": 0,
"no_copy": 0,
"oldfieldname": "distribution_id",
"oldfieldtype": "Link",
@@ -281,7 +292,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:16.582674",
"max_attachments": 0,
"modified": "2015-11-16 06:29:59.337250",
"modified_by": "Administrator",
"module": "Setup",
"name": "Territory",

View File

@@ -20,6 +20,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "UOM Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "uom_name",
"oldfieldtype": "Data",
@@ -44,6 +45,7 @@
"in_filter": 0,
"in_list_view": 0,
"label": "Must be Whole Number",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
@@ -64,7 +66,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 0,
"modified": "2015-10-02 07:39:17.551613",
"max_attachments": 0,
"modified": "2015-11-16 06:29:59.741239",
"modified_by": "Administrator",
"module": "Setup",
"name": "UOM",

View File

@@ -21,6 +21,7 @@
"in_filter": 0,
"in_list_view": 1,
"label": "Item Group",
"length": 0,
"no_copy": 0,
"options": "Item Group",
"permlevel": 0,
@@ -41,7 +42,8 @@
"is_submittable": 0,
"issingle": 0,
"istable": 1,
"modified": "2015-10-02 07:39:19.409021",
"max_attachments": 0,
"modified": "2015-11-16 06:30:00.586322",
"modified_by": "Administrator",
"module": "Setup",
"name": "Website Item Group",