page break allow_on_submit

This commit is contained in:
Nabin Hait 2011-10-12 13:16:11 +05:30
parent ee9efb568b
commit c7cf94ec7b
4 changed files with 102 additions and 157 deletions

View File

@ -5,16 +5,17 @@
{ {
'creation': '2010-08-08 17:09:04', 'creation': '2010-08-08 17:09:04',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-05-04 14:53:17', 'modified': '2011-10-12 13:09:38',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
# These values are common for all DocType # These values are common for all DocType
{ {
'_last_update': '1304500997', '_last_update': '1318404775',
'allow_print': 0, 'allow_print': 0,
'colour': 'White:FFF', 'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType', 'doctype': 'DocType',
'module': 'Buying', 'module': 'Buying',
'name': '__common__', 'name': '__common__',
@ -24,7 +25,7 @@
'server_code_error': ' ', 'server_code_error': ' ',
'show_in_menu': 0, 'show_in_menu': 0,
'subject': '%(per_ordered)s% ordered', 'subject': '%(per_ordered)s% ordered',
'version': 186 'version': 188
}, },
# These values are common for all DocField # These values are common for all DocField
@ -52,13 +53,24 @@
'name': 'Indent' 'name': 'Indent'
}, },
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': 'DocPerm',
'permlevel': 0,
'role': 'Production Manager',
'submit': 1,
'write': 1
},
# DocPerm # DocPerm
{ {
'amend': 0, 'amend': 0,
'cancel': 0, 'cancel': 0,
'create': 0, 'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 1,
'permlevel': 1, 'permlevel': 1,
'role': 'Purchase Manager', 'role': 'Purchase Manager',
'submit': 0, 'submit': 0,
@ -71,7 +83,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 2,
'permlevel': 0, 'permlevel': 0,
'role': 'Purchase Manager', 'role': 'Purchase Manager',
'submit': 1, 'submit': 1,
@ -84,7 +95,6 @@
'cancel': 0, 'cancel': 0,
'create': 0, 'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 3,
'permlevel': 1, 'permlevel': 1,
'role': 'Material Manager', 'role': 'Material Manager',
'submit': 0, 'submit': 0,
@ -97,7 +107,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 4,
'permlevel': 0, 'permlevel': 0,
'role': 'Material Manager', 'role': 'Material Manager',
'submit': 1, 'submit': 1,
@ -110,7 +119,6 @@
'cancel': 0, 'cancel': 0,
'create': 0, 'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 5,
'permlevel': 1, 'permlevel': 1,
'role': 'Material User', 'role': 'Material User',
'submit': 0, 'submit': 0,
@ -123,7 +131,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 6,
'permlevel': 0, 'permlevel': 0,
'role': 'Material User', 'role': 'Material User',
'submit': 1, 'submit': 1,
@ -136,7 +143,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 7,
'permlevel': 0, 'permlevel': 0,
'role': 'Purchase User', 'role': 'Purchase User',
'submit': 1, 'submit': 1,
@ -145,10 +151,14 @@
# DocPerm # DocPerm
{ {
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 8,
'permlevel': 1, 'permlevel': 1,
'role': 'Purchase User' 'role': 'Purchase User',
'submit': 0,
'write': 0
}, },
# DocField # DocField
@ -158,7 +168,6 @@
'description': 'Enter items and their details for which you want your purchase department to raise a purchase order.', 'description': 'Enter items and their details for which you want your purchase department to raise a purchase order.',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 1,
'label': 'Basic Info', 'label': 'Basic Info',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0, 'permlevel': 0,
@ -169,7 +178,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 2,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'print_hide': 0, 'print_hide': 0,
@ -183,7 +191,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'naming_series', 'fieldname': 'naming_series',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 3,
'label': 'Series', 'label': 'Series',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'naming_series', 'oldfieldname': 'naming_series',
@ -199,7 +206,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'status', 'fieldname': 'status',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 4,
'in_filter': 1, 'in_filter': 1,
'label': 'Status', 'label': 'Status',
'no_copy': 1, 'no_copy': 1,
@ -216,7 +222,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 5,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -229,7 +234,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'transaction_date', 'fieldname': 'transaction_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 6,
'in_filter': 1, 'in_filter': 1,
'label': 'Indent Date', 'label': 'Indent Date',
'no_copy': 1, 'no_copy': 1,
@ -249,7 +253,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'per_ordered', 'fieldname': 'per_ordered',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 7,
'label': '% Ordered', 'label': '% Ordered',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'per_ordered', 'oldfieldname': 'per_ordered',
@ -262,7 +265,6 @@
'colour': 'White:FFF', 'colour': 'White:FFF',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 8,
'label': 'Items', 'label': 'Items',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -275,14 +277,12 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'sales_order_no', 'fieldname': 'sales_order_no',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 9,
'label': 'Sales Order No', 'label': 'Sales Order No',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'sales_order_no', 'oldfieldname': 'sales_order_no',
'oldfieldtype': 'Data', 'oldfieldtype': 'Data',
'options': 'Sales Order', 'options': 'Sales Order',
'permlevel': 0, 'permlevel': 0,
'search_index': 0,
'width': '100px' 'width': '100px'
}, },
@ -290,7 +290,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 10,
'label': 'Pull Sales Order Details', 'label': 'Pull Sales Order Details',
'options': 'pull_so_details', 'options': 'pull_so_details',
'permlevel': 0 'permlevel': 0
@ -298,10 +297,11 @@
# DocField # DocField
{ {
'allow_on_submit': 1,
'colour': 'White:FFF',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'indent_details', 'fieldname': 'indent_details',
'fieldtype': 'Table', 'fieldtype': 'Table',
'idx': 11,
'label': 'Indent Details', 'label': 'Indent Details',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'indent_details', 'oldfieldname': 'indent_details',
@ -317,7 +317,6 @@
'description': 'Filing in Additional Information about the Indent will help you analyze your data better.', 'description': 'Filing in Additional Information about the Indent will help you analyze your data better.',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 12,
'label': 'More Info', 'label': 'More Info',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -330,7 +329,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'company', 'fieldname': 'company',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 13,
'in_filter': 1, 'in_filter': 1,
'label': 'Company', 'label': 'Company',
'oldfieldname': 'company', 'oldfieldname': 'company',
@ -339,7 +337,7 @@
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
'reqd': 1, 'reqd': 1,
'search_index': 0, 'search_index': 1,
'width': '150px' 'width': '150px'
}, },
@ -349,7 +347,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'fiscal_year', 'fieldname': 'fiscal_year',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 14,
'in_filter': 1, 'in_filter': 1,
'label': 'Fiscal Year', 'label': 'Fiscal Year',
'oldfieldname': 'fiscal_year', 'oldfieldname': 'fiscal_year',
@ -358,7 +355,7 @@
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
'reqd': 1, 'reqd': 1,
'search_index': 0, 'search_index': 1,
'width': '150px' 'width': '150px'
}, },
@ -369,7 +366,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'requested_by', 'fieldname': 'requested_by',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 15,
'label': 'Requested By', 'label': 'Requested By',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'requested_by', 'oldfieldname': 'requested_by',
@ -382,7 +378,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 16,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -393,7 +388,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'remark', 'fieldname': 'remark',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'idx': 17,
'label': 'Remarks', 'label': 'Remarks',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'remark', 'oldfieldname': 'remark',
@ -410,7 +404,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'cancel_reason', 'fieldname': 'cancel_reason',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 18,
'label': 'Cancel Reason', 'label': 'Cancel Reason',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'cancel_reason', 'oldfieldname': 'cancel_reason',
@ -424,7 +417,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'amended_from', 'fieldname': 'amended_from',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 19,
'label': 'Amended From', 'label': 'Amended From',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'amended_from', 'oldfieldname': 'amended_from',
@ -440,7 +432,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'amendment_date', 'fieldname': 'amendment_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 20,
'label': 'Amendment Date', 'label': 'Amendment Date',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'amendment_date', 'oldfieldname': 'amendment_date',
@ -455,7 +446,6 @@
'description': 'Add Terms and Conditions for the Indent. You can also prepare a master Term Sheet and use the Template', 'description': 'Add Terms and Conditions for the Indent. You can also prepare a master Term Sheet and use the Template',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 21,
'label': 'Terms', 'label': 'Terms',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -467,7 +457,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'letter_head', 'fieldname': 'letter_head',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 22,
'label': 'Letter Head', 'label': 'Letter Head',
'oldfieldname': 'letter_head', 'oldfieldname': 'letter_head',
'oldfieldtype': 'Select', 'oldfieldtype': 'Select',
@ -481,22 +470,19 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'tc_name', 'fieldname': 'tc_name',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 23,
'label': 'Select Terms', 'label': 'Select Terms',
'oldfieldname': 'tc_name', 'oldfieldname': 'tc_name',
'oldfieldtype': 'Link', 'oldfieldtype': 'Link',
'options': 'Term', 'options': 'Term',
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
'report_hide': 1, 'report_hide': 1
'search_index': 0
}, },
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 24,
'label': 'Get Terms', 'label': 'Get Terms',
'oldfieldtype': 'Button', 'oldfieldtype': 'Button',
'options': 'get_tc_details', 'options': 'get_tc_details',
@ -507,7 +493,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'HTML', 'fieldtype': 'HTML',
'idx': 25,
'label': 'Terms HTML', 'label': 'Terms HTML',
'oldfieldtype': 'HTML', 'oldfieldtype': 'HTML',
'options': 'You can add Terms and Notes that will be printed in the Transaction', 'options': 'You can add Terms and Notes that will be printed in the Transaction',
@ -520,7 +505,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'terms', 'fieldname': 'terms',
'fieldtype': 'Text Editor', 'fieldtype': 'Text Editor',
'idx': 26,
'label': 'Terms1', 'label': 'Terms1',
'oldfieldname': 'terms', 'oldfieldname': 'terms',
'oldfieldtype': 'Text Editor', 'oldfieldtype': 'Text Editor',
@ -531,7 +515,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 27,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'print_hide': 1 'print_hide': 1
@ -543,7 +526,6 @@
'colour': 'White:FFF', 'colour': 'White:FFF',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 28,
'label': 'Repair Indent', 'label': 'Repair Indent',
'oldfieldtype': 'Button', 'oldfieldtype': 'Button',
'options': 'repair_indent', 'options': 'repair_indent',

View File

@ -5,7 +5,7 @@
{ {
'creation': '2010-08-08 17:09:04', 'creation': '2010-08-08 17:09:04',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-05-04 14:41:43', 'modified': '2011-10-12 13:02:13',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
@ -14,6 +14,7 @@
{ {
'autoname': 'IDTD/.#####', 'autoname': 'IDTD/.#####',
'colour': 'White:FFF', 'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType', 'doctype': 'DocType',
'istable': 1, 'istable': 1,
'module': 'Buying', 'module': 'Buying',
@ -21,7 +22,7 @@
'section_style': 'Tray', 'section_style': 'Tray',
'server_code_error': ' ', 'server_code_error': ' ',
'show_in_menu': 0, 'show_in_menu': 0,
'version': 29 'version': 34
}, },
# These values are common for all DocField # These values are common for all DocField
@ -44,7 +45,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'schedule_date', 'fieldname': 'schedule_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 1,
'label': 'Required Date', 'label': 'Required Date',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'schedule_date', 'oldfieldname': 'schedule_date',
@ -60,7 +60,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'item_code', 'fieldname': 'item_code',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 2,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Code', 'label': 'Item Code',
'oldfieldname': 'item_code', 'oldfieldname': 'item_code',
@ -78,14 +77,13 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'item_name', 'fieldname': 'item_name',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 3,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Name', 'label': 'Item Name',
'oldfieldname': 'item_name', 'oldfieldname': 'item_name',
'oldfieldtype': 'Data', 'oldfieldtype': 'Data',
'permlevel': 0, 'permlevel': 0,
'reqd': 1, 'reqd': 1,
'search_index': 0, 'search_index': 1,
'width': '100px' 'width': '100px'
}, },
@ -94,7 +92,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'description', 'fieldname': 'description',
'fieldtype': 'Text', 'fieldtype': 'Text',
'idx': 4,
'label': 'Description', 'label': 'Description',
'oldfieldname': 'description', 'oldfieldname': 'description',
'oldfieldtype': 'Text', 'oldfieldtype': 'Text',
@ -108,7 +105,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'warehouse', 'fieldname': 'warehouse',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 5,
'label': 'Warehouse', 'label': 'Warehouse',
'oldfieldname': 'warehouse', 'oldfieldname': 'warehouse',
'oldfieldtype': 'Link', 'oldfieldtype': 'Link',
@ -125,14 +121,12 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'brand', 'fieldname': 'brand',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 6,
'label': 'Brand', 'label': 'Brand',
'oldfieldname': 'brand', 'oldfieldname': 'brand',
'oldfieldtype': 'Link', 'oldfieldtype': 'Link',
'options': 'Brand', 'options': 'Brand',
'permlevel': 1, 'permlevel': 1,
'print_hide': 1, 'print_hide': 1,
'search_index': 0,
'width': '100px' 'width': '100px'
}, },
@ -142,7 +136,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'item_group', 'fieldname': 'item_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 7,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Group', 'label': 'Item Group',
'no_copy': 0, 'no_copy': 0,
@ -152,7 +145,7 @@
'permlevel': 1, 'permlevel': 1,
'print_hide': 1, 'print_hide': 1,
'reqd': 0, 'reqd': 0,
'search_index': 0 'search_index': 1
}, },
# DocField # DocField
@ -162,7 +155,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'qty', 'fieldname': 'qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 8,
'label': 'Quantity', 'label': 'Quantity',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'qty', 'oldfieldname': 'qty',
@ -178,7 +170,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'lead_time_date', 'fieldname': 'lead_time_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 9,
'label': 'Lead Time Date', 'label': 'Lead Time Date',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'lead_time_date', 'oldfieldname': 'lead_time_date',
@ -192,7 +183,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'uom', 'fieldname': 'uom',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 10,
'label': 'Stock UOM', 'label': 'Stock UOM',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'uom', 'oldfieldname': 'uom',
@ -200,7 +190,6 @@
'options': 'UOM', 'options': 'UOM',
'permlevel': 1, 'permlevel': 1,
'reqd': 1, 'reqd': 1,
'search_index': 0,
'width': '50px' 'width': '50px'
}, },
@ -209,7 +198,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'min_order_qty', 'fieldname': 'min_order_qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 11,
'label': 'Min Order Qty', 'label': 'Min Order Qty',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'min_order_qty', 'oldfieldname': 'min_order_qty',
@ -225,7 +213,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'projected_qty', 'fieldname': 'projected_qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 12,
'label': 'Projected Qty', 'label': 'Projected Qty',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'projected_qty', 'oldfieldname': 'projected_qty',
@ -240,7 +227,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'ordered_qty', 'fieldname': 'ordered_qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 13,
'label': 'Ordered Qty', 'label': 'Ordered Qty',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'ordered_qty', 'oldfieldname': 'ordered_qty',
@ -253,9 +239,9 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'sales_order_no', 'fieldname': 'sales_order_no',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 14,
'label': 'Sales Order No', 'label': 'Sales Order No',
'no_copy': 1, 'no_copy': 1,
'options': 'Sales Order',
'permlevel': 1, 'permlevel': 1,
'print_hide': 1 'print_hide': 1
}, },
@ -266,7 +252,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'page_break', 'fieldname': 'page_break',
'fieldtype': 'Check', 'fieldtype': 'Check',
'idx': 15,
'label': 'Page Break', 'label': 'Page Break',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'page_break', 'oldfieldname': 'page_break',

View File

@ -5,8 +5,8 @@
{ {
'creation': '2010-08-08 17:09:12', 'creation': '2010-08-08 17:09:12',
'docstatus': 0, 'docstatus': 0,
'modified': '2010-11-12 16:53:30', 'modified': '2011-10-12 13:01:05',
'modified_by': 'sneha@webnotestech.com', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
@ -14,6 +14,7 @@
{ {
'autoname': 'POD/.#####', 'autoname': 'POD/.#####',
'colour': 'White:FFF', 'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType', 'doctype': 'DocType',
'istable': 1, 'istable': 1,
'module': 'Buying', 'module': 'Buying',
@ -21,7 +22,7 @@
'section_style': 'Tray', 'section_style': 'Tray',
'server_code_error': ' ', 'server_code_error': ' ',
'show_in_menu': 0, 'show_in_menu': 0,
'version': 46 'version': 53
}, },
# These values are common for all DocField # These values are common for all DocField
@ -45,7 +46,6 @@
'fieldname': 'schedule_date', 'fieldname': 'schedule_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'hidden': 0, 'hidden': 0,
'idx': 1,
'in_filter': 1, 'in_filter': 1,
'label': 'Reqd By Date', 'label': 'Reqd By Date',
'no_copy': 1, 'no_copy': 1,
@ -54,7 +54,7 @@
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
'reqd': 1, 'reqd': 1,
'search_index': 0 'search_index': 1
}, },
# DocField # DocField
@ -62,7 +62,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'item_code', 'fieldname': 'item_code',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 2,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Code', 'label': 'Item Code',
'oldfieldname': 'item_code', 'oldfieldname': 'item_code',
@ -81,7 +80,6 @@
'fieldname': 'item_name', 'fieldname': 'item_name',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 0, 'hidden': 0,
'idx': 3,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Name', 'label': 'Item Name',
'oldfieldname': 'item_name', 'oldfieldname': 'item_name',
@ -89,7 +87,7 @@
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
'reqd': 1, 'reqd': 1,
'search_index': 0 'search_index': 1
}, },
# DocField # DocField
@ -97,7 +95,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'description', 'fieldname': 'description',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'idx': 4,
'label': 'Description', 'label': 'Description',
'oldfieldname': 'description', 'oldfieldname': 'description',
'oldfieldtype': 'Small Text', 'oldfieldtype': 'Small Text',
@ -106,13 +103,43 @@
'width': '300px' 'width': '300px'
}, },
# DocField
{
'default': '0.00',
'doctype': 'DocField',
'fieldname': 'qty',
'fieldtype': 'Currency',
'label': 'Quantity',
'oldfieldname': 'qty',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1,
'trigger': 'Client',
'width': '60px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'uom',
'fieldtype': 'Link',
'label': 'UOM',
'oldfieldname': 'uom',
'oldfieldtype': 'Link',
'options': 'UOM',
'permlevel': 0,
'print_hide': 0,
'reqd': 1,
'trigger': 'Client',
'width': '100px'
},
# DocField # DocField
{ {
'default': '0.00', 'default': '0.00',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'purchase_rate', 'fieldname': 'purchase_rate',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 7,
'label': 'Rate (Default Curr.)', 'label': 'Rate (Default Curr.)',
'oldfieldname': 'purchase_rate', 'oldfieldname': 'purchase_rate',
'oldfieldtype': 'Currency', 'oldfieldtype': 'Currency',
@ -129,7 +156,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'amount', 'fieldname': 'amount',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 8,
'label': 'Amount (Default Curr.)', 'label': 'Amount (Default Curr.)',
'oldfieldname': 'amount', 'oldfieldname': 'amount',
'oldfieldtype': 'Currency', 'oldfieldtype': 'Currency',
@ -138,29 +164,12 @@
'reqd': 1 'reqd': 1
}, },
# DocField
{
'default': '0.00',
'doctype': 'DocField',
'fieldname': 'qty',
'fieldtype': 'Currency',
'idx': 9,
'label': 'Quantity',
'oldfieldname': 'qty',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1,
'trigger': 'Client',
'width': '60px'
},
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'import_rate', 'fieldname': 'import_rate',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'hidden': 0, 'hidden': 0,
'idx': 9,
'label': 'Rate', 'label': 'Rate',
'oldfieldname': 'import_rate', 'oldfieldname': 'import_rate',
'oldfieldtype': 'Currency', 'oldfieldtype': 'Currency',
@ -169,30 +178,11 @@
'trigger': 'Client' 'trigger': 'Client'
}, },
# DocField
{
'doctype': 'DocField',
'fieldname': 'uom',
'fieldtype': 'Link',
'idx': 10,
'label': 'UOM',
'oldfieldname': 'uom',
'oldfieldtype': 'Link',
'options': 'UOM',
'permlevel': 0,
'print_hide': 0,
'reqd': 1,
'search_index': 0,
'trigger': 'Client',
'width': '100px'
},
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'import_amount', 'fieldname': 'import_amount',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 10,
'label': 'Amount', 'label': 'Amount',
'oldfieldname': 'import_amount', 'oldfieldname': 'import_amount',
'oldfieldtype': 'Currency', 'oldfieldtype': 'Currency',
@ -205,7 +195,6 @@
'fieldname': 'warehouse', 'fieldname': 'warehouse',
'fieldtype': 'Link', 'fieldtype': 'Link',
'hidden': 0, 'hidden': 0,
'idx': 11,
'label': 'Warehouse', 'label': 'Warehouse',
'oldfieldname': 'warehouse', 'oldfieldname': 'warehouse',
'oldfieldtype': 'Link', 'oldfieldtype': 'Link',
@ -223,7 +212,6 @@
'fieldname': 'conversion_factor', 'fieldname': 'conversion_factor',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'hidden': 0, 'hidden': 0,
'idx': 11,
'label': 'Conversion Factor', 'label': 'Conversion Factor',
'oldfieldname': 'conversion_factor', 'oldfieldname': 'conversion_factor',
'oldfieldtype': 'Currency', 'oldfieldtype': 'Currency',
@ -238,16 +226,17 @@
{ {
'colour': 'White:FFF', 'colour': 'White:FFF',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'prevdoc_doctype', 'fieldname': 'stock_qty',
'fieldtype': 'Data', 'fieldtype': 'Currency',
'hidden': 1, 'hidden': 0,
'idx': 12, 'label': 'Stock Qty',
'label': 'Prevdoc DocType', 'no_copy': 1,
'no_copy': 0, 'oldfieldname': 'stock_qty',
'oldfieldname': 'prevdoc_doctype', 'oldfieldtype': 'Currency',
'oldfieldtype': 'Data', 'permlevel': 0,
'permlevel': 1, 'print_hide': 1,
'print_hide': 1 'trigger': 'Client',
'width': '100px'
}, },
# DocField # DocField
@ -256,7 +245,6 @@
'fieldname': 'stock_uom', 'fieldname': 'stock_uom',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 0, 'hidden': 0,
'idx': 12,
'label': 'Stock UOM', 'label': 'Stock UOM',
'oldfieldname': 'stock_uom', 'oldfieldname': 'stock_uom',
'oldfieldtype': 'Data', 'oldfieldtype': 'Data',
@ -266,6 +254,21 @@
'width': '100px' 'width': '100px'
}, },
# DocField
{
'colour': 'White:FFF',
'doctype': 'DocField',
'fieldname': 'prevdoc_doctype',
'fieldtype': 'Data',
'hidden': 1,
'label': 'Prevdoc DocType',
'no_copy': 0,
'oldfieldname': 'prevdoc_doctype',
'oldfieldtype': 'Data',
'permlevel': 1,
'print_hide': 1
},
# DocField # DocField
{ {
'colour': 'White:FFF', 'colour': 'White:FFF',
@ -273,7 +276,6 @@
'fieldname': 'prevdoc_docname', 'fieldname': 'prevdoc_docname',
'fieldtype': 'Link', 'fieldtype': 'Link',
'hidden': 0, 'hidden': 0,
'idx': 13,
'in_filter': 1, 'in_filter': 1,
'label': 'Indent No', 'label': 'Indent No',
'no_copy': 0, 'no_copy': 0,
@ -292,7 +294,6 @@
'fieldname': 'prevdoc_date', 'fieldname': 'prevdoc_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'hidden': 0, 'hidden': 0,
'idx': 14,
'in_filter': 1, 'in_filter': 1,
'label': 'Indent Date', 'label': 'Indent Date',
'oldfieldname': 'prevdoc_date', 'oldfieldname': 'prevdoc_date',
@ -309,7 +310,6 @@
'fieldname': 'prevdoc_detail_docname', 'fieldname': 'prevdoc_detail_docname',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 1, 'hidden': 1,
'idx': 15,
'in_filter': 1, 'in_filter': 1,
'label': 'Indent Detail No', 'label': 'Indent Detail No',
'no_copy': 0, 'no_copy': 0,
@ -326,14 +326,12 @@
'fieldname': 'brand', 'fieldname': 'brand',
'fieldtype': 'Link', 'fieldtype': 'Link',
'hidden': 0, 'hidden': 0,
'idx': 16,
'label': 'Brand', 'label': 'Brand',
'oldfieldname': 'brand', 'oldfieldname': 'brand',
'oldfieldtype': 'Link', 'oldfieldtype': 'Link',
'options': 'Brand', 'options': 'Brand',
'permlevel': 1, 'permlevel': 1,
'print_hide': 1, 'print_hide': 1
'search_index': 0
}, },
# DocField # DocField
@ -342,7 +340,6 @@
'fieldname': 'item_group', 'fieldname': 'item_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'hidden': 0, 'hidden': 0,
'idx': 17,
'in_filter': 1, 'in_filter': 1,
'label': 'Item Group', 'label': 'Item Group',
'oldfieldname': 'item_group', 'oldfieldname': 'item_group',
@ -350,24 +347,7 @@
'options': 'Item Group', 'options': 'Item Group',
'permlevel': 1, 'permlevel': 1,
'print_hide': 1, 'print_hide': 1,
'search_index': 0 'search_index': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'stock_qty',
'fieldtype': 'Currency',
'hidden': 0,
'idx': 20,
'label': 'Stock Qty',
'no_copy': 1,
'oldfieldname': 'stock_qty',
'oldfieldtype': 'Currency',
'permlevel': 0,
'print_hide': 1,
'trigger': 'Client',
'width': '100px'
}, },
# DocField # DocField
@ -376,7 +356,6 @@
'fieldname': 'received_qty', 'fieldname': 'received_qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'hidden': 0, 'hidden': 0,
'idx': 21,
'label': 'Received Qty', 'label': 'Received Qty',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'received_qty', 'oldfieldname': 'received_qty',
@ -392,7 +371,6 @@
'fieldname': 'billed_qty', 'fieldname': 'billed_qty',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'hidden': 0, 'hidden': 0,
'idx': 22,
'label': 'Billed Quantity', 'label': 'Billed Quantity',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'billed_qty', 'oldfieldname': 'billed_qty',
@ -409,7 +387,6 @@
'fieldname': 'item_tax_rate', 'fieldname': 'item_tax_rate',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'hidden': 1, 'hidden': 1,
'idx': 23,
'label': 'Item Tax Rate', 'label': 'Item Tax Rate',
'oldfieldname': 'item_tax_rate', 'oldfieldname': 'item_tax_rate',
'oldfieldtype': 'Small Text', 'oldfieldtype': 'Small Text',
@ -420,12 +397,11 @@
# DocField # DocField
{ {
'allow_on_submit': 1, 'allow_on_submit': 0,
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'page_break', 'fieldname': 'page_break',
'fieldtype': 'Check', 'fieldtype': 'Check',
'hidden': 0, 'hidden': 0,
'idx': 24,
'label': 'Page Break', 'label': 'Page Break',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'page_break', 'oldfieldname': 'page_break',

View File

@ -1,7 +1,7 @@
# REMEMBER to update this # REMEMBER to update this
# ======================== # ========================
last_patch = 386 last_patch = 387
#------------------------------------------- #-------------------------------------------
@ -459,3 +459,5 @@ def execute(patch_no):
reload_doc('stock','doctype','delivery_note') reload_doc('stock','doctype','delivery_note')
elif patch_no == 386: elif patch_no == 386:
sql("update `tabDocField` set allow_on_submit = 1 where fieldname = 'page_break'") sql("update `tabDocField` set allow_on_submit = 1 where fieldname = 'page_break'")
elif patch_no == 387:
sql("update `tabDocField` set allow_on_submit = 1 where fieldname in ('indent_details', 'po_details', 'purchase_receipt_details', 'entries', 'sales_order_details', 'delivery_note_details', 'quotation_details') and fieldtype = 'Table'")