install from txt files, part 1
diff --git a/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt b/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
index 1909477..bf2ff1a 100644
--- a/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
+++ b/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
@@ -1 +1,62 @@
-[{'doc_type': 'Journal Voucher', 'modified_by': 'nabin@webnotestech.com', 'name': 'Journal Voucher', 'parent': None, 'creation': '2009-03-12 12:09:24', 'modified': '2010-04-30 17:56:41', 'module': 'Accounts', 'doctype': 'GL Mapper', 'idx': None, 'parenttype': None, 'owner': 'Administrator', 'docstatus': 0, 'parentfield': None}, {'creation': '2009-03-12 12:09:24', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center', 'voucher_no': 'parent:name', 'modified_by': 'nabin@webnotestech.com', 'against_voucher': "value:d.against_voucher or d.against_invoice or d.against_jv or ''", 'table_field': 'entries', 'transaction_date': 'parent:voucher_date', 'debit': 'debit', 'docstatus': 0, 'parent': 'Journal Voucher', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': 'is_advance', 'remarks': 'parent:remark', 'account': 'account', 'name': 'GLMDetail00001', 'idx': 1, 'against_voucher_type': "value:(d.against_voucher and 'Purchase Invoice') or (d.against_invoice and 'Sales Invoice') or (d.against_jv and 'Journal Voucher') or ''", 'modified': '2010-04-30 17:56:41', 'against': 'against_account', 'credit': 'credit', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2009-06-11 11:09:11', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': '', 'voucher_no': 'name', 'modified_by': 'nabin@webnotestech.com', 'against_voucher': '', 'table_field': '', 'transaction_date': 'voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'Journal Voucher', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': '', 'remarks': 'remark', 'account': 'tax_code', 'name': 'GLMDetail00009', 'idx': 2, 'against_voucher_type': None, 'modified': '2010-04-30 17:56:41', 'against': 'supplier_account', 'credit': 'ded_amount', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}]
+[
+ {
+ "owner": "Administrator",
+ "docstatus": 0,
+ "creation": "2012-05-01 12:46:31",
+ "modified_by": "Administrator",
+ "modified": "2012-05-01 09:16:31"
+ },
+ {
+ "doc_type": "Journal Voucher",
+ "name": "__common__",
+ "doctype": "GL Mapper"
+ },
+ {
+ "name": "__common__",
+ "parent": "Journal Voucher",
+ "doctype": "GL Mapper Detail",
+ "parenttype": "GL Mapper",
+ "parentfield": "fields"
+ },
+ {
+ "name": "Journal Voucher",
+ "doctype": "GL Mapper"
+ },
+ {
+ "account": "account",
+ "doctype": "GL Mapper Detail",
+ "credit": "credit",
+ "against_voucher_type": "value:(d.against_voucher and 'Purchase Invoice') or (d.against_invoice and 'Sales Invoice') or (d.against_jv and 'Journal Voucher') or ''",
+ "company": "parent:company",
+ "debit": "debit",
+ "fiscal_year": "parent:fiscal_year",
+ "against": "against_account",
+ "voucher_type": "parent:doctype",
+ "against_voucher": "value:d.against_voucher or d.against_invoice or d.against_jv or ''",
+ "table_field": "entries",
+ "transaction_date": "parent:voucher_date",
+ "is_advance": "is_advance",
+ "aging_date": "parent:aging_date",
+ "is_opening": "parent:is_opening",
+ "remarks": "parent:remark",
+ "posting_date": "parent:posting_date",
+ "voucher_no": "parent:name",
+ "cost_center": "cost_center"
+ },
+ {
+ "account": "tax_code",
+ "doctype": "GL Mapper Detail",
+ "company": "company",
+ "debit": "value:0",
+ "fiscal_year": "fiscal_year",
+ "against": "supplier_account",
+ "voucher_type": "doctype",
+ "credit": "ded_amount",
+ "transaction_date": "voucher_date",
+ "aging_date": "aging_date",
+ "is_opening": "is_opening",
+ "remarks": "remark",
+ "posting_date": "posting_date",
+ "voucher_no": "name"
+ }
+]
\ No newline at end of file