sync ref file
This commit is contained in:
parent
91375d64f1
commit
e8da15cb5b
@ -5,205 +5,193 @@
|
||||
{
|
||||
'creation': '2010-08-08 17:09:02',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-01-03 17:52:39',
|
||||
'modified_by': 'umair@iwebnotes.com',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:31:26',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': '1307707462',
|
||||
'_last_update': u'1322549700',
|
||||
'allow_trash': 1,
|
||||
'autoname': 'field:year',
|
||||
'colour': 'White:FFF',
|
||||
'autoname': u'field:year',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'document_type': 'Master',
|
||||
'module': 'Accounts',
|
||||
'document_type': u'Master',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Tabbed',
|
||||
'server_code_error': ' ',
|
||||
'section_style': u'Tabbed',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 54
|
||||
'version': 56
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'Fiscal Year',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'Fiscal Year',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'Fiscal Year',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'Fiscal Year',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1,
|
||||
'role': 'System Manager',
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocType, Fiscal Year
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'Fiscal Year'
|
||||
'name': u'Fiscal Year'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'submit': 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 2
|
||||
'doctype': u'DocPerm'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 1,
|
||||
'label': 'Year Details',
|
||||
'oldfieldtype': 'Section Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Year Details',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'trash_reason',
|
||||
'fieldtype': 'Small Text',
|
||||
'idx': 2,
|
||||
'label': 'Trash Reason',
|
||||
'oldfieldname': 'trash_reason',
|
||||
'oldfieldtype': 'Small Text',
|
||||
'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': 'DocField',
|
||||
'fieldname': 'year',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 3,
|
||||
'label': 'Year Name',
|
||||
'oldfieldname': 'year',
|
||||
'oldfieldtype': 'Data',
|
||||
'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': 'DocField',
|
||||
'fieldname': 'abbreviation',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 4,
|
||||
'label': 'Abbreviation',
|
||||
'oldfieldname': 'abbreviation',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'abbreviation',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Abbreviation',
|
||||
'oldfieldname': u'abbreviation',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'year_start_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 5,
|
||||
'label': 'Year Start Date',
|
||||
'oldfieldname': 'year_start_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'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': 'DocField',
|
||||
'fieldname': 'is_fiscal_year_closed',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 6,
|
||||
'label': 'Year Closed',
|
||||
'oldfieldname': 'is_fiscal_year_closed',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': '\nNo\nYes',
|
||||
'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': 'White:FFF',
|
||||
'description': "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': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 7,
|
||||
'label': 'Repost Accounts',
|
||||
'oldfieldtype': 'Section Break',
|
||||
'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',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Repost Accounts',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'past_year',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 8,
|
||||
'label': 'Past Year',
|
||||
'oldfieldname': 'past_year',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Fiscal Year',
|
||||
'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': 'DocField',
|
||||
'fieldname': 'company',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 9,
|
||||
'in_filter': 1,
|
||||
'label': 'Company',
|
||||
'oldfieldname': 'company',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Company',
|
||||
'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': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 10,
|
||||
'label': 'Repost Account Balances',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'repost',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Repost Account Balances',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'repost',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 11,
|
||||
'label': 'Repost Voucher Outstanding',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'update_voucher_outstanding',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Repost Voucher Outstanding',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'update_voucher_outstanding',
|
||||
'permlevel': 0
|
||||
}
|
||||
]
|
@ -5,262 +5,262 @@
|
||||
{
|
||||
'creation': '2011-08-30 11:45:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-09-26 14:21:22',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:25:18',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': '1316509358',
|
||||
'colour': 'White:FFF',
|
||||
'default_print_format': 'Standard',
|
||||
'_last_update': u'1316509358',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'document_type': 'Other',
|
||||
'document_type': u'Other',
|
||||
'issingle': 1,
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Simple',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 1,
|
||||
'version': 35
|
||||
'version': 36
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'Internal Reconciliation',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'Internal Reconciliation',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'Internal Reconciliation',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'Internal Reconciliation',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
},
|
||||
|
||||
# DocType, Internal Reconciliation
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'Internal Reconciliation'
|
||||
'name': u'Internal Reconciliation'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'System Manager',
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts Manager',
|
||||
'role': u'Accounts Manager',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts User',
|
||||
'role': u'Accounts User',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'All'
|
||||
'role': u'All'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'account',
|
||||
'fieldtype': 'Link',
|
||||
'label': 'Account',
|
||||
'options': 'Account',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account',
|
||||
'options': u'Account',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'voucher_type',
|
||||
'fieldtype': 'Select',
|
||||
'label': 'Voucher Type',
|
||||
'options': 'Sales Invoice\nPurchase Invoice\nJournal Voucher',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Voucher Type',
|
||||
'options': u'Sales Invoice\nPurchase Invoice\nJournal Voucher',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'voucher_no',
|
||||
'fieldtype': 'Link',
|
||||
'label': 'Voucher No',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Voucher No',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'total_amount',
|
||||
'fieldtype': 'Currency',
|
||||
'label': 'Total Amount',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Amount',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'pending_amt_to_reconcile',
|
||||
'fieldtype': 'Currency',
|
||||
'label': 'Pending Amt To Reconcile',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'pending_amt_to_reconcile',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Pending Amt To Reconcile',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'label': 'Payment Entries',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Payment Entries',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'label': "<div class = 'field_description'>Filter payment entries based on date:</div>",
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u"<div class = 'field_description'>Filter payment entries based on date:</div>",
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'from_date',
|
||||
'fieldtype': 'Date',
|
||||
'label': 'From Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'from_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'From Date',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'to_date',
|
||||
'fieldtype': 'Date',
|
||||
'label': 'To Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'to_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'To Date',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'label': "<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u"<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amt_greater_than',
|
||||
'fieldtype': 'Data',
|
||||
'label': 'Amount >=',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_greater_than',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amount >=',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amt_less_than',
|
||||
'fieldtype': 'Data',
|
||||
'label': 'Amount <=',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_less_than',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amount <=',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'options': 'Simple',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'options': u'Simple',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'label': 'Pull Payment Entries',
|
||||
'options': 'get_payment_entries',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Pull Payment Entries',
|
||||
'options': u'get_payment_entries',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'ir_payment_details',
|
||||
'fieldtype': 'Table',
|
||||
'label': 'Payment Entries',
|
||||
'options': 'IR Payment Detail',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'ir_payment_details',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Payment Entries',
|
||||
'options': u'IR Payment Detail',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'HTML',
|
||||
'label': 'Reconcile HTML',
|
||||
'options': "<div class='field_description'>Select Payment Voucher and Amount to Reconcile in the above table and then click Reconcile button</div>",
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'HTML',
|
||||
'label': u'Reconcile HTML',
|
||||
'options': u"<div class='field_description'>Select Payment Voucher and Amount to Reconcile in the above table and then click Reconcile button</div>",
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'label': 'Reconcile',
|
||||
'options': 'reconcile',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Reconcile',
|
||||
'options': u'reconcile',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
}
|
||||
]
|
@ -5,187 +5,179 @@
|
||||
{
|
||||
'creation': '2010-08-08 17:09:06',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-10-01 16:24:51',
|
||||
'modified_by': 'umair@iwebnotes.com',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:26:17',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': 'JVD.######',
|
||||
'colour': 'White:FFF',
|
||||
'autoname': u'JVD.######',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Tray',
|
||||
'server_code_error': ' ',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 2
|
||||
'version': 3
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'Journal Voucher Detail',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'Journal Voucher Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# DocType, Journal Voucher Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'Journal Voucher Detail'
|
||||
'name': u'Journal Voucher Detail'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'account',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 1,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Account',
|
||||
'oldfieldname': 'account',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Account',
|
||||
'label': u'Account',
|
||||
'oldfieldname': u'account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client',
|
||||
'width': '180px'
|
||||
'trigger': u'Client',
|
||||
'width': u'180px'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'cost_center',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 2,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Cost Center',
|
||||
'oldfieldname': 'cost_center',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Cost Center',
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'permlevel': 0,
|
||||
'search_index': 0,
|
||||
'width': '180px'
|
||||
'width': u'180px'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'balance',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 3,
|
||||
'label': 'Balance',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'balance',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Balance',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'balance',
|
||||
'oldfieldtype': 'Data',
|
||||
'oldfieldname': u'balance',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'debit',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 4,
|
||||
'label': 'Debit',
|
||||
'oldfieldname': 'debit',
|
||||
'oldfieldtype': 'Currency',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'debit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Debit',
|
||||
'oldfieldname': u'debit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'credit',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 5,
|
||||
'label': 'Credit',
|
||||
'oldfieldname': 'credit',
|
||||
'oldfieldtype': 'Currency',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'credit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Credit',
|
||||
'oldfieldname': u'credit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'against_voucher',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 6,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_voucher',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Against Payable',
|
||||
'label': u'Against Payable',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'against_voucher',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Payable Voucher',
|
||||
'oldfieldname': u'against_voucher',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Payable Voucher',
|
||||
'permlevel': 0,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'against_invoice',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 7,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_invoice',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Against Receivable',
|
||||
'label': u'Against Receivable',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'against_invoice',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Receivable Voucher',
|
||||
'oldfieldname': u'against_invoice',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Receivable Voucher',
|
||||
'permlevel': 0,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'against_jv',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 8,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_jv',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Against JV',
|
||||
'label': u'Against JV',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'against_jv',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Journal Voucher',
|
||||
'oldfieldname': u'against_jv',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Journal Voucher',
|
||||
'permlevel': 0,
|
||||
'search_index': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'is_advance',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Is Advance',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'is_advance',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'No\nYes',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'is_advance',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 9,
|
||||
'label': 'Is Advance',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'is_advance',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'No\nYes',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'against_account',
|
||||
'fieldtype': 'Text',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_account',
|
||||
'fieldtype': u'Text',
|
||||
'hidden': 1,
|
||||
'idx': 10,
|
||||
'label': 'Against Account',
|
||||
'label': u'Against Account',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'against_account',
|
||||
'oldfieldtype': 'Text',
|
||||
'oldfieldname': u'against_account',
|
||||
'oldfieldtype': u'Text',
|
||||
'permlevel': 0
|
||||
}
|
||||
]
|
@ -3,308 +3,291 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2011-07-22 17:47:57',
|
||||
'creation': '2011-07-27 13:14:28',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-07-27 15:33:55',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:43:53',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': '1311555967',
|
||||
'colour': 'White:FFF',
|
||||
'_last_update': u'1311555967',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Simple',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 21
|
||||
'version': 24
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'Lease Agreement',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'Lease Agreement',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'Lease Agreement',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'Lease Agreement',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
},
|
||||
|
||||
# DocType, Lease Agreement
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'Lease Agreement'
|
||||
'name': u'Lease Agreement'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts User',
|
||||
'role': u'Accounts User',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 2,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'Accounts User'
|
||||
'role': u'Accounts User'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 3,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts Manager',
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 4,
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'Accounts Manager'
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'naming_series',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 1,
|
||||
'label': 'Naming Series',
|
||||
'options': '\nLA',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Naming Series',
|
||||
'no_copy': 1,
|
||||
'options': u'\nLA',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 2,
|
||||
'label': 'Lessee Info.',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Lessee Info.',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'account',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 3,
|
||||
'label': 'Lessee Account',
|
||||
'options': 'Account',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'lessee_father',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 4,
|
||||
'label': 'Lessee Father',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'lessee_father',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Lessee Father',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'lessee_nic',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 5,
|
||||
'label': 'Lessee NIC',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'lessee_nic',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Lessee NIC',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'lessee_contact',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 6,
|
||||
'label': 'Lessee Contact',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'lessee_contact',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Lessee Contact',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'lessee_address',
|
||||
'fieldtype': 'Text',
|
||||
'idx': 7,
|
||||
'label': 'Lessee Address',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'lessee_address',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Lessee Address',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 8,
|
||||
'label': 'Vehicle Info.',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Vehicle Info.',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'model_no',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 9,
|
||||
'label': 'Model No',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'model_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Model No',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'engine_no',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 10,
|
||||
'label': 'Engine No',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'engine_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Engine No',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'chassis_no',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 11,
|
||||
'label': 'Chassis No',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'chassis_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Chassis No',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 12,
|
||||
'label': 'Invoice and Payment Info.',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Invoice and Payment Info.',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'invoice',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 13,
|
||||
'label': 'Invoice',
|
||||
'options': 'Receivable Voucher',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'invoice',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Invoice',
|
||||
'options': u'Receivable Voucher',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'invoice_amount',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 14,
|
||||
'label': 'Invoice Amount',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'invoice_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Invoice Amount',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'down_payment',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 15,
|
||||
'label': 'Down Payment',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'down_payment',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Down Payment',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'start_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 16,
|
||||
'label': 'Start Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'start_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Start Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'no_of_installments',
|
||||
'fieldtype': 'Int',
|
||||
'idx': 17,
|
||||
'label': 'No of Installments',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'no_of_installments',
|
||||
'fieldtype': u'Int',
|
||||
'label': u'No of Installments',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'installment_amount',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 18,
|
||||
'label': 'Installment Amount',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'installment_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Installment Amount',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 19,
|
||||
'label': 'Generate',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Generate',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'installments',
|
||||
'fieldtype': 'Table',
|
||||
'idx': 20,
|
||||
'label': 'Installments',
|
||||
'options': 'Lease Installment',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'installments',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Installments',
|
||||
'options': u'Lease Installment',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 21,
|
||||
'label': 'Installment Reciept',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Installment Reciept',
|
||||
'permlevel': 0
|
||||
}
|
||||
]
|
@ -5,75 +5,78 @@
|
||||
{
|
||||
'creation': '2010-10-25 17:25:22',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-12-23 13:34:27',
|
||||
'modified_by': 'umair@iwebnotes.com',
|
||||
'owner': 'jai@webnotestech.com'
|
||||
'modified': '2012-03-21 12:39:36',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'jai@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': 'PCE/.###',
|
||||
'colour': 'White:FFF',
|
||||
'_last_update': u'1311621379',
|
||||
'autoname': u'PCE/.###',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'search_fields': 'posting_date, fiscal_year',
|
||||
'section_style': 'Simple',
|
||||
'server_code_error': ' ',
|
||||
'version': 121
|
||||
'search_fields': u'posting_date, fiscal_year',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 123
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'Period Closing Voucher',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'Period Closing Voucher',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'Period Closing Voucher',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'Period Closing Voucher',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
},
|
||||
|
||||
# DocType, Period Closing Voucher
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'Period Closing Voucher'
|
||||
'name': u'Period Closing Voucher'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'System Manager'
|
||||
'role': u'System Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'Accounts Manager'
|
||||
'role': u'Accounts Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'System Manager'
|
||||
'role': u'System Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'Accounts Manager'
|
||||
'role': u'Accounts Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
@ -81,10 +84,9 @@
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'System Manager',
|
||||
'role': u'System Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
@ -93,161 +95,149 @@
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 2,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts Manager',
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 1,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'transaction_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 2,
|
||||
'label': 'Transaction Date',
|
||||
'oldfieldname': 'transaction_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'transaction_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Transaction Date',
|
||||
'oldfieldname': u'transaction_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'posting_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 3,
|
||||
'label': 'Posting Date',
|
||||
'oldfieldname': 'posting_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'posting_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Posting Date',
|
||||
'oldfieldname': u'posting_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'fiscal_year',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 4,
|
||||
'label': 'Closing Fiscal Year',
|
||||
'oldfieldname': 'fiscal_year',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Fiscal Year',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'fiscal_year',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Closing Fiscal Year',
|
||||
'oldfieldname': u'fiscal_year',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Fiscal Year',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amended_from',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 5,
|
||||
'label': 'Amended From',
|
||||
'oldfieldname': 'amended_from',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amended_from',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amended From',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'amended_from',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amendment_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 6,
|
||||
'label': 'Amendment Date',
|
||||
'oldfieldname': 'amendment_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amendment_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Amendment Date',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'amendment_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'company',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 7,
|
||||
'label': 'Company',
|
||||
'oldfieldname': 'company',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Company',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Company',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 8,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'closing_account_head',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 9,
|
||||
'label': 'Closing Account Head',
|
||||
'oldfieldname': 'closing_account_head',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Account',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'closing_account_head',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Closing Account Head',
|
||||
'oldfieldname': u'closing_account_head',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'HTML',
|
||||
'idx': 10,
|
||||
'label': 'CoA Help',
|
||||
'oldfieldtype': 'HTML',
|
||||
'options': '<a href="javascript:cur_frm.cscript.acc_help();">To create Account Head, click here</a>',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'HTML',
|
||||
'label': u'CoA Help',
|
||||
'oldfieldtype': u'HTML',
|
||||
'options': u'<a href="javascript:cur_frm.cscript.acc_help();">To create Account Head, click here</a>',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'remarks',
|
||||
'fieldtype': 'Small Text',
|
||||
'idx': 11,
|
||||
'label': 'Remarks',
|
||||
'oldfieldname': 'remarks',
|
||||
'oldfieldtype': 'Small Text',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'remarks',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Remarks',
|
||||
'oldfieldname': u'remarks',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'cancel_reason',
|
||||
'fieldtype': 'Small Text',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cancel_reason',
|
||||
'fieldtype': u'Small Text',
|
||||
'hidden': 1,
|
||||
'idx': 12,
|
||||
'label': 'Cancel Reason',
|
||||
'oldfieldname': 'cancel_reason',
|
||||
'oldfieldtype': 'Small Text',
|
||||
'label': u'Cancel Reason',
|
||||
'oldfieldname': u'cancel_reason',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'search_index': 0
|
||||
@ -255,39 +245,36 @@
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 13,
|
||||
'label': 'Repost Account Balances',
|
||||
'oldfieldtype': 'Section Break',
|
||||
'options': 'Simple',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Repost Account Balances',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'options': u'Simple',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'next_fiscal_year',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 14,
|
||||
'label': 'Fiscal Year (For Reposting)',
|
||||
'oldfieldname': 'next_fiscal_year',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Fiscal Year',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'next_fiscal_year',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Fiscal Year (For Reposting)',
|
||||
'oldfieldname': u'next_fiscal_year',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Fiscal Year',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 15,
|
||||
'label': 'Repost',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'repost_account_balances',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Repost',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'repost_account_balances',
|
||||
'permlevel': 0
|
||||
}
|
||||
]
|
@ -5,40 +5,43 @@
|
||||
{
|
||||
'creation': '2010-12-15 08:39:23',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-12-10 11:29:51',
|
||||
'modified_by': 'rahul@webnotestech.com',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:39:49',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': 'POS/.####',
|
||||
'colour': 'White:FFF',
|
||||
'_last_update': u'1322549700',
|
||||
'autoname': u'POS/.####',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Simple',
|
||||
'server_code_error': ' ',
|
||||
'version': 27
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 33
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'POS Setting',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'POS Setting',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'POS Setting',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'POS Setting',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1
|
||||
},
|
||||
@ -46,15 +49,14 @@
|
||||
# DocType, POS Setting
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'POS Setting'
|
||||
'name': u'POS Setting'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 1,
|
||||
'role': 'System Manager',
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'System Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
},
|
||||
@ -62,247 +64,219 @@
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 2,
|
||||
'role': 'System Manager',
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 3,
|
||||
'role': 'Accounts Manager',
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts Manager',
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 4,
|
||||
'role': 'Accounts User'
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts User'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'user',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 1,
|
||||
'label': 'User',
|
||||
'oldfieldname': 'user',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Profile'
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'user',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'User',
|
||||
'oldfieldname': u'user',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Profile'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'territory',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 2,
|
||||
'label': 'Territory',
|
||||
'oldfieldname': 'territory',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Territory',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'territory',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Territory',
|
||||
'oldfieldname': u'territory',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Territory',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'naming_series',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 3,
|
||||
'label': 'Series',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Series',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'naming_series',
|
||||
'oldfieldtype': 'Select',
|
||||
'oldfieldname': u'naming_series',
|
||||
'oldfieldtype': u'Select',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'currency',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 4,
|
||||
'label': 'Currency',
|
||||
'oldfieldname': 'currency',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Currency',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'currency',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Currency',
|
||||
'oldfieldname': u'currency',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Currency',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'default': '1.00',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'conversion_rate',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 5,
|
||||
'label': 'Conversion Rate',
|
||||
'oldfieldname': 'conversion_rate',
|
||||
'oldfieldtype': 'Currency',
|
||||
'colour': u'White:FFF',
|
||||
'default': u'1',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'conversion_rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Conversion Rate',
|
||||
'oldfieldname': u'conversion_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'price_list_name',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 6,
|
||||
'label': 'Price List',
|
||||
'oldfieldname': 'price_list_name',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Price List',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'price_list_name',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Price List',
|
||||
'oldfieldname': u'price_list_name',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Price List',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'company',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 7,
|
||||
'label': 'Company',
|
||||
'oldfieldname': 'company',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Company',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Company',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 8,
|
||||
'oldfieldtype': 'Column Break'
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'customer_account',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 9,
|
||||
'label': 'Customer Account',
|
||||
'oldfieldname': 'customer_account',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Account',
|
||||
'reqd': 0,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'customer_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Customer Account',
|
||||
'oldfieldname': u'customer_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'cash_bank_account',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 10,
|
||||
'label': 'Cash/Bank Account',
|
||||
'oldfieldname': 'cash_bank_account',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Account',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cash_bank_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cash/Bank Account',
|
||||
'oldfieldname': u'cash_bank_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'income_account',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 11,
|
||||
'label': 'Income Account',
|
||||
'oldfieldname': 'income_account',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Account',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'income_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Income Account',
|
||||
'oldfieldname': u'income_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'warehouse',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 12,
|
||||
'label': 'Warehouse',
|
||||
'oldfieldname': 'warehouse',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Warehouse',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'warehouse',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Warehouse',
|
||||
'oldfieldname': u'warehouse',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Warehouse',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'cost_center',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 13,
|
||||
'label': 'Cost Center',
|
||||
'oldfieldname': 'cost_center',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Cost Center',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'charge',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 14,
|
||||
'label': 'Charge',
|
||||
'oldfieldname': 'charge',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Other Charges',
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'charge',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Charge',
|
||||
'oldfieldname': u'charge',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Other Charges'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'letter_head',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 15,
|
||||
'label': 'Letter Head',
|
||||
'oldfieldname': 'letter_head',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Letter Head',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'letter_head',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Letter Head',
|
||||
'oldfieldname': u'letter_head',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Letter Head',
|
||||
'print_hide': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'tc_name',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 16,
|
||||
'label': 'Terms',
|
||||
'oldfieldname': 'tc_name',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Term',
|
||||
'search_index': 0
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'tc_name',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Terms',
|
||||
'oldfieldname': u'tc_name',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Term'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'select_print_heading',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 17,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'select_print_heading',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 0,
|
||||
'label': 'Select Print Heading',
|
||||
'oldfieldname': 'select_print_heading',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Print Heading'
|
||||
'label': u'Select Print Heading',
|
||||
'oldfieldname': u'select_print_heading',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Print Heading'
|
||||
}
|
||||
]
|
@ -5,33 +5,34 @@
|
||||
{
|
||||
'creation': '2010-08-08 17:09:27',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-20 14:06:57',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:29:18',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Tray',
|
||||
'server_code_error': ' ',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
'version': 2
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Link',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Link',
|
||||
'name': '__common__',
|
||||
'oldfieldtype': 'Link',
|
||||
'parent': 'TDS Category Account',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType',
|
||||
'oldfieldtype': u'Link',
|
||||
'parent': u'TDS Category Account',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
@ -39,28 +40,26 @@
|
||||
# DocType, TDS Category Account
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'TDS Category Account'
|
||||
'name': u'TDS Category Account'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'company',
|
||||
'idx': 2,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'in_filter': 1,
|
||||
'label': 'Company',
|
||||
'oldfieldname': 'company',
|
||||
'options': 'Company',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'options': u'Company',
|
||||
'search_index': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'account_head',
|
||||
'idx': 3,
|
||||
'label': 'Account Head',
|
||||
'oldfieldname': 'account_head',
|
||||
'options': 'Account'
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account_head',
|
||||
'label': u'Account Head',
|
||||
'oldfieldname': u'account_head',
|
||||
'options': u'Account'
|
||||
}
|
||||
]
|
@ -5,47 +5,48 @@
|
||||
{
|
||||
'creation': '2010-08-08 17:09:27',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-11-03 11:48:59',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-21 12:29:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
'in_create': 0,
|
||||
'module': 'Accounts',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': 'Simple',
|
||||
'server_code_error': ' ',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 223
|
||||
'version': 224
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': 'TDS Payment',
|
||||
'parentfield': 'fields',
|
||||
'parenttype': 'DocType'
|
||||
'parent': u'TDS Payment',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': 'TDS Payment',
|
||||
'parentfield': 'permissions',
|
||||
'parenttype': 'DocType',
|
||||
'parent': u'TDS Payment',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
},
|
||||
|
||||
# DocType, TDS Payment
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': 'TDS Payment'
|
||||
'name': u'TDS Payment'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
@ -53,10 +54,9 @@
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'Accounts User',
|
||||
'role': u'Accounts User',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
},
|
||||
@ -66,10 +66,9 @@
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 2,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'System Manager',
|
||||
'role': u'System Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
@ -79,10 +78,9 @@
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 3,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts User',
|
||||
'role': u'Accounts User',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
@ -92,119 +90,110 @@
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 4,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': 'Accounts Manager',
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': 'DocPerm',
|
||||
'idx': 5,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': 'All'
|
||||
'role': u'All'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 1,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'from_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 2,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'from_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': 'From Date',
|
||||
'oldfieldname': 'from_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'label': u'From Date',
|
||||
'oldfieldname': u'from_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'to_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 3,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'to_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': 'To Date',
|
||||
'oldfieldname': 'to_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'label': u'To Date',
|
||||
'oldfieldname': u'to_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'tds_category',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 4,
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'tds_category',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'TDS Category',
|
||||
'oldfieldname': 'tds_category',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'TDS Category',
|
||||
'label': u'TDS Category',
|
||||
'oldfieldname': u'tds_category',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'TDS Category',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 5,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': 'To manage multiple series please go to Setup > Series Setup',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'naming_series',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 6,
|
||||
'label': 'Naming Series',
|
||||
'description': u'To manage multiple series please go to Setup > Series Setup',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Naming Series',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'naming_series',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'TDSP',
|
||||
'oldfieldname': u'naming_series',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'TDSP',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'fiscal_year',
|
||||
'fieldtype': 'Select',
|
||||
'idx': 7,
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'fiscal_year',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': 'Fiscal Year',
|
||||
'oldfieldname': 'fiscal_year',
|
||||
'oldfieldtype': 'Select',
|
||||
'options': 'link:Fiscal Year',
|
||||
'label': u'Fiscal Year',
|
||||
'oldfieldname': u'fiscal_year',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Fiscal Year',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
@ -212,240 +201,222 @@
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amended_from',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 8,
|
||||
'label': 'Amended From',
|
||||
'oldfieldname': 'amended_from',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amended_from',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amended From',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'amended_from',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': 'The date at which current entry is corrected in the system.',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'amendment_date',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 9,
|
||||
'label': 'Amendment Date',
|
||||
'oldfieldname': 'amendment_date',
|
||||
'oldfieldtype': 'Date',
|
||||
'description': u'The date at which current entry is corrected in the system.',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amendment_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Amendment Date',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'amendment_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 10,
|
||||
'oldfieldtype': 'Section Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 11,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'company',
|
||||
'fieldtype': 'Link',
|
||||
'idx': 12,
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': 'Company',
|
||||
'oldfieldname': 'company',
|
||||
'oldfieldtype': 'Link',
|
||||
'options': 'Company',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Company',
|
||||
'permlevel': 0,
|
||||
'search_index': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'registration_details',
|
||||
'fieldtype': 'Small Text',
|
||||
'idx': 13,
|
||||
'label': 'Registration Details',
|
||||
'oldfieldname': 'registration_details',
|
||||
'oldfieldtype': 'Small Text',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'registration_details',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Registration Details',
|
||||
'oldfieldname': u'registration_details',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'remarks',
|
||||
'fieldtype': 'Small Text',
|
||||
'idx': 14,
|
||||
'label': 'Remark',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'remarks',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Remark',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': 'remarks',
|
||||
'oldfieldtype': 'Small Text',
|
||||
'oldfieldname': u'remarks',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 15,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': '50%'
|
||||
'width': u'50%'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'HTML',
|
||||
'idx': 16,
|
||||
'oldfieldtype': 'HTML',
|
||||
'options': '<b>Please Update Cheque No., BSR Code, Challan ID no. after actual payment. Unless you do not get it in Form 16A.</b>',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'HTML',
|
||||
'oldfieldtype': u'HTML',
|
||||
'options': u'<b>Please Update Cheque No., BSR Code, Challan ID no. after actual payment. Unless you do not get it in Form 16A.</b>',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'cheque_no',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 17,
|
||||
'label': 'Cheque / DD No.',
|
||||
'oldfieldname': 'cheque_no',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cheque_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Cheque / DD No.',
|
||||
'oldfieldname': u'cheque_no',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'bsr_code',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 18,
|
||||
'label': 'BSR Code',
|
||||
'oldfieldname': 'bsr_code',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'bsr_code',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'BSR Code',
|
||||
'oldfieldname': u'bsr_code',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'date_of_receipt',
|
||||
'fieldtype': 'Date',
|
||||
'idx': 19,
|
||||
'label': 'Date of Receipt',
|
||||
'oldfieldname': 'date_of_receipt',
|
||||
'oldfieldtype': 'Date',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'date_of_receipt',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Date of Receipt',
|
||||
'oldfieldname': u'date_of_receipt',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'challan_id',
|
||||
'fieldtype': 'Data',
|
||||
'idx': 20,
|
||||
'label': 'Challan ID',
|
||||
'oldfieldname': 'challan_id',
|
||||
'oldfieldtype': 'Data',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'challan_id',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Challan ID',
|
||||
'oldfieldname': u'challan_id',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 21,
|
||||
'label': 'Update',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'update_ack_details',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Update',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'update_ack_details',
|
||||
'permlevel': 0,
|
||||
'report_hide': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 22,
|
||||
'oldfieldtype': 'Section Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 23,
|
||||
'label': 'Get TDS List',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'get_tds_list',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Get TDS List',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'get_tds_list',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'tds_payment_details',
|
||||
'fieldtype': 'Table',
|
||||
'idx': 24,
|
||||
'label': 'TDS Payment Details',
|
||||
'oldfieldname': 'tds_payment_details',
|
||||
'oldfieldtype': 'Table',
|
||||
'options': 'TDS Payment Detail',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'tds_payment_details',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'TDS Payment Details',
|
||||
'oldfieldname': u'tds_payment_details',
|
||||
'oldfieldtype': u'Table',
|
||||
'options': u'TDS Payment Detail',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 25,
|
||||
'oldfieldtype': 'Section Break',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Section Break',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'total_tds',
|
||||
'fieldtype': 'Currency',
|
||||
'idx': 26,
|
||||
'label': 'Total TDS',
|
||||
'oldfieldname': 'total_tds',
|
||||
'oldfieldtype': 'Currency',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_tds',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total TDS',
|
||||
'oldfieldname': u'total_tds',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 27,
|
||||
'label': 'Make Bank Voucher',
|
||||
'oldfieldtype': 'Button',
|
||||
'doctype': u'DocField',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Make Bank Voucher',
|
||||
'oldfieldtype': u'Button',
|
||||
'permlevel': 0,
|
||||
'trigger': 'Client'
|
||||
'trigger': u'Client'
|
||||
}
|
||||
]
|
@ -1,60 +0,0 @@
|
||||
// ERPNext - web based ERP (http://erpnext.com)
|
||||
// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
cur_frm.cscript.onload = function(doc, cdt, cdn){
|
||||
$c('runserverobj', args={'method':'cal_tot_exp','docs':compress_doclist (make_doclist (doc.doctype,doc.name))},
|
||||
function(r, rt) { refresh_many(['year','months']); });
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
|
||||
cur_frm.cscript.employee = function(doc, cdt, cdn){
|
||||
$c('runserverobj', args={'method':'get_doj','docs':compress_doclist (make_doclist (doc.doctype,doc.name))},
|
||||
function(r, rt) { refresh_many(['employee_name','date_of_joining']); });
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
|
||||
cur_frm.cscript.country1 = function(doc, cdt, cdn) {
|
||||
var mydoc=doc;
|
||||
$c('runserverobj', args={'method':'check_state','arg':doc.country1, 'docs':compress_doclist([doc])},
|
||||
function(r,rt){
|
||||
|
||||
if(r.message) {
|
||||
var doc = locals[mydoc.doctype][mydoc.name];
|
||||
doc.state1 = '';
|
||||
get_field(doc.doctype, 'state1' , doc.name).options = r.message;
|
||||
refresh_field('state1');
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
cur_frm.cscript.country2 = function(doc, cdt, cdn) {
|
||||
var mydoc=doc;
|
||||
$c('runserverobj', args={'method':'check_state', 'arg':doc.country2,'docs':compress_doclist([doc])},
|
||||
function(r,rt){
|
||||
|
||||
if(r.message) {
|
||||
var doc = locals[mydoc.doctype][mydoc.name];
|
||||
doc.state2 = '';
|
||||
get_field(doc.doctype, 'state2' , doc.name).options = r.message;
|
||||
refresh_field('state2');
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# ERPNext - web based ERP (http://erpnext.com)
|
||||
# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Please edit this list and import only required elements
|
||||
import webnotes
|
||||
|
||||
from webnotes.utils import add_days, add_months, add_years, cint, cstr, date_diff, default_fields, flt, fmt_money, formatdate, generate_hash, getTraceback, get_defaults, get_first_day, get_last_day, getdate, has_common, month_name, now, nowdate, replace_newlines, sendmail, set_default, str_esc_quote, user_format, validate_email_add
|
||||
from webnotes.model import db_exists
|
||||
from webnotes.model.doc import Document, addchild, removechild, getchildren, make_autoname, SuperDocType
|
||||
from webnotes.model.doclist import getlist, copy_doclist
|
||||
from webnotes.model.code import get_obj, get_server_obj, run_server_obj, updatedb, check_syntax
|
||||
from webnotes import session, form, is_testing, msgprint, errprint
|
||||
|
||||
set = webnotes.conn.set
|
||||
sql = webnotes.conn.sql
|
||||
get_value = webnotes.conn.get_value
|
||||
in_transaction = webnotes.conn.in_transaction
|
||||
convert_to_lists = webnotes.conn.convert_to_lists
|
||||
|
||||
# -----------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
class DocType:
|
||||
#init function
|
||||
def __init__(self,doc,doclist=[]):
|
||||
self.doc = doc
|
||||
self.doclist = doclist
|
||||
|
||||
|
||||
#=============================================================
|
||||
def autoname(self):
|
||||
self.doc.name = make_autoname('EMP-'+self.doc.employee)
|
||||
|
||||
#=============================================================
|
||||
def validate(self):
|
||||
if self.doc.personal_email:
|
||||
if not validate_email_add(self.doc.personal_email):
|
||||
msgprint("Please enter valid Personal Email")
|
||||
raise Exception
|
||||
ret = sql("select name from `tabEmployee Profile` where employee = '%s' and name !='%s'"%(self.doc.employee,self.doc.name))
|
||||
if ret:
|
||||
msgprint("Employee Profile is already created for Employee : '%s'"%self.doc.employee)
|
||||
raise Exception
|
||||
|
||||
#=============================================================
|
||||
def get_doj(self):
|
||||
ret_doj = sql("select employee_name,date_of_joining from `tabEmployee` where name = '%s'"%self.doc.employee)
|
||||
if ret_doj:
|
||||
set(self.doc, 'employee_name', cstr(ret_doj[0][0]))
|
||||
set(self.doc,'date_of_joining', ret_doj[0][1].strftime('%Y-%m-%d'))
|
||||
|
||||
#=============================================================
|
||||
#calculate total experience in company - total year and month
|
||||
def cal_tot_exp(self):
|
||||
if not self.doc.date_of_joining:
|
||||
self.get_doj()
|
||||
|
||||
import datetime
|
||||
today = nowdate()
|
||||
|
||||
diff = (getdate(today) - getdate(self.doc.date_of_joining)).days
|
||||
diff1 = cint(diff)/365
|
||||
a = cint(diff)%365
|
||||
diff2 = cint(a)/30
|
||||
if(cint(diff1)<0):
|
||||
set(self.doc,'year', 0)
|
||||
else:
|
||||
set(self.doc,'year', cint(diff1))
|
||||
if(cint(diff1)<0):
|
||||
set(self.doc,'months', 0)
|
||||
else:
|
||||
set(self.doc,'months', cint(diff2))
|
||||
|
||||
#=============================================================
|
||||
def check_state(self,country):
|
||||
return "\n" + "\n".join([i[0] for i in sql("select state_name from `tabState` where `tabState`.country='%s' " %country)])
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user