# DocType, Landed Cost Wizard
[

	# These values are common in all dictionaries
	{
		'creation': '2012-03-27 14:36:34',
		'docstatus': 0,
		'modified': '2012-03-27 14:36:34',
		'modified_by': u'Administrator',
		'owner': u'wasim@webnotestech.com'
	},

	# These values are common for all DocType
	{
		'_last_update': u'1321441191',
		'colour': u'White:FFF',
		'default_print_format': u'Standard',
		'doctype': 'DocType',
		'issingle': 1,
		'module': u'Stock',
		'name': '__common__',
		'section_style': u'Simple',
		'server_code_error': u' ',
		'show_in_menu': 1,
		'version': 35
	},

	# These values are common for all DocField
	{
		'doctype': u'DocField',
		'name': '__common__',
		'parent': u'Landed Cost Wizard',
		'parentfield': u'fields',
		'parenttype': u'DocType',
		'permlevel': 0
	},

	# These values are common for all DocPerm
	{
		'doctype': u'DocPerm',
		'name': '__common__',
		'parent': u'Landed Cost Wizard',
		'parentfield': u'permissions',
		'parenttype': u'DocType',
		'read': 1
	},

	# DocType, Landed Cost Wizard
	{
		'doctype': 'DocType',
		'name': u'Landed Cost Wizard'
	},

	# DocPerm
	{
		'doctype': u'DocPerm',
		'permlevel': 0,
		'role': u'All',
		'write': 0
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 1,
		'doctype': u'DocPerm',
		'permlevel': 0,
		'role': u'Purchase Manager',
		'submit': 0,
		'write': 1
	},

	# DocPerm
	{
		'create': 1,
		'doctype': u'DocPerm',
		'permlevel': 0,
		'role': u'System Manager',
		'write': 1
	},

	# DocPerm
	{
		'create': 1,
		'doctype': u'DocPerm',
		'permlevel': 0,
		'role': u'Purchase User',
		'write': 1
	},

	# DocPerm
	{
		'doctype': u'DocPerm',
		'permlevel': 1,
		'role': u'All'
	},

	# DocPerm
	{
		'doctype': u'DocPerm',
		'permlevel': 1,
		'role': u'System Manager'
	},

	# DocPerm
	{
		'doctype': u'DocPerm',
		'permlevel': 1,
		'role': u'Purchase User'
	},

	# DocPerm
	{
		'doctype': u'DocPerm',
		'permlevel': 1,
		'role': u'Purchase Manager'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'process',
		'fieldtype': u'HTML',
		'label': u'Process',
		'options': u'<div class="field_description"><b>Process:</b><br>1. Fetch and select Purchase Receipt<br>2. Enter extra costs<br>3. Click on Update Landed Cost button<br> 4. Cost will be added into other charges table of selected PR proportionately based on net total<br>5. Item Valuation Rate will be recalculated</div>'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'section_break0',
		'fieldtype': u'Section Break',
		'options': u'Simple'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'from_pr_date',
		'fieldtype': u'Date',
		'label': u'From PR Date',
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'to_pr_date',
		'fieldtype': u'Date',
		'label': u'To PR Date',
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'currency',
		'fieldtype': u'Select',
		'label': u'Currency',
		'options': u'link:Currency',
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'get_purchase_receipt',
		'fieldtype': u'Button',
		'label': u'Get Purchase Receipt',
		'options': u'get_purchase_receipts'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'lc_pr_details',
		'fieldtype': u'Table',
		'label': u'Landed Cost Purchase Receipts',
		'options': u'Landed Cost Purchase Receipt'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'section_break1',
		'fieldtype': u'Section Break',
		'options': u'Simple'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'landed_cost',
		'fieldtype': u'Link',
		'label': u'Select Landed Cost Items Master',
		'options': u'Landed Cost Master'
	},

	# DocField
	{
		'colour': u'White:FFF',
		'doctype': u'DocField',
		'fieldname': u'get_details',
		'fieldtype': u'Button',
		'label': u'Get Details',
		'options': u'get_landed_cost_master_details'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'landed_cost_details',
		'fieldtype': u'Table',
		'label': u'Landed Cost Items',
		'options': u'Landed Cost Item'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'update_pr',
		'fieldtype': u'Button',
		'label': u'Update PR',
		'options': u'update_landed_cost'
	}
]