removed discount from print hide in purchase cycle

This commit is contained in:
Anand Doshi
2012-12-19 12:01:48 +05:30
parent 60ec6ba975
commit f1854b1c2f
3 changed files with 981 additions and 1213 deletions

View File

@@ -1,358 +1,286 @@
# DocType, Purchase Invoice Item
[ [
{
# These values are common in all dictionaries "owner": "Administrator",
{ "docstatus": 0,
'creation': '2012-04-13 11:56:17', "creation": "2012-07-03 13:29:48",
'docstatus': 0, "modified_by": "Administrator",
'modified': '2012-06-04 12:10:22', "modified": "2012-12-19 11:57:47"
'modified_by': u'Administrator', },
'owner': u'Administrator' {
}, "istable": 1,
"autoname": "EVD.######",
# These values are common for all DocType "name": "__common__",
{ "doctype": "DocType",
'autoname': u'EVD.######', "module": "Accounts"
'colour': u'White:FFF', },
'doctype': 'DocType', {
'istable': 1, "name": "__common__",
'module': u'Accounts', "parent": "Purchase Invoice Item",
'name': '__common__', "doctype": "DocField",
'section_style': u'Tray', "parenttype": "DocType",
'server_code_error': u' ', "parentfield": "fields"
'show_in_menu': 0, },
'version': 1 {
}, "name": "Purchase Invoice Item",
"doctype": "DocType"
# These values are common for all DocField },
{ {
'doctype': u'DocField', "print_hide": 1,
'name': '__common__', "oldfieldtype": "Link",
'parent': u'Purchase Invoice Item', "doctype": "DocField",
'parentfield': u'fields', "label": "Item",
'parenttype': u'DocType' "oldfieldname": "item_code",
}, "permlevel": 0,
"fieldname": "item_code",
# DocType, Purchase Invoice Item "fieldtype": "Link",
{ "search_index": 1,
'doctype': 'DocType', "reqd": 0,
'name': u'Purchase Invoice Item' "options": "Item",
}, "in_filter": 1
},
# DocField {
{ "oldfieldtype": "Data",
'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'item_code', "label": "Item Name",
'fieldtype': u'Link', "oldfieldname": "item_name",
'in_filter': 1, "fieldname": "item_name",
'label': u'Item', "fieldtype": "Data",
'oldfieldname': u'item_code', "search_index": 0,
'oldfieldtype': u'Link', "reqd": 1,
'options': u'Item', "permlevel": 0,
'permlevel': 0, "in_filter": 0
'print_hide': 1, },
'reqd': 0, {
'search_index': 1, "oldfieldtype": "Text",
'trigger': u'Client' "doctype": "DocField",
}, "label": "Description",
"oldfieldname": "description",
# DocField "width": "300px",
{ "fieldname": "description",
'doctype': u'DocField', "fieldtype": "Text",
'fieldname': u'item_name', "permlevel": 0
'fieldtype': u'Data', },
'in_filter': 0, {
'label': u'Item Name', "print_hide": 0,
'oldfieldname': u'item_name', "oldfieldtype": "Currency",
'oldfieldtype': u'Data', "doctype": "DocField",
'permlevel': 0, "label": "Qty",
'reqd': 1, "oldfieldname": "qty",
'search_index': 0 "fieldname": "qty",
}, "fieldtype": "Currency",
"reqd": 1,
# DocField "permlevel": 0
{ },
'doctype': u'DocField', {
'fieldname': u'description', "print_hide": 1,
'fieldtype': u'Text', "doctype": "DocField",
'label': u'Description', "label": "Ref Rate ",
'oldfieldname': u'description', "fieldname": "import_ref_rate",
'oldfieldtype': u'Text', "fieldtype": "Currency",
'permlevel': 0, "permlevel": 0
'width': u'300px' },
}, {
"print_hide": 0,
# DocField "doctype": "DocField",
{ "label": "Discount %",
'doctype': u'DocField', "fieldname": "discount_rate",
'fieldname': u'qty', "fieldtype": "Currency",
'fieldtype': u'Currency', "permlevel": 0
'label': u'Qty', },
'oldfieldname': u'qty', {
'oldfieldtype': u'Currency', "print_hide": 0,
'permlevel': 0, "oldfieldtype": "Currency",
'print_hide': 0, "doctype": "DocField",
'reqd': 1, "label": "Rate ",
'trigger': u'Client' "oldfieldname": "import_rate",
}, "fieldname": "import_rate",
"fieldtype": "Currency",
# DocField "reqd": 1,
{ "permlevel": 0
'doctype': u'DocField', },
'fieldname': u'import_ref_rate', {
'fieldtype': u'Currency', "oldfieldtype": "Currency",
'label': u'Ref Rate ', "doctype": "DocField",
'permlevel': 0, "label": "Amount",
'print_hide': 1, "oldfieldname": "import_amount",
'trigger': u'Client' "fieldname": "import_amount",
}, "fieldtype": "Currency",
"reqd": 1,
# DocField "permlevel": 1
{ },
'doctype': u'DocField', {
'fieldname': u'discount_rate', "print_hide": 1,
'fieldtype': u'Currency', "doctype": "DocField",
'label': u'Discount %', "label": "Ref Rate *",
'permlevel': 0, "fieldname": "purchase_ref_rate",
'print_hide': 1, "fieldtype": "Currency",
'trigger': u'Client' "permlevel": 0
}, },
{
# DocField "print_hide": 1,
{ "oldfieldtype": "Currency",
'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'import_rate', "label": "Rate *(Default Curr.)",
'fieldtype': u'Currency', "oldfieldname": "rate",
'label': u'Rate ', "fieldname": "rate",
'oldfieldname': u'import_rate', "fieldtype": "Currency",
'oldfieldtype': u'Currency', "reqd": 1,
'permlevel': 0, "permlevel": 0
'print_hide': 0, },
'reqd': 1, {
'trigger': u'Client' "print_hide": 1,
}, "oldfieldtype": "Currency",
"doctype": "DocField",
# DocField "label": "Amount (Default Curr.)",
{ "oldfieldname": "amount",
'doctype': u'DocField', "fieldname": "amount",
'fieldname': u'import_amount', "fieldtype": "Currency",
'fieldtype': u'Currency', "reqd": 1,
'label': u'Amount', "permlevel": 1
'oldfieldname': u'import_amount', },
'oldfieldtype': u'Currency', {
'permlevel': 1, "print_hide": 1,
'reqd': 1 "oldfieldtype": "Link",
}, "doctype": "DocField",
"label": "Expense Head",
# DocField "oldfieldname": "expense_head",
{ "width": "120px",
'doctype': u'DocField', "options": "Account",
'fieldname': u'purchase_ref_rate', "fieldname": "expense_head",
'fieldtype': u'Currency', "fieldtype": "Link",
'label': u'Ref Rate *', "reqd": 1,
'permlevel': 0, "permlevel": 0
'print_hide': 1, },
'trigger': u'Client' {
}, "print_hide": 1,
"oldfieldtype": "Link",
# DocField "doctype": "DocField",
{ "label": "Cost Center",
'doctype': u'DocField', "oldfieldname": "cost_center",
'fieldname': u'rate', "width": "120px",
'fieldtype': u'Currency', "options": "Cost Center",
'label': u'Rate *(Default Curr.)', "fieldname": "cost_center",
'oldfieldname': u'rate', "fieldtype": "Link",
'oldfieldtype': u'Currency', "permlevel": 0
'permlevel': 0, },
'print_hide': 1, {
'reqd': 1, "print_hide": 1,
'trigger': u'Client' "doctype": "DocField",
}, "label": "Project Name",
"options": "Project",
# DocField "fieldname": "project_name",
{ "fieldtype": "Link",
'doctype': u'DocField', "permlevel": 0,
'fieldname': u'amount', "in_filter": 1
'fieldtype': u'Currency', },
'label': u'Amount (Default Curr.)', {
'oldfieldname': u'amount', "print_hide": 1,
'oldfieldtype': u'Currency', "doctype": "DocField",
'permlevel': 1, "label": "UOM",
'print_hide': 1, "options": "UOM",
'reqd': 1 "fieldname": "uom",
}, "fieldtype": "Link",
"permlevel": 0
# DocField },
{ {
'colour': u'White:FFF', "print_hide": 1,
'doctype': u'DocField', "oldfieldtype": "Data",
'fieldname': u'expense_head', "doctype": "DocField",
'fieldtype': u'Link', "label": "Brand",
'label': u'Expense Head', "oldfieldname": "brand",
'oldfieldname': u'expense_head', "fieldname": "brand",
'oldfieldtype': u'Link', "fieldtype": "Data",
'options': u'Account', "hidden": 1,
'permlevel': 0, "permlevel": 0
'print_hide': 1, },
'reqd': 1, {
'trigger': u'Client', "print_hide": 1,
'width': u'120px' "oldfieldtype": "Link",
}, "doctype": "DocField",
"label": "Item Group",
# DocField "oldfieldname": "item_group",
{ "permlevel": 1,
'colour': u'White:FFF', "fieldname": "item_group",
'doctype': u'DocField', "fieldtype": "Link",
'fieldname': u'cost_center', "search_index": 1,
'fieldtype': u'Link', "hidden": 1,
'label': u'Cost Center', "options": "Item Group",
'oldfieldname': u'cost_center', "in_filter": 1
'oldfieldtype': u'Link', },
'options': u'Cost Center', {
'permlevel': 0, "print_hide": 1,
'print_hide': 1, "oldfieldtype": "Link",
'trigger': u'Client', "doctype": "DocField",
'width': u'120px' "label": "Pur Order",
}, "oldfieldname": "purchase_order",
"options": "Purchase Order",
# DocField "fieldname": "purchase_order",
{ "fieldtype": "Link",
'colour': u'White:FFF', "search_index": 1,
'doctype': u'DocField', "permlevel": 1,
'fieldname': u'project_name', "in_filter": 1
'fieldtype': u'Link', },
'in_filter': 1, {
'label': u'Project Name', "print_hide": 1,
'options': u'Project', "oldfieldtype": "Data",
'permlevel': 0, "doctype": "DocField",
'print_hide': 1 "label": "Purchase Order Item",
}, "oldfieldname": "po_detail",
"fieldname": "po_detail",
# DocField "fieldtype": "Data",
{ "search_index": 1,
'doctype': u'DocField', "hidden": 1,
'fieldname': u'uom', "permlevel": 1,
'fieldtype': u'Link', "in_filter": 1
'label': u'UOM', },
'options': u'UOM', {
'permlevel': 0, "print_hide": 1,
'print_hide': 1 "oldfieldtype": "Link",
}, "doctype": "DocField",
"label": "Pur Receipt",
# DocField "oldfieldname": "purchase_receipt",
{ "options": "Purchase Receipt",
'doctype': u'DocField', "fieldname": "purchase_receipt",
'fieldname': u'brand', "fieldtype": "Link",
'fieldtype': u'Data', "search_index": 1,
'hidden': 1, "permlevel": 1,
'label': u'Brand', "in_filter": 1
'oldfieldname': u'brand', },
'oldfieldtype': u'Data', {
'permlevel': 0, "print_hide": 1,
'print_hide': 1 "oldfieldtype": "Data",
}, "doctype": "DocField",
"label": "PR Detail",
# DocField "oldfieldname": "pr_detail",
{ "fieldname": "pr_detail",
'doctype': u'DocField', "fieldtype": "Data",
'fieldname': u'item_group', "search_index": 1,
'fieldtype': u'Link', "hidden": 1,
'hidden': 1, "permlevel": 1,
'in_filter': 1, "in_filter": 1
'label': u'Item Group', },
'oldfieldname': u'item_group', {
'oldfieldtype': u'Link', "print_hide": 1,
'options': u'Item Group', "description": "Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges",
'permlevel': 1, "oldfieldtype": "Small Text",
'print_hide': 1, "doctype": "DocField",
'search_index': 1 "label": "Item Tax Rate",
}, "oldfieldname": "item_tax_rate",
"fieldname": "item_tax_rate",
# DocField "fieldtype": "Small Text",
{ "hidden": 1,
'doctype': u'DocField', "permlevel": 1,
'fieldname': u'purchase_order', "report_hide": 1
'fieldtype': u'Link', },
'in_filter': 1, {
'label': u'Pur Order', "print_hide": 1,
'oldfieldname': u'purchase_order', "no_copy": 1,
'oldfieldtype': u'Link', "allow_on_submit": 1,
'options': u'Purchase Order', "doctype": "DocField",
'permlevel': 1, "label": "Page Break",
'print_hide': 1, "fieldname": "page_break",
'search_index': 1 "fieldtype": "Check",
}, "permlevel": 0,
"report_hide": 1
# DocField }
{
'doctype': u'DocField',
'fieldname': u'po_detail',
'fieldtype': u'Data',
'hidden': 1,
'in_filter': 1,
'label': u'Purchase Order Item',
'oldfieldname': u'po_detail',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 1,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase_receipt',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Pur Receipt',
'oldfieldname': u'purchase_receipt',
'oldfieldtype': u'Link',
'options': u'Purchase Receipt',
'permlevel': 1,
'print_hide': 1,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'pr_detail',
'fieldtype': u'Data',
'hidden': 1,
'in_filter': 1,
'label': u'PR Detail',
'oldfieldname': u'pr_detail',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 1,
'search_index': 1
},
# DocField
{
'description': u'Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges',
'doctype': u'DocField',
'fieldname': u'item_tax_rate',
'fieldtype': u'Small Text',
'hidden': 1,
'label': u'Item Tax Rate',
'oldfieldname': u'item_tax_rate',
'oldfieldtype': u'Small Text',
'permlevel': 1,
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'allow_on_submit': 1,
'doctype': u'DocField',
'fieldname': u'page_break',
'fieldtype': u'Check',
'label': u'Page Break',
'no_copy': 1,
'permlevel': 0,
'print_hide': 1,
'report_hide': 1
}
] ]

View File

@@ -1,492 +1,400 @@
# DocType, Purchase Order Item
[ [
{
# These values are common in all dictionaries "owner": "Administrator",
{ "docstatus": 0,
'creation': '2012-05-15 12:14:38', "creation": "2012-08-06 20:00:38",
'docstatus': 0, "modified_by": "Administrator",
'modified': '2012-08-06 15:55:11', "modified": "2012-12-19 11:57:28"
'modified_by': u'Administrator', },
'owner': u'Administrator' {
}, "istable": 1,
"autoname": "POD/.#####",
# These values are common for all DocType "name": "__common__",
{ "doctype": "DocType",
'autoname': u'POD/.#####', "module": "Buying"
'colour': u'White:FFF', },
'doctype': 'DocType', {
'istable': 1, "name": "__common__",
'module': u'Buying', "parent": "Purchase Order Item",
'name': '__common__', "doctype": "DocField",
'section_style': u'Tray', "parenttype": "DocType",
'server_code_error': u' ', "parentfield": "fields"
'show_in_menu': 0, },
'version': 1 {
}, "name": "Purchase Order Item",
"doctype": "DocType"
# These values are common for all DocField },
{ {
'doctype': u'DocField', "print_hide": 1,
'name': '__common__', "no_copy": 1,
'parent': u'Purchase Order Item', "oldfieldtype": "Date",
'parentfield': u'fields', "doctype": "DocField",
'parenttype': u'DocType' "label": "Reqd By Date",
}, "oldfieldname": "schedule_date",
"fieldname": "schedule_date",
# DocType, Purchase Order Item "fieldtype": "Date",
{ "search_index": 1,
'doctype': 'DocType', "reqd": 1,
'name': u'Purchase Order Item' "hidden": 0,
}, "permlevel": 0,
"in_filter": 1
# DocField },
{ {
'doctype': u'DocField', "print_hide": 0,
'fieldname': u'schedule_date', "oldfieldtype": "Link",
'fieldtype': u'Date', "doctype": "DocField",
'hidden': 0, "label": "Item Code",
'in_filter': 1, "oldfieldname": "item_code",
'label': u'Reqd By Date', "permlevel": 0,
'no_copy': 1, "fieldname": "item_code",
'oldfieldname': u'schedule_date', "fieldtype": "Link",
'oldfieldtype': u'Date', "search_index": 1,
'permlevel': 0, "reqd": 1,
'print_hide': 1, "options": "Item",
'reqd': 1, "in_filter": 1
'search_index': 1 },
}, {
"print_hide": 1,
# DocField "description": "If Supplier Part Number exists for given Item, it gets stored here",
{ "doctype": "DocField",
'doctype': u'DocField', "label": "Supplier Part Number",
'fieldname': u'item_code', "fieldname": "supplier_part_no",
'fieldtype': u'Link', "fieldtype": "Data",
'in_filter': 1, "hidden": 1,
'label': u'Item Code', "permlevel": 1
'oldfieldname': u'item_code', },
'oldfieldtype': u'Link', {
'options': u'Item', "print_hide": 1,
'permlevel': 0, "oldfieldtype": "Data",
'print_hide': 0, "doctype": "DocField",
'reqd': 1, "label": "Item Name",
'search_index': 1, "oldfieldname": "item_name",
'trigger': u'Client' "fieldname": "item_name",
}, "fieldtype": "Data",
"search_index": 1,
# DocField "reqd": 1,
{ "hidden": 0,
'colour': u'White:FFF', "permlevel": 0,
'description': u'If Supplier Part Number exists for given Item, it gets stored here', "in_filter": 1
'doctype': u'DocField', },
'fieldname': u'supplier_part_no', {
'fieldtype': u'Data', "oldfieldtype": "Small Text",
'hidden': 1, "doctype": "DocField",
'label': u'Supplier Part Number', "label": "Description",
'permlevel': 1, "oldfieldname": "description",
'print_hide': 1 "width": "300px",
}, "fieldname": "description",
"fieldtype": "Small Text",
# DocField "reqd": 1,
{ "permlevel": 0
'doctype': u'DocField', },
'fieldname': u'item_name', {
'fieldtype': u'Data', "default": "0.00",
'hidden': 0, "oldfieldtype": "Currency",
'in_filter': 1, "doctype": "DocField",
'label': u'Item Name', "label": "Quantity",
'oldfieldname': u'item_name', "oldfieldname": "qty",
'oldfieldtype': u'Data', "width": "60px",
'permlevel': 0, "fieldname": "qty",
'print_hide': 1, "fieldtype": "Currency",
'reqd': 1, "reqd": 1,
'search_index': 1 "permlevel": 0
}, },
{
# DocField "print_hide": 1,
{ "doctype": "DocField",
'doctype': u'DocField', "label": "Ref Rate ",
'fieldname': u'description', "fieldname": "import_ref_rate",
'fieldtype': u'Small Text', "fieldtype": "Currency",
'label': u'Description', "permlevel": 0
'oldfieldname': u'description', },
'oldfieldtype': u'Small Text', {
'permlevel': 0, "print_hide": 0,
'reqd': 1, "doctype": "DocField",
'width': u'300px' "label": "Discount %",
}, "fieldname": "discount_rate",
"fieldtype": "Currency",
# DocField "permlevel": 0
{ },
'default': u'0.00', {
'doctype': u'DocField', "print_hide": 0,
'fieldname': u'qty', "oldfieldtype": "Currency",
'fieldtype': u'Currency', "doctype": "DocField",
'label': u'Quantity', "label": "Rate ",
'oldfieldname': u'qty', "oldfieldname": "import_rate",
'oldfieldtype': u'Currency', "fieldname": "import_rate",
'permlevel': 0, "fieldtype": "Currency",
'reqd': 1, "hidden": 0,
'trigger': u'Client', "permlevel": 0
'width': u'60px' },
}, {
"oldfieldtype": "Currency",
# DocField "doctype": "DocField",
{ "label": "Amount",
'doctype': u'DocField', "oldfieldname": "import_amount",
'fieldname': u'import_ref_rate', "fieldname": "import_amount",
'fieldtype': u'Currency', "fieldtype": "Currency",
'label': u'Ref Rate ', "permlevel": 1
'permlevel': 0, },
'print_hide': 1 {
}, "print_hide": 1,
"doctype": "DocField",
# DocField "label": "Ref Rate *",
{ "fieldname": "purchase_ref_rate",
'doctype': u'DocField', "fieldtype": "Currency",
'fieldname': u'discount_rate', "permlevel": 0
'fieldtype': u'Currency', },
'label': u'Discount %', {
'permlevel': 0, "print_hide": 1,
'print_hide': 1, "default": "0.00",
'trigger': u'Client' "oldfieldtype": "Currency",
}, "doctype": "DocField",
"label": "Rate (Default Curr.) *",
# DocField "oldfieldname": "purchase_rate",
{ "width": "100px",
'doctype': u'DocField', "fieldname": "purchase_rate",
'fieldname': u'import_rate', "fieldtype": "Currency",
'fieldtype': u'Currency', "reqd": 1,
'hidden': 0, "permlevel": 0
'label': u'Rate ', },
'oldfieldname': u'import_rate', {
'oldfieldtype': u'Currency', "print_hide": 1,
'permlevel': 0, "default": "0.00",
'print_hide': 0, "oldfieldtype": "Currency",
'trigger': u'Client' "doctype": "DocField",
}, "label": "Amount (Default Curr.)",
"oldfieldname": "amount",
# DocField "fieldname": "amount",
{ "fieldtype": "Currency",
'doctype': u'DocField', "reqd": 1,
'fieldname': u'import_amount', "permlevel": 1
'fieldtype': u'Currency', },
'label': u'Amount', {
'oldfieldname': u'import_amount', "print_hide": 1,
'oldfieldtype': u'Currency', "oldfieldtype": "Link",
'permlevel': 1 "doctype": "DocField",
}, "label": "Warehouse",
"oldfieldname": "warehouse",
# DocField "options": "Warehouse",
{ "fieldname": "warehouse",
'doctype': u'DocField', "fieldtype": "Link",
'fieldname': u'purchase_ref_rate', "reqd": 0,
'fieldtype': u'Currency', "hidden": 0,
'label': u'Ref Rate *', "permlevel": 0
'permlevel': 0, },
'print_hide': 1 {
}, "print_hide": 1,
"doctype": "DocField",
# DocField "label": "Project Name",
{ "options": "Project",
'default': u'0.00', "fieldname": "project_name",
'doctype': u'DocField', "fieldtype": "Link",
'fieldname': u'purchase_rate', "permlevel": 0,
'fieldtype': u'Currency', "report_hide": 0,
'label': u'Rate (Default Curr.) *', "in_filter": 1
'oldfieldname': u'purchase_rate', },
'oldfieldtype': u'Currency', {
'permlevel': 0, "print_hide": 0,
'print_hide': 1, "oldfieldtype": "Link",
'reqd': 1, "doctype": "DocField",
'trigger': u'Client', "label": "UOM",
'width': u'100px' "oldfieldname": "uom",
}, "width": "100px",
"options": "UOM",
# DocField "fieldname": "uom",
{ "fieldtype": "Link",
'default': u'0.00', "reqd": 1,
'doctype': u'DocField', "permlevel": 0
'fieldname': u'amount', },
'fieldtype': u'Currency', {
'label': u'Amount (Default Curr.)', "print_hide": 1,
'oldfieldname': u'amount', "oldfieldtype": "Currency",
'oldfieldtype': u'Currency', "doctype": "DocField",
'permlevel': 1, "label": "UOM Conversion Factor",
'print_hide': 1, "oldfieldname": "conversion_factor",
'reqd': 1 "width": "100px",
}, "fieldname": "conversion_factor",
"fieldtype": "Currency",
# DocField "reqd": 1,
{ "hidden": 0,
'doctype': u'DocField', "permlevel": 0
'fieldname': u'warehouse', },
'fieldtype': u'Link', {
'hidden': 0, "print_hide": 1,
'label': u'Warehouse', "oldfieldtype": "Data",
'oldfieldname': u'warehouse', "doctype": "DocField",
'oldfieldtype': u'Link', "label": "Stock UOM",
'options': u'Warehouse', "oldfieldname": "stock_uom",
'permlevel': 0, "width": "100px",
'print_hide': 1, "fieldname": "stock_uom",
'reqd': 0, "fieldtype": "Data",
'trigger': u'Client' "reqd": 1,
}, "hidden": 0,
"permlevel": 1
# DocField },
{ {
'doctype': u'DocField', "print_hide": 1,
'fieldname': u'project_name', "no_copy": 0,
'fieldtype': u'Link', "oldfieldtype": "Data",
'in_filter': 1, "doctype": "DocField",
'label': u'Project Name', "label": "Prevdoc DocType",
'options': u'Project', "oldfieldname": "prevdoc_doctype",
'permlevel': 0, "fieldname": "prevdoc_doctype",
'print_hide': 1, "fieldtype": "Data",
'report_hide': 0 "hidden": 1,
}, "permlevel": 1
},
# DocField {
{ "print_hide": 1,
'doctype': u'DocField', "permlevel": 1,
'fieldname': u'uom', "no_copy": 0,
'fieldtype': u'Link', "oldfieldtype": "Link",
'label': u'UOM', "doctype": "DocField",
'oldfieldname': u'uom', "label": "Purchase Requisition No",
'oldfieldtype': u'Link', "oldfieldname": "prevdoc_docname",
'options': u'UOM', "width": "120px",
'permlevel': 0, "fieldname": "prevdoc_docname",
'print_hide': 0, "fieldtype": "Link",
'reqd': 1, "search_index": 1,
'trigger': u'Client', "hidden": 0,
'width': u'100px' "options": "Purchase Request",
}, "in_filter": 1
},
# DocField {
{ "print_hide": 1,
'colour': u'White:FFF', "oldfieldtype": "Date",
'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'conversion_factor', "label": "Purchase Request Date",
'fieldtype': u'Currency', "oldfieldname": "prevdoc_date",
'hidden': 0, "fieldname": "prevdoc_date",
'label': u'UOM Conversion Factor', "fieldtype": "Date",
'oldfieldname': u'conversion_factor', "search_index": 0,
'oldfieldtype': u'Currency', "hidden": 1,
'permlevel': 0, "permlevel": 1,
'print_hide': 1, "in_filter": 1
'reqd': 1, },
'trigger': u'Client', {
'width': u'100px' "print_hide": 1,
}, "no_copy": 0,
"oldfieldtype": "Data",
# DocField "doctype": "DocField",
{ "label": "Purchase Request Detail No",
'doctype': u'DocField', "oldfieldname": "prevdoc_detail_docname",
'fieldname': u'stock_uom', "fieldname": "prevdoc_detail_docname",
'fieldtype': u'Data', "fieldtype": "Data",
'hidden': 0, "search_index": 1,
'label': u'Stock UOM', "hidden": 1,
'oldfieldname': u'stock_uom', "permlevel": 1,
'oldfieldtype': u'Data', "in_filter": 1
'permlevel': 1, },
'print_hide': 1, {
'reqd': 1, "search_index": 0,
'width': u'100px' "doctype": "DocField",
}, "label": "Supplier Quotation",
"options": "Supplier Quotation",
# DocField "fieldname": "supplier_quotation",
{ "fieldtype": "Link",
'colour': u'White:FFF', "hidden": 1,
'doctype': u'DocField', "permlevel": 1,
'fieldname': u'prevdoc_doctype', "in_filter": 0
'fieldtype': u'Data', },
'hidden': 1, {
'label': u'Prevdoc DocType', "doctype": "DocField",
'no_copy': 0, "label": "Supplier Quotation Item",
'oldfieldname': u'prevdoc_doctype', "options": "Supplier Quotation Item",
'oldfieldtype': u'Data', "fieldname": "supplier_quotation_item",
'permlevel': 1, "fieldtype": "Link",
'print_hide': 1 "hidden": 1,
}, "permlevel": 1
},
# DocField {
{ "print_hide": 1,
'colour': u'White:FFF', "oldfieldtype": "Link",
'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'prevdoc_docname', "label": "Brand",
'fieldtype': u'Link', "oldfieldname": "brand",
'hidden': 0, "options": "Brand",
'in_filter': 1, "fieldname": "brand",
'label': u'Purchase Requisition No', "fieldtype": "Link",
'no_copy': 0, "hidden": 1,
'oldfieldname': u'prevdoc_docname', "permlevel": 1
'oldfieldtype': u'Link', },
'options': u'Purchase Request', {
'permlevel': 1, "print_hide": 1,
'print_hide': 1, "oldfieldtype": "Link",
'search_index': 1, "doctype": "DocField",
'width': u'120px' "label": "Item Group",
}, "oldfieldname": "item_group",
"permlevel": 1,
# DocField "fieldname": "item_group",
{ "fieldtype": "Link",
'doctype': u'DocField', "search_index": 0,
'fieldname': u'prevdoc_date', "hidden": 1,
'fieldtype': u'Date', "options": "Item Group",
'hidden': 1, "in_filter": 1
'in_filter': 1, },
'label': u'Purchase Request Date', {
'oldfieldname': u'prevdoc_date', "print_hide": 1,
'oldfieldtype': u'Date', "no_copy": 1,
'permlevel': 1, "oldfieldtype": "Currency",
'print_hide': 1, "doctype": "DocField",
'search_index': 0 "label": "Stock Qty",
}, "oldfieldname": "stock_qty",
"width": "100px",
# DocField "fieldname": "stock_qty",
{ "fieldtype": "Currency",
'colour': u'White:FFF', "hidden": 0,
'doctype': u'DocField', "permlevel": 1
'fieldname': u'prevdoc_detail_docname', },
'fieldtype': u'Data', {
'hidden': 1, "print_hide": 1,
'in_filter': 1, "no_copy": 1,
'label': u'Purchase Request Detail No', "oldfieldtype": "Currency",
'no_copy': 0, "doctype": "DocField",
'oldfieldname': u'prevdoc_detail_docname', "label": "Received Qty",
'oldfieldtype': u'Data', "oldfieldname": "received_qty",
'permlevel': 1, "fieldname": "received_qty",
'print_hide': 1, "fieldtype": "Currency",
'search_index': 1 "hidden": 0,
}, "permlevel": 1
},
# DocField {
{ "print_hide": 1,
'doctype': u'DocField', "default": "0.00",
'fieldname': u'supplier_quotation', "oldfieldtype": "Currency",
'fieldtype': u'Link', "doctype": "DocField",
'hidden': 1, "label": "Billed Quantity",
'in_filter': 0, "oldfieldname": "billed_qty",
'label': u'Supplier Quotation', "no_copy": 1,
'options': u'Supplier Quotation', "fieldname": "billed_qty",
'permlevel': 1, "fieldtype": "Currency",
'search_index': 0 "hidden": 0,
}, "permlevel": 1
},
# DocField {
{ "print_hide": 1,
'doctype': u'DocField', "description": "Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges",
'fieldname': u'supplier_quotation_item', "oldfieldtype": "Small Text",
'fieldtype': u'Link', "doctype": "DocField",
'hidden': 1, "label": "Item Tax Rate",
'label': u'Supplier Quotation Item', "oldfieldname": "item_tax_rate",
'options': u'Supplier Quotation Item', "fieldname": "item_tax_rate",
'permlevel': 1 "fieldtype": "Small Text",
}, "hidden": 1,
"permlevel": 1,
# DocField "report_hide": 1
{ },
'doctype': u'DocField', {
'fieldname': u'brand', "print_hide": 1,
'fieldtype': u'Link', "no_copy": 1,
'hidden': 1, "oldfieldtype": "Check",
'label': u'Brand', "allow_on_submit": 1,
'oldfieldname': u'brand', "doctype": "DocField",
'oldfieldtype': u'Link', "label": "Page Break",
'options': u'Brand', "oldfieldname": "page_break",
'permlevel': 1, "fieldname": "page_break",
'print_hide': 1 "fieldtype": "Check",
}, "hidden": 0,
"permlevel": 0
# DocField }
{
'doctype': u'DocField',
'fieldname': u'item_group',
'fieldtype': u'Link',
'hidden': 1,
'in_filter': 1,
'label': u'Item Group',
'oldfieldname': u'item_group',
'oldfieldtype': u'Link',
'options': u'Item Group',
'permlevel': 1,
'print_hide': 1,
'search_index': 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'stock_qty',
'fieldtype': u'Currency',
'hidden': 0,
'label': u'Stock Qty',
'no_copy': 1,
'oldfieldname': u'stock_qty',
'oldfieldtype': u'Currency',
'permlevel': 1,
'print_hide': 1,
'trigger': u'Client',
'width': u'100px'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'received_qty',
'fieldtype': u'Currency',
'hidden': 0,
'label': u'Received Qty',
'no_copy': 1,
'oldfieldname': u'received_qty',
'oldfieldtype': u'Currency',
'permlevel': 1,
'print_hide': 1
},
# DocField
{
'default': u'0.00',
'doctype': u'DocField',
'fieldname': u'billed_qty',
'fieldtype': u'Currency',
'hidden': 0,
'label': u'Billed Quantity',
'no_copy': 1,
'oldfieldname': u'billed_qty',
'oldfieldtype': u'Currency',
'permlevel': 1,
'print_hide': 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges',
'doctype': u'DocField',
'fieldname': u'item_tax_rate',
'fieldtype': u'Small Text',
'hidden': 1,
'label': u'Item Tax Rate',
'oldfieldname': u'item_tax_rate',
'oldfieldtype': u'Small Text',
'permlevel': 1,
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'allow_on_submit': 1,
'doctype': u'DocField',
'fieldname': u'page_break',
'fieldtype': u'Check',
'hidden': 0,
'label': u'Page Break',
'no_copy': 1,
'oldfieldname': u'page_break',
'oldfieldtype': u'Check',
'permlevel': 0,
'print_hide': 1
}
] ]

View File

@@ -1,369 +1,301 @@
# DocType, Supplier Quotation Item
[ [
{
# These values are common in all dictionaries "owner": "Administrator",
{ "docstatus": 0,
'creation': '2012-08-01 20:07:22', "creation": "2012-08-06 20:00:36",
'docstatus': 0, "modified_by": "Administrator",
'modified': '2012-08-03 12:34:33', "modified": "2012-12-19 11:56:59"
'modified_by': u'Administrator', },
'owner': u'Administrator' {
}, "istable": 1,
"autoname": "SQI-.#####",
# These values are common for all DocType "name": "__common__",
{ "doctype": "DocType",
'autoname': u'SQI-.#####', "module": "Buying"
'doctype': 'DocType', },
'istable': 1, {
'module': u'Buying', "name": "__common__",
'name': '__common__', "parent": "Supplier Quotation Item",
'version': 1 "doctype": "DocField",
}, "parenttype": "DocType",
"parentfield": "fields"
# These values are common for all DocField },
{ {
'doctype': u'DocField', "name": "Supplier Quotation Item",
'name': '__common__', "doctype": "DocType"
'parent': u'Supplier Quotation Item', },
'parentfield': u'fields', {
'parenttype': u'DocType' "print_hide": 0,
}, "oldfieldtype": "Link",
"doctype": "DocField",
# DocType, Supplier Quotation Item "label": "Item Code",
{ "oldfieldname": "item_code",
'doctype': 'DocType', "permlevel": 0,
'name': u'Supplier Quotation Item' "fieldname": "item_code",
}, "fieldtype": "Link",
"search_index": 1,
# DocField "reqd": 1,
{ "options": "Item",
'doctype': u'DocField', "in_filter": 1
'fieldname': u'item_code', },
'fieldtype': u'Link', {
'in_filter': 1, "print_hide": 1,
'label': u'Item Code', "description": "If Supplier Part Number exists for given Item, it gets stored here",
'oldfieldname': u'item_code', "doctype": "DocField",
'oldfieldtype': u'Link', "label": "Supplier Part Number",
'options': u'Item', "fieldname": "supplier_part_no",
'permlevel': 0, "fieldtype": "Data",
'print_hide': 0, "hidden": 1,
'reqd': 1, "permlevel": 1
'search_index': 1, },
'trigger': u'Client' {
}, "print_hide": 1,
"oldfieldtype": "Data",
# DocField "doctype": "DocField",
{ "label": "Item Name",
'colour': u'White:FFF', "oldfieldname": "item_name",
'description': u'If Supplier Part Number exists for given Item, it gets stored here', "fieldname": "item_name",
'doctype': u'DocField', "fieldtype": "Data",
'fieldname': u'supplier_part_no', "search_index": 1,
'fieldtype': u'Data', "reqd": 1,
'hidden': 1, "hidden": 0,
'label': u'Supplier Part Number', "permlevel": 0,
'permlevel': 1, "in_filter": 1
'print_hide': 1 },
}, {
"oldfieldtype": "Small Text",
# DocField "doctype": "DocField",
{ "label": "Description",
'doctype': u'DocField', "oldfieldname": "description",
'fieldname': u'item_name', "width": "300px",
'fieldtype': u'Data', "fieldname": "description",
'hidden': 0, "fieldtype": "Small Text",
'in_filter': 1, "reqd": 1,
'label': u'Item Name', "permlevel": 0
'oldfieldname': u'item_name', },
'oldfieldtype': u'Data', {
'permlevel': 0, "default": "0.00",
'print_hide': 1, "oldfieldtype": "Currency",
'reqd': 1, "doctype": "DocField",
'search_index': 1 "label": "Quantity",
}, "oldfieldname": "qty",
"width": "60px",
# DocField "fieldname": "qty",
{ "fieldtype": "Currency",
'doctype': u'DocField', "reqd": 1,
'fieldname': u'description', "permlevel": 0
'fieldtype': u'Small Text', },
'label': u'Description', {
'oldfieldname': u'description', "print_hide": 1,
'oldfieldtype': u'Small Text', "doctype": "DocField",
'permlevel': 0, "label": "Ref Rate ",
'reqd': 1, "fieldname": "import_ref_rate",
'width': u'300px' "fieldtype": "Currency",
}, "permlevel": 0
},
# DocField {
{ "print_hide": 0,
'default': u'0.00', "doctype": "DocField",
'doctype': u'DocField', "label": "Discount %",
'fieldname': u'qty', "fieldname": "discount_rate",
'fieldtype': u'Currency', "fieldtype": "Currency",
'label': u'Quantity', "permlevel": 0
'oldfieldname': u'qty', },
'oldfieldtype': u'Currency', {
'permlevel': 0, "print_hide": 0,
'reqd': 1, "oldfieldtype": "Currency",
'trigger': u'Client', "doctype": "DocField",
'width': u'60px' "label": "Rate ",
}, "oldfieldname": "import_rate",
"fieldname": "import_rate",
# DocField "fieldtype": "Currency",
{ "hidden": 0,
'doctype': u'DocField', "permlevel": 0
'fieldname': u'import_ref_rate', },
'fieldtype': u'Currency', {
'label': u'Ref Rate ', "oldfieldtype": "Currency",
'permlevel': 0, "doctype": "DocField",
'print_hide': 1 "label": "Amount",
}, "oldfieldname": "import_amount",
"fieldname": "import_amount",
# DocField "fieldtype": "Currency",
{ "permlevel": 1
'doctype': u'DocField', },
'fieldname': u'discount_rate', {
'fieldtype': u'Currency', "print_hide": 1,
'label': u'Discount %', "doctype": "DocField",
'permlevel': 0, "label": "Ref Rate *",
'print_hide': 1, "fieldname": "purchase_ref_rate",
'trigger': u'Client' "fieldtype": "Currency",
}, "permlevel": 0
},
# DocField {
{ "print_hide": 1,
'doctype': u'DocField', "default": "0.00",
'fieldname': u'import_rate', "oldfieldtype": "Currency",
'fieldtype': u'Currency', "doctype": "DocField",
'hidden': 0, "label": "Rate (Default Curr.) *",
'label': u'Rate ', "oldfieldname": "purchase_rate",
'oldfieldname': u'import_rate', "width": "100px",
'oldfieldtype': u'Currency', "fieldname": "purchase_rate",
'permlevel': 0, "fieldtype": "Currency",
'print_hide': 0, "reqd": 1,
'trigger': u'Client' "permlevel": 0
}, },
{
# DocField "print_hide": 1,
{ "default": "0.00",
'doctype': u'DocField', "oldfieldtype": "Currency",
'fieldname': u'import_amount', "doctype": "DocField",
'fieldtype': u'Currency', "label": "Amount (Default Curr.)",
'label': u'Amount', "oldfieldname": "amount",
'oldfieldname': u'import_amount', "fieldname": "amount",
'oldfieldtype': u'Currency', "fieldtype": "Currency",
'permlevel': 1 "reqd": 1,
}, "permlevel": 1
},
# DocField {
{ "print_hide": 1,
'doctype': u'DocField', "oldfieldtype": "Link",
'fieldname': u'purchase_ref_rate', "doctype": "DocField",
'fieldtype': u'Currency', "label": "Warehouse",
'label': u'Ref Rate *', "oldfieldname": "warehouse",
'permlevel': 0, "options": "Warehouse",
'print_hide': 1 "fieldname": "warehouse",
}, "fieldtype": "Link",
"reqd": 0,
# DocField "hidden": 0,
{ "permlevel": 0
'default': u'0.00', },
'doctype': u'DocField', {
'fieldname': u'purchase_rate', "print_hide": 1,
'fieldtype': u'Currency', "doctype": "DocField",
'label': u'Rate (Default Curr.) *', "label": "Project Name",
'oldfieldname': u'purchase_rate', "options": "Project",
'oldfieldtype': u'Currency', "fieldname": "project_name",
'permlevel': 0, "fieldtype": "Link",
'print_hide': 1, "permlevel": 0,
'reqd': 1, "report_hide": 0,
'trigger': u'Client', "in_filter": 1
'width': u'100px' },
}, {
"print_hide": 0,
# DocField "oldfieldtype": "Link",
{ "doctype": "DocField",
'default': u'0.00', "label": "UOM",
'doctype': u'DocField', "oldfieldname": "uom",
'fieldname': u'amount', "width": "100px",
'fieldtype': u'Currency', "options": "UOM",
'label': u'Amount (Default Curr.)', "fieldname": "uom",
'oldfieldname': u'amount', "fieldtype": "Link",
'oldfieldtype': u'Currency', "reqd": 1,
'permlevel': 1, "permlevel": 0
'print_hide': 1, },
'reqd': 1 {
}, "print_hide": 1,
"no_copy": 0,
# DocField "oldfieldtype": "Data",
{ "doctype": "DocField",
'doctype': u'DocField', "label": "Prevdoc DocType",
'fieldname': u'warehouse', "oldfieldname": "prevdoc_doctype",
'fieldtype': u'Link', "fieldname": "prevdoc_doctype",
'hidden': 0, "fieldtype": "Data",
'label': u'Warehouse', "hidden": 1,
'oldfieldname': u'warehouse', "permlevel": 1
'oldfieldtype': u'Link', },
'options': u'Warehouse', {
'permlevel': 0, "print_hide": 1,
'print_hide': 1, "permlevel": 1,
'reqd': 0, "no_copy": 0,
'trigger': u'Client' "oldfieldtype": "Link",
}, "doctype": "DocField",
"label": "Purchase Request No",
# DocField "oldfieldname": "prevdoc_docname",
{ "width": "120px",
'doctype': u'DocField', "fieldname": "prevdoc_docname",
'fieldname': u'project_name', "fieldtype": "Link",
'fieldtype': u'Link', "search_index": 1,
'in_filter': 1, "hidden": 0,
'label': u'Project Name', "options": "Purchase Request",
'options': u'Project', "in_filter": 1
'permlevel': 0, },
'print_hide': 1, {
'report_hide': 0 "print_hide": 1,
}, "oldfieldtype": "Date",
"doctype": "DocField",
# DocField "label": "Purchase Request Date",
{ "oldfieldname": "prevdoc_date",
'doctype': u'DocField', "fieldname": "prevdoc_date",
'fieldname': u'uom', "fieldtype": "Date",
'fieldtype': u'Link', "search_index": 0,
'label': u'UOM', "hidden": 1,
'oldfieldname': u'uom', "permlevel": 1,
'oldfieldtype': u'Link', "in_filter": 1
'options': u'UOM', },
'permlevel': 0, {
'print_hide': 0, "print_hide": 1,
'reqd': 1, "no_copy": 0,
'trigger': u'Client', "oldfieldtype": "Data",
'width': u'100px' "doctype": "DocField",
}, "label": "Purchase Request Detail No",
"oldfieldname": "prevdoc_detail_docname",
# DocField "fieldname": "prevdoc_detail_docname",
{ "fieldtype": "Data",
'colour': u'White:FFF', "search_index": 1,
'doctype': u'DocField', "hidden": 1,
'fieldname': u'prevdoc_doctype', "permlevel": 1,
'fieldtype': u'Data', "in_filter": 1
'hidden': 1, },
'label': u'Prevdoc DocType', {
'no_copy': 0, "print_hide": 1,
'oldfieldname': u'prevdoc_doctype', "oldfieldtype": "Link",
'oldfieldtype': u'Data', "doctype": "DocField",
'permlevel': 1, "label": "Brand",
'print_hide': 1 "oldfieldname": "brand",
}, "options": "Brand",
"fieldname": "brand",
# DocField "fieldtype": "Link",
{ "hidden": 1,
'colour': u'White:FFF', "permlevel": 1
'doctype': u'DocField', },
'fieldname': u'prevdoc_docname', {
'fieldtype': u'Link', "print_hide": 1,
'hidden': 0, "oldfieldtype": "Link",
'in_filter': 1, "doctype": "DocField",
'label': u'Purchase Request No', "label": "Item Group",
'no_copy': 0, "oldfieldname": "item_group",
'oldfieldname': u'prevdoc_docname', "permlevel": 1,
'oldfieldtype': u'Link', "fieldname": "item_group",
'options': u'Purchase Request', "fieldtype": "Link",
'permlevel': 1, "search_index": 0,
'print_hide': 1, "hidden": 1,
'search_index': 1, "options": "Item Group",
'width': u'120px' "in_filter": 1
}, },
{
# DocField "print_hide": 1,
{ "description": "Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges",
'doctype': u'DocField', "oldfieldtype": "Small Text",
'fieldname': u'prevdoc_date', "doctype": "DocField",
'fieldtype': u'Date', "label": "Item Tax Rate",
'hidden': 1, "oldfieldname": "item_tax_rate",
'in_filter': 1, "fieldname": "item_tax_rate",
'label': u'Purchase Request Date', "fieldtype": "Small Text",
'oldfieldname': u'prevdoc_date', "hidden": 1,
'oldfieldtype': u'Date', "permlevel": 1,
'permlevel': 1, "report_hide": 1
'print_hide': 1, },
'search_index': 0 {
}, "print_hide": 1,
"no_copy": 1,
# DocField "oldfieldtype": "Check",
{ "allow_on_submit": 1,
'colour': u'White:FFF', "doctype": "DocField",
'doctype': u'DocField', "label": "Page Break",
'fieldname': u'prevdoc_detail_docname', "oldfieldname": "page_break",
'fieldtype': u'Data', "fieldname": "page_break",
'hidden': 1, "fieldtype": "Check",
'in_filter': 1, "hidden": 0,
'label': u'Purchase Request Detail No', "permlevel": 0
'no_copy': 0, }
'oldfieldname': u'prevdoc_detail_docname',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 1,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'brand',
'fieldtype': u'Link',
'hidden': 1,
'label': u'Brand',
'oldfieldname': u'brand',
'oldfieldtype': u'Link',
'options': u'Brand',
'permlevel': 1,
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'item_group',
'fieldtype': u'Link',
'hidden': 1,
'in_filter': 1,
'label': u'Item Group',
'oldfieldname': u'item_group',
'oldfieldtype': u'Link',
'options': u'Item Group',
'permlevel': 1,
'print_hide': 1,
'search_index': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Tax detail table fetched from item master as a string and stored in this field.\nUsed for Taxes and Charges',
'doctype': u'DocField',
'fieldname': u'item_tax_rate',
'fieldtype': u'Small Text',
'hidden': 1,
'label': u'Item Tax Rate',
'oldfieldname': u'item_tax_rate',
'oldfieldtype': u'Small Text',
'permlevel': 1,
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'allow_on_submit': 1,
'doctype': u'DocField',
'fieldname': u'page_break',
'fieldtype': u'Check',
'hidden': 0,
'label': u'Page Break',
'no_copy': 1,
'oldfieldname': u'page_break',
'oldfieldtype': u'Check',
'permlevel': 0,
'print_hide': 1
}
] ]