# DocType, Fiscal Year
[

	# These values are common in all dictionaries
	{
		'creation': '2012-03-27 14:35:41',
		'docstatus': 0,
		'modified': '2012-03-27 14:35:41',
		'modified_by': u'Administrator',
		'owner': u'Administrator'
	},

	# These values are common for all DocType
	{
		'_last_update': u'1322549700',
		'allow_trash': 1,
		'autoname': u'field:year',
		'colour': u'White:FFF',
		'default_print_format': u'Standard',
		'doctype': 'DocType',
		'document_type': u'Master',
		'module': u'Accounts',
		'name': '__common__',
		'section_style': u'Tabbed',
		'server_code_error': u' ',
		'show_in_menu': 0,
		'version': 57
	},

	# These values are common for all DocField
	{
		'doctype': u'DocField',
		'name': '__common__',
		'parent': u'Fiscal Year',
		'parentfield': u'fields',
		'parenttype': u'DocType'
	},

	# These values are common for all DocPerm
	{
		'cancel': 1,
		'create': 1,
		'doctype': u'DocPerm',
		'name': '__common__',
		'parent': u'Fiscal Year',
		'parentfield': u'permissions',
		'parenttype': u'DocType',
		'permlevel': 0,
		'read': 1,
		'role': u'System Manager',
		'write': 1
	},

	# DocType, Fiscal Year
	{
		'doctype': 'DocType',
		'name': u'Fiscal Year'
	},

	# DocPerm
	{
		'doctype': u'DocPerm'
	},

	# DocPerm
	{
		'amend': 0,
		'doctype': u'DocPerm',
		'submit': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'year_details',
		'fieldtype': u'Section Break',
		'label': u'Year Details',
		'oldfieldtype': u'Section Break',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'trash_reason',
		'fieldtype': u'Small Text',
		'label': u'Trash Reason',
		'oldfieldname': u'trash_reason',
		'oldfieldtype': u'Small Text',
		'permlevel': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'year',
		'fieldtype': u'Data',
		'label': u'Year Name',
		'oldfieldname': u'year',
		'oldfieldtype': u'Data',
		'permlevel': 0,
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'abbreviation',
		'fieldtype': u'Data',
		'label': u'Abbreviation',
		'oldfieldname': u'abbreviation',
		'oldfieldtype': u'Data',
		'permlevel': 0,
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'year_start_date',
		'fieldtype': u'Date',
		'label': u'Year Start Date',
		'oldfieldname': u'year_start_date',
		'oldfieldtype': u'Date',
		'permlevel': 0,
		'reqd': 1
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'is_fiscal_year_closed',
		'fieldtype': u'Select',
		'label': u'Year Closed',
		'oldfieldname': u'is_fiscal_year_closed',
		'oldfieldtype': u'Select',
		'options': u'\nNo\nYes',
		'permlevel': 0,
		'reqd': 0
	},

	# DocField
	{
		'colour': u'White:FFF',
		'description': u"Click on the button below to reset balances from your previous year's closing and repost your balances. You can use this if your previous year balance sheet has been changed and you wish to update your current accounts.",
		'doctype': u'DocField',
		'fieldname': u'repost_accounts',
		'fieldtype': u'Section Break',
		'label': u'Repost Accounts',
		'oldfieldtype': u'Section Break',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'past_year',
		'fieldtype': u'Select',
		'label': u'Past Year',
		'oldfieldname': u'past_year',
		'oldfieldtype': u'Select',
		'options': u'link:Fiscal Year',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'company',
		'fieldtype': u'Link',
		'in_filter': 0,
		'label': u'Company',
		'oldfieldname': u'company',
		'oldfieldtype': u'Link',
		'options': u'Company',
		'permlevel': 0,
		'search_index': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'repost_account_balances',
		'fieldtype': u'Button',
		'label': u'Repost Account Balances',
		'oldfieldtype': u'Button',
		'options': u'repost',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'repost_voucher_outstanding',
		'fieldtype': u'Button',
		'label': u'Repost Voucher Outstanding',
		'oldfieldtype': u'Button',
		'options': u'update_voucher_outstanding',
		'permlevel': 0
	}
]