From 3085b1022412ab466af5fd394437681cfd1a138e Mon Sep 17 00:00:00 2001 From: Brahma K Date: Wed, 27 Jul 2011 13:08:11 +0530 Subject: [PATCH] Upload Account Transactions .txt added --- .../upload_accounts_transactions.txt | 126 ++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt diff --git a/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt b/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt new file mode 100644 index 00000000000..d637a886a60 --- /dev/null +++ b/setup/doctype/upload_accounts_transactions/upload_accounts_transactions.txt @@ -0,0 +1,126 @@ +# DocType, Upload Accounts Transactions +[ + + # These values are common in all dictionaries + { + 'creation': '2011-07-18 14:56:48', + 'docstatus': 0, + 'modified': '2011-07-19 12:19:13', + 'modified_by': 'Administrator', + 'owner': 'Administrator' + }, + + # These values are common for all DocType + { + '_last_update': '1310985428', + 'allow_attach': 1, + 'colour': 'White:FFF', + 'doctype': 'DocType', + 'issingle': 1, + 'max_attachments': 1, + 'module': 'Setup', + 'name': '__common__', + 'section_style': 'Simple', + 'show_in_menu': 1, + 'version': 5 + }, + + # These values are common for all DocField + { + 'doctype': 'DocField', + 'name': '__common__', + 'parent': 'Upload Accounts Transactions', + 'parentfield': 'fields', + 'parenttype': 'DocType', + 'permlevel': 0 + }, + + # These values are common for all DocPerm + { + 'cancel': 1, + 'create': 1, + 'doctype': 'DocPerm', + 'execute': 1, + 'idx': 1, + 'name': '__common__', + 'parent': 'Upload Accounts Transactions', + 'parentfield': 'permissions', + 'parenttype': 'DocType', + 'permlevel': 0, + 'read': 1, + 'role': 'Accounts Manager', + 'submit': 1, + 'write': 1 + }, + + # DocType, Upload Accounts Transactions + { + 'doctype': 'DocType', + 'name': 'Upload Accounts Transactions' + }, + + # DocPerm + { + 'doctype': 'DocPerm' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldtype': 'HTML', + 'idx': 1, + 'label': 'Usage', + 'options': '
\nUpload Account Transactions Help\n

To update the account transactions, upload a CSV file with five columns Date, Transaction Number, Account Name, Credit and Debit amount and click on the "Upload Account Transactions" button. The system will add the transactions.\n

' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'fiscal_year', + 'fieldtype': 'Link', + 'idx': 2, + 'label': 'Fiscal Year', + 'options': 'Fiscal Year', + 'reqd': 1 + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'company', + 'fieldtype': 'Link', + 'idx': 3, + 'label': 'Company', + 'options': 'Company', + 'reqd': 1 + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'default_cost_center', + 'fieldtype': 'Link', + 'idx': 4, + 'label': 'Default Cost Center', + 'options': 'Cost Center', + 'reqd': 1 + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldname': 'file_list', + 'fieldtype': 'Small Text', + 'hidden': 1, + 'idx': 5, + 'label': 'File List' + }, + + # DocField + { + 'doctype': 'DocField', + 'fieldtype': 'Button', + 'idx': 6, + 'label': 'Upload Accounts Transactions' + } +] \ No newline at end of file