# DocType, Purchase Invoice Advance
[

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

	# These values are common for all DocType
	{
		'colour': u'White:FFF',
		'doctype': 'DocType',
		'istable': 1,
		'module': u'Accounts',
		'name': '__common__',
		'section_style': u'Tray',
		'server_code_error': u' ',
		'show_in_menu': 0,
		'version': 20
	},

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

	# DocType, Purchase Invoice Advance
	{
		'doctype': 'DocType',
		'name': u'Purchase Invoice Advance'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'journal_voucher',
		'fieldtype': u'Link',
		'label': u'Journal Voucher',
		'no_copy': 1,
		'oldfieldname': u'journal_voucher',
		'oldfieldtype': u'Link',
		'options': u'Journal Voucher',
		'permlevel': 1,
		'width': u'180px'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'jv_detail_no',
		'fieldtype': u'Date',
		'hidden': 1,
		'label': u'Journal Voucher Detail No',
		'no_copy': 1,
		'oldfieldname': u'jv_detail_no',
		'oldfieldtype': u'Date',
		'permlevel': 1,
		'print_hide': 1,
		'width': u'80px'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'advance_amount',
		'fieldtype': u'Currency',
		'label': u'Advance Amount',
		'no_copy': 1,
		'oldfieldname': u'advance_amount',
		'oldfieldtype': u'Currency',
		'permlevel': 1,
		'width': u'100px'
	},

	# DocField
	{
		'colour': u'White:FFF',
		'doctype': u'DocField',
		'fieldname': u'allocated_amount',
		'fieldtype': u'Currency',
		'label': u'Allocated Amount',
		'no_copy': 1,
		'oldfieldname': u'allocated_amount',
		'oldfieldtype': u'Currency',
		'permlevel': 0,
		'trigger': u'Client',
		'width': u'100px'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'tds_amount',
		'fieldtype': u'Currency',
		'label': u'TDS Amount',
		'oldfieldname': u'tds_amount',
		'oldfieldtype': u'Currency',
		'permlevel': 1,
		'width': u'80px'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'tds_allocated',
		'fieldtype': u'Currency',
		'label': u'TDS Allocated',
		'oldfieldname': u'tds_allocated',
		'oldfieldtype': u'Currency',
		'permlevel': 1,
		'width': u'80px'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'remarks',
		'fieldtype': u'Small Text',
		'label': u'Remarks',
		'no_copy': 1,
		'oldfieldname': u'remarks',
		'oldfieldtype': u'Small Text',
		'permlevel': 1,
		'width': u'150px'
	}
]