added products + cleanups

This commit is contained in:
Rushabh Mehta
2012-01-30 14:00:46 +05:30
parent 3a751e8f82
commit d6840b202a
26 changed files with 395 additions and 331 deletions

View File

@@ -5,16 +5,18 @@
{
'creation': '2010-08-08 17:09:06',
'docstatus': 0,
'modified': '2010-12-24 11:58:29',
'modified_by': 'abhishek@webnotestech.com',
'modified': '2012-01-30 12:14:30',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1322549700',
'allow_trash': 1,
'autoname': 'field:item_group_name',
'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType',
'document_type': 'Master',
'in_create': 1,
@@ -25,7 +27,7 @@
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 54
'version': 57
},
# These values are common for all DocField
@@ -59,7 +61,6 @@
'cancel': 0,
'create': 0,
'doctype': 'DocPerm',
'idx': 1,
'permlevel': 1,
'role': 'Material Manager',
'submit': 0,
@@ -72,7 +73,6 @@
'cancel': 0,
'create': 0,
'doctype': 'DocPerm',
'idx': 2,
'permlevel': 0,
'role': 'Material Manager',
'submit': 0,
@@ -85,7 +85,6 @@
'cancel': 0,
'create': 0,
'doctype': 'DocPerm',
'idx': 3,
'permlevel': 1,
'role': 'Material User',
'submit': 0,
@@ -98,7 +97,6 @@
'cancel': 0,
'create': 0,
'doctype': 'DocPerm',
'idx': 4,
'permlevel': 0,
'role': 'Material User',
'submit': 0,
@@ -110,7 +108,6 @@
'cancel': 1,
'create': 1,
'doctype': 'DocPerm',
'idx': 5,
'permlevel': 0,
'role': 'System Manager',
'write': 1
@@ -121,30 +118,16 @@
'cancel': 1,
'create': 1,
'doctype': 'DocPerm',
'idx': 6,
'permlevel': 0,
'role': 'Material Master Manager',
'write': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'trash_reason',
'fieldtype': 'Small Text',
'idx': 1,
'label': 'Trash Reason',
'oldfieldname': 'trash_reason',
'oldfieldtype': 'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'item_group_name',
'fieldtype': 'Data',
'idx': 2,
'label': 'Item Group Name',
'oldfieldname': 'item_group_name',
'oldfieldtype': 'Data',
@@ -152,24 +135,11 @@
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'show_in_catalogue',
'fieldtype': 'Check',
'idx': 3,
'label': 'Show in catalogue',
'oldfieldname': 'show_in_catalogue',
'oldfieldtype': 'Check',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'description',
'fieldtype': 'Text',
'idx': 4,
'label': 'Description',
'oldfieldname': 'description',
'oldfieldtype': 'Text',
@@ -182,7 +152,6 @@
'doctype': 'DocField',
'fieldname': 'parent_item_group',
'fieldtype': 'Link',
'idx': 5,
'label': 'Parent Item Group',
'oldfieldname': 'parent_item_group',
'oldfieldtype': 'Link',
@@ -199,7 +168,6 @@
'doctype': 'DocField',
'fieldname': 'is_group',
'fieldtype': 'Select',
'idx': 6,
'label': 'Has Child Node',
'oldfieldname': 'is_group',
'oldfieldtype': 'Select',
@@ -208,13 +176,23 @@
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'trash_reason',
'fieldtype': 'Small Text',
'label': 'Trash Reason',
'oldfieldname': 'trash_reason',
'oldfieldtype': 'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'lft',
'fieldtype': 'Int',
'hidden': 1,
'idx': 7,
'in_filter': 1,
'label': 'lft',
'no_copy': 1,
@@ -232,7 +210,6 @@
'fieldname': 'rgt',
'fieldtype': 'Int',
'hidden': 1,
'idx': 8,
'in_filter': 1,
'label': 'rgt',
'no_copy': 1,
@@ -248,13 +225,13 @@
{
'doctype': 'DocField',
'fieldname': 'old_parent',
'fieldtype': 'Data',
'fieldtype': 'Link',
'hidden': 1,
'idx': 9,
'label': 'old_parent',
'no_copy': 1,
'oldfieldname': 'old_parent',
'oldfieldtype': 'Data',
'options': 'Item Group',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1