Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2011-07-06 10:47:50 +05:30
commit 486ec28b85
1441 changed files with 66656 additions and 103051 deletions

View File

@ -1,4 +0,0 @@
Install these python packages(using easy_install??
1.suds
2.

View File

@ -0,0 +1,651 @@
# DocType Mapper, Delivery Note-Receivable Voucher
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:34',
'docstatus': 0,
'modified': '2011-06-15 14:42:33',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'name': '__common__',
'parent': 'Delivery Note-Receivable Voucher',
'parentfield': 'table_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'map': 'Yes',
'name': '__common__',
'parent': 'Delivery Note-Receivable Voucher',
'parentfield': 'field_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all DocType Mapper
{
'doctype': 'DocType Mapper',
'from_doctype': 'Delivery Note',
'module': 'Accounts',
'name': '__common__',
'ref_doc_submitted': 1,
'to_doctype': 'Receivable Voucher'
},
# DocType Mapper, Delivery Note-Receivable Voucher
{
'doctype': 'DocType Mapper',
'name': 'Delivery Note-Receivable Voucher'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_person',
'idx': 1,
'match_id': 0,
'to_field': 'contact_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer',
'idx': 2,
'match_id': 0,
'to_field': 'customer'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer',
'idx': 3,
'match_id': 0,
'to_field': 'customer'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_name',
'idx': 4,
'match_id': 0,
'to_field': 'customer_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'address_display',
'idx': 5,
'match_id': 0,
'to_field': 'address_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_display',
'idx': 6,
'match_id': 0,
'to_field': 'contact_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_mobile',
'idx': 7,
'match_id': 0,
'to_field': 'contact_mobile'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_email',
'idx': 8,
'match_id': 0,
'to_field': 'contact_email'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_group',
'idx': 9,
'match_id': 0,
'to_field': 'customer_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'currency',
'idx': 10,
'match_id': 0,
'to_field': 'currency'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'conversion_rate',
'idx': 11,
'match_id': 0,
'to_field': 'conversion_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'company',
'idx': 12,
'match_id': 0,
'to_field': 'company'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'fiscal_year',
'idx': 13,
'match_id': 0,
'to_field': 'fiscal_year'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'price_list_name',
'idx': 14,
'match_id': 0,
'to_field': 'price_list_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge',
'idx': 15,
'match_id': 0,
'to_field': 'charge'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_code',
'idx': 16,
'match_id': 1,
'to_field': 'item_code'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'terms',
'idx': 17,
'match_id': 0,
'to_field': 'terms'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_name',
'idx': 18,
'match_id': 1,
'to_field': 'item_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'brand',
'idx': 19,
'match_id': 1,
'to_field': 'brand'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 20,
'match_id': 1,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'batch_no',
'idx': 21,
'match_id': 1,
'to_field': 'batch_no'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'serial_no',
'idx': 22,
'match_id': 1,
'to_field': 'serial_no'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_group',
'idx': 23,
'match_id': 1,
'to_field': 'item_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)',
'idx': 24,
'match_id': 1,
'to_field': 'qty'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'export_rate',
'idx': 25,
'match_id': 1,
'to_field': 'export_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'base_ref_rate',
'idx': 26,
'match_id': 1,
'to_field': 'base_ref_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'ref_rate',
'idx': 27,
'match_id': 1,
'to_field': 'ref_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'basic_rate',
'idx': 28,
'match_id': 1,
'to_field': 'basic_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'parent',
'idx': 29,
'match_id': 1,
'to_field': 'delivery_note'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'name',
'idx': 30,
'match_id': 1,
'to_field': 'dn_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'prevdoc_docname',
'idx': 31,
'match_id': 1,
'to_field': 'sales_order'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'prevdoc_detail_docname',
'idx': 32,
'match_id': 1,
'to_field': 'so_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'export_rate',
'idx': 33,
'match_id': 1,
'to_field': 'export_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'stock_uom',
'idx': 34,
'match_id': 1,
'to_field': 'stock_uom'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.basic_rate)',
'idx': 35,
'match_id': 1,
'to_field': 'amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.export_rate)',
'idx': 36,
'match_id': 1,
'to_field': 'export_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'adj_rate',
'idx': 37,
'match_id': 1,
'to_field': 'adj_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_tax_rate',
'idx': 38,
'match_id': 1,
'to_field': 'item_tax_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge_type',
'idx': 39,
'match_id': 2,
'to_field': 'charge_type'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'row_id',
'idx': 40,
'match_id': 2,
'to_field': 'row_id'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_wise_tax_detail',
'idx': 41,
'match_id': 2,
'to_field': 'item_wise_tax_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 42,
'match_id': 2,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'account_head',
'idx': 43,
'match_id': 2,
'to_field': 'account_head'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rate',
'idx': 44,
'match_id': 2,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'tax_amount',
'idx': 45,
'match_id': 2,
'to_field': 'tax_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total',
'idx': 46,
'match_id': 2,
'to_field': 'total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_person',
'idx': 47,
'match_id': 3,
'to_field': 'sales_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_designation',
'idx': 48,
'match_id': 3,
'to_field': 'sales_designation'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'allocated_percentage',
'idx': 49,
'match_id': 3,
'to_field': 'allocated_percentage'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'allocated_amount',
'idx': 50,
'match_id': 3,
'to_field': 'allocated_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'incentives',
'idx': 51,
'match_id': 3,
'to_field': 'incentives'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'source',
'idx': 52,
'match_id': 0,
'to_field': 'source'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'campaign',
'idx': 53,
'match_id': 0,
'to_field': 'campaign'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'territory',
'idx': 54,
'match_id': 0,
'to_field': 'territory'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_partner',
'idx': 55,
'match_id': 0,
'to_field': 'sales_partner'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'commission_rate',
'idx': 56,
'match_id': 0,
'to_field': 'commission_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_commission',
'idx': 57,
'match_id': 0,
'to_field': 'total_commission'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_address',
'idx': 58,
'match_id': 0,
'to_field': 'customer_address'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'net_total',
'idx': 59,
'match_id': 0,
'to_field': 'net_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'grand_total',
'idx': 60,
'match_id': 0,
'to_field': 'grand_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'project_name',
'idx': 61,
'match_id': 0,
'to_field': 'project_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'warehouse',
'idx': 62,
'match_id': 1,
'to_field': 'warehouse'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_table': 'Delivery Note',
'idx': 1,
'match_id': 0,
'to_table': 'Receivable Voucher',
'validation_logic': 'docstatus=1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'delivery_note_details',
'from_table': 'Delivery Note Detail',
'idx': 2,
'match_id': 1,
'to_field': 'entries',
'to_table': 'RV Detail',
'validation_logic': '(qty > ifnull(billed_qty, 0) or amount > ifnull(billed_amt, 0)) and docstatus = 1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'other_charges',
'from_table': 'RV Tax Detail',
'idx': 3,
'match_id': 2,
'to_field': 'other_charges',
'to_table': 'RV Tax Detail',
'validation_logic': 'name is not null'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'sales_team',
'from_table': 'Sales Team',
'idx': 4,
'match_id': 3,
'to_field': 'sales_team',
'to_table': 'Sales Team',
'validation_logic': 'name is not null'
}
]

View File

@ -0,0 +1,90 @@
# DocType Mapper, Project-Receivable Voucher
[
# These values are common in all dictionaries
{
'creation': '2010-09-01 15:48:10',
'docstatus': 0,
'modified': '2010-09-01 14:24:38',
'modified_by': 'Administrator',
'owner': 'ashwini@webnotestech.com'
},
# These values are common for all Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_table': 'Project',
'idx': 1,
'match_id': 0,
'name': '__common__',
'parent': 'Project-Receivable Voucher',
'parentfield': 'table_mapper_details',
'parenttype': 'DocType Mapper',
'to_table': 'Receivable Voucher',
'validation_logic': 'name is not null'
},
# These values are common for all Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'map': 'Yes',
'match_id': 0,
'name': '__common__',
'parent': 'Project-Receivable Voucher',
'parentfield': 'field_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all DocType Mapper
{
'doctype': 'DocType Mapper',
'from_doctype': 'Project',
'module': 'Accounts',
'name': '__common__',
'to_doctype': 'Receivable Voucher'
},
# DocType Mapper, Project-Receivable Voucher
{
'doctype': 'DocType Mapper',
'name': 'Project-Receivable Voucher'
},
# Field Mapper Detail
{
'checking_operator': '=',
'doctype': 'Field Mapper Detail',
'from_field': 'customer',
'idx': 1,
'to_field': 'customer'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_name',
'idx': 2,
'to_field': 'customer_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_address',
'idx': 3,
'to_field': 'customer_address'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'territory',
'idx': 4,
'to_field': 'territory'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail'
}
]

View File

@ -0,0 +1,405 @@
# DocType Mapper, Purchase Order-Payable Voucher
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-05-13 11:26:20',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'name': '__common__',
'parent': 'Purchase Order-Payable Voucher',
'parentfield': 'table_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'map': 'Yes',
'name': '__common__',
'parent': 'Purchase Order-Payable Voucher',
'parentfield': 'field_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all DocType Mapper
{
'doctype': 'DocType Mapper',
'from_doctype': 'Purchase Order',
'module': 'Accounts',
'name': '__common__',
'ref_doc_submitted': 1,
'to_doctype': 'Payable Voucher'
},
# DocType Mapper, Purchase Order-Payable Voucher
{
'doctype': 'DocType Mapper',
'name': 'Purchase Order-Payable Voucher'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'company',
'idx': 1,
'match_id': 0,
'to_field': 'company'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'fiscal_year',
'idx': 2,
'match_id': 0,
'to_field': 'fiscal_year'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'conversion_rate',
'idx': 3,
'match_id': 0,
'to_field': 'conversion_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'currency',
'idx': 4,
'match_id': 0,
'to_field': 'currency'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier',
'idx': 5,
'match_id': 0,
'to_field': 'supplier'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier_name',
'idx': 6,
'match_id': 0,
'to_field': 'supplier_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier_name',
'idx': 6,
'match_id': 1,
'to_field': 'supplier_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier_address',
'idx': 7,
'match_id': 0,
'to_field': 'supplier_address'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_person',
'idx': 8,
'match_id': 0,
'to_field': 'contact_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'address_display',
'idx': 9,
'match_id': 0,
'to_field': 'address_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_display',
'idx': 10,
'match_id': 0,
'to_field': 'contact_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_mobile',
'idx': 11,
'match_id': 0,
'to_field': 'contact_mobile'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_email',
'idx': 12,
'match_id': 0,
'to_field': 'contact_email'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_code',
'idx': 13,
'match_id': 1,
'to_field': 'item_code'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_name',
'idx': 14,
'match_id': 1,
'to_field': 'item_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'brand',
'idx': 15,
'match_id': 1,
'to_field': 'brand'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)',
'idx': 16,
'match_id': 1,
'to_field': 'qty'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'purchase_rate',
'idx': 17,
'match_id': 1,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
'idx': 18,
'match_id': 1,
'to_field': 'amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'import_rate',
'idx': 19,
'match_id': 1,
'to_field': 'import_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
'idx': 20,
'match_id': 1,
'to_field': 'import_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 21,
'match_id': 1,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'parent',
'idx': 22,
'match_id': 1,
'to_field': 'purchase_order'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'name',
'idx': 23,
'match_id': 1,
'to_field': 'po_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_group',
'idx': 24,
'match_id': 1,
'to_field': 'item_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_tax_rate',
'idx': 25,
'match_id': 1,
'to_field': 'item_tax_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'category',
'idx': 26,
'match_id': 2,
'to_field': 'category'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'add_deduct_tax',
'idx': 27,
'match_id': 2,
'to_field': 'add_deduct_tax'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge_type',
'idx': 28,
'match_id': 2,
'to_field': 'charge_type'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'row_id',
'idx': 29,
'match_id': 2,
'to_field': 'row_id'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_wise_tax_detail',
'idx': 30,
'match_id': 2,
'to_field': 'item_wise_tax_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 31,
'match_id': 2,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'account_head',
'idx': 32,
'match_id': 2,
'to_field': 'account_head'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'cost_center',
'idx': 33,
'match_id': 2,
'to_field': 'cost_center'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rate',
'idx': 34,
'match_id': 2,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'project_name',
'idx': 35,
'match_id': 0,
'to_field': 'project_name'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_table': 'Purchase Order',
'idx': 1,
'match_id': 0,
'to_table': 'Payable Voucher',
'validation_logic': 'docstatus =1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'po_details',
'from_table': 'PO Detail',
'idx': 2,
'match_id': 1,
'to_field': 'entries',
'to_table': 'PV Detail',
'validation_logic': 'ifnull(billed_qty,0) < qty'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'purchase_tax_details',
'from_table': 'Purchase Tax Detail',
'idx': 3,
'match_id': 2,
'to_field': 'purchase_tax_details',
'to_table': 'Purchase Tax Detail',
'validation_logic': 'docstatus =1'
}
]

View File

@ -0,0 +1,414 @@
# DocType Mapper, Purchase Receipt-Payable Voucher
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-05-13 12:18:34',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'name': '__common__',
'parent': 'Purchase Receipt-Payable Voucher',
'parentfield': 'table_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'map': 'Yes',
'name': '__common__',
'parent': 'Purchase Receipt-Payable Voucher',
'parentfield': 'field_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all DocType Mapper
{
'doctype': 'DocType Mapper',
'from_doctype': 'Purchase Receipt',
'module': 'Accounts',
'name': '__common__',
'ref_doc_submitted': 1,
'to_doctype': 'Payable Voucher'
},
# DocType Mapper, Purchase Receipt-Payable Voucher
{
'doctype': 'DocType Mapper',
'name': 'Purchase Receipt-Payable Voucher'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'company',
'idx': 1,
'match_id': 0,
'to_field': 'company'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'fiscal_year',
'idx': 2,
'match_id': 0,
'to_field': 'fiscal_year'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier',
'idx': 3,
'match_id': 0,
'to_field': 'supplier'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier_name',
'idx': 4,
'match_id': 0,
'to_field': 'supplier_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'supplier_address',
'idx': 5,
'match_id': 0,
'to_field': 'supplier_address'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_person',
'idx': 6,
'match_id': 0,
'to_field': 'contact_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'address_display',
'idx': 7,
'match_id': 0,
'to_field': 'address_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_display',
'idx': 8,
'match_id': 0,
'to_field': 'contact_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_mobile',
'idx': 9,
'match_id': 0,
'to_field': 'contact_mobile'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_email',
'idx': 10,
'match_id': 0,
'to_field': 'contact_email'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'currency',
'idx': 11,
'match_id': 0,
'to_field': 'currency'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'conversion_rate',
'idx': 12,
'match_id': 0,
'to_field': 'conversion_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_code',
'idx': 13,
'match_id': 1,
'to_field': 'item_code'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_name',
'idx': 14,
'match_id': 1,
'to_field': 'item_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'brand',
'idx': 15,
'match_id': 1,
'to_field': 'brand'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 16,
'match_id': 1,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)',
'idx': 17,
'match_id': 1,
'to_field': 'qty'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'purchase_rate',
'idx': 18,
'match_id': 1,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
'idx': 19,
'match_id': 1,
'to_field': 'amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'import_rate',
'idx': 20,
'match_id': 1,
'to_field': 'import_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
'idx': 21,
'match_id': 1,
'to_field': 'import_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'parent',
'idx': 22,
'match_id': 1,
'to_field': 'purchase_receipt'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'prevdoc_docname',
'idx': 23,
'match_id': 1,
'to_field': 'purchase_order'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'name',
'idx': 24,
'match_id': 1,
'to_field': 'pr_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'prevdoc_detail_docname',
'idx': 25,
'match_id': 1,
'to_field': 'po_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_group',
'idx': 26,
'match_id': 1,
'to_field': 'item_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_tax_rate',
'idx': 27,
'match_id': 1,
'to_field': 'item_tax_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'category',
'idx': 28,
'match_id': 2,
'to_field': 'category'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'add_deduct_tax',
'idx': 29,
'match_id': 2,
'to_field': 'add_deduct_tax'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge_type',
'idx': 30,
'match_id': 2,
'to_field': 'charge_type'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'row_id',
'idx': 31,
'match_id': 2,
'to_field': 'row_id'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_wise_tax_detail',
'idx': 32,
'match_id': 2,
'to_field': 'item_wise_tax_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 33,
'match_id': 2,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'account_head',
'idx': 34,
'match_id': 2,
'to_field': 'account_head'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'cost_center',
'idx': 35,
'match_id': 2,
'to_field': 'cost_center'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rate',
'idx': 36,
'match_id': 2,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'project_name',
'idx': 37,
'match_id': 0,
'to_field': 'project_name'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'purchase_receipt_details',
'from_table': 'Purchase Receipt Detail',
'idx': 1,
'match_id': 1,
'to_field': 'entries',
'to_table': 'PV Detail',
'validation_logic': 'ifnull(billed_qty,0) < qty'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_table': 'Purchase Receipt',
'idx': 2,
'match_id': 0,
'to_table': 'Payable Voucher',
'validation_logic': 'docstatus=1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'purchase_tax_details',
'from_table': 'Purchase Tax Detail',
'idx': 3,
'match_id': 2,
'to_field': 'purchase_tax_details',
'to_table': 'Purchase Tax Detail',
'validation_logic': 'docstatus=1'
}
]

View File

@ -0,0 +1,716 @@
# DocType Mapper, Sales Order-Receivable Voucher
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:36',
'docstatus': 0,
'modified': '2011-05-16 17:34:21',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'name': '__common__',
'parent': 'Sales Order-Receivable Voucher',
'parentfield': 'table_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'map': 'Yes',
'name': '__common__',
'parent': 'Sales Order-Receivable Voucher',
'parentfield': 'field_mapper_details',
'parenttype': 'DocType Mapper'
},
# These values are common for all DocType Mapper
{
'doctype': 'DocType Mapper',
'from_doctype': 'Sales Order',
'module': 'Accounts',
'name': '__common__',
'ref_doc_submitted': 1,
'to_doctype': 'Receivable Voucher'
},
# DocType Mapper, Sales Order-Receivable Voucher
{
'doctype': 'DocType Mapper',
'name': 'Sales Order-Receivable Voucher'
},
# Field Mapper Detail
{
'checking_operator': '=',
'doctype': 'Field Mapper Detail',
'from_field': 'customer',
'idx': 1,
'match_id': 0,
'to_field': 'customer'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_address',
'idx': 2,
'match_id': 0,
'to_field': 'customer_address'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_person',
'idx': 3,
'match_id': 0,
'to_field': 'contact_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_name',
'idx': 4,
'match_id': 0,
'to_field': 'customer_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'address_display',
'idx': 5,
'match_id': 0,
'to_field': 'address_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_display',
'idx': 6,
'match_id': 0,
'to_field': 'contact_display'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_mobile',
'idx': 7,
'match_id': 0,
'to_field': 'contact_mobile'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'contact_email',
'idx': 8,
'match_id': 0,
'to_field': 'contact_email'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'customer_group',
'idx': 10,
'match_id': 0,
'to_field': 'customer_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'company',
'idx': 11,
'match_id': 0,
'to_field': 'company'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'fiscal_year',
'idx': 12,
'match_id': 0,
'to_field': 'fiscal_year'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge',
'idx': 13,
'match_id': 0,
'to_field': 'charge'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'conversion_rate',
'idx': 14,
'match_id': 0,
'to_field': 'conversion_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'price_list_name',
'idx': 15,
'match_id': 0,
'to_field': 'price_list_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'currency',
'idx': 16,
'match_id': 0,
'to_field': 'currency'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_code',
'idx': 17,
'match_id': 1,
'to_field': 'item_code'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_name',
'idx': 18,
'match_id': 1,
'to_field': 'item_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'brand',
'idx': 19,
'match_id': 1,
'to_field': 'brand'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 20,
'match_id': 1,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)',
'idx': 21,
'match_id': 1,
'to_field': 'qty'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'base_ref_rate',
'idx': 22,
'match_id': 1,
'to_field': 'base_ref_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'name',
'idx': 22,
'match_id': 1,
'to_field': 'so_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'ref_rate',
'idx': 23,
'match_id': 1,
'to_field': 'ref_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'export_rate',
'idx': 23,
'match_id': 1,
'to_field': 'export_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'basic_rate',
'idx': 24,
'match_id': 1,
'to_field': 'basic_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_group',
'idx': 25,
'match_id': 1,
'to_field': 'item_group'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'parent',
'idx': 26,
'match_id': 1,
'to_field': 'sales_order'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'stock_uom',
'idx': 27,
'match_id': 1,
'to_field': 'stock_uom'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'name',
'idx': 29,
'match_id': 1,
'to_field': 'export_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'export_rate',
'idx': 30,
'match_id': 1,
'to_field': 'export_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.basic_rate)',
'idx': 31,
'match_id': 1,
'to_field': 'amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.export_rate)',
'idx': 32,
'match_id': 1,
'to_field': 'export_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'adj_rate',
'idx': 33,
'match_id': 1,
'to_field': 'adj_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_tax_rate',
'idx': 34,
'match_id': 1,
'to_field': 'item_tax_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'charge_type',
'idx': 35,
'match_id': 2,
'to_field': 'charge_type'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'row_id',
'idx': 36,
'match_id': 2,
'to_field': 'row_id'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'description',
'idx': 37,
'match_id': 2,
'to_field': 'description'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'account_head',
'idx': 38,
'match_id': 2,
'to_field': 'account_head'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_amount',
'idx': 39,
'match_id': 2,
'to_field': 'total_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'territory',
'idx': 39,
'match_id': 0,
'to_field': 'territory'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_tax_amount',
'idx': 40,
'match_id': 2,
'to_field': 'total_tax_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'item_wise_tax_detail',
'idx': 41,
'match_id': 2,
'to_field': 'item_wise_tax_detail'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'cost_center_other_charges',
'idx': 42,
'match_id': 2,
'to_field': 'cost_center_other_charges'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rate',
'idx': 43,
'match_id': 2,
'to_field': 'rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'tax_amount',
'idx': 44,
'match_id': 2,
'to_field': 'tax_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total',
'idx': 45,
'match_id': 2,
'to_field': 'total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'source',
'idx': 46,
'match_id': 0,
'to_field': 'source'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'campaign',
'idx': 47,
'match_id': 0,
'to_field': 'campaign'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'tc_name',
'idx': 48,
'match_id': 0,
'to_field': 'tc_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'select_print_heading',
'idx': 49,
'match_id': 0,
'to_field': 'select_print_heading'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'terms',
'idx': 50,
'match_id': 0,
'to_field': 'terms'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'net_total',
'idx': 51,
'match_id': 0,
'to_field': 'net_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'grand_total',
'idx': 52,
'match_id': 0,
'to_field': 'grand_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'other_charges_total',
'idx': 53,
'match_id': 0,
'to_field': 'other_charges_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rounded_total',
'idx': 54,
'match_id': 0,
'to_field': 'rounded_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'in_words',
'idx': 55,
'match_id': 0,
'to_field': 'in_words'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'grand_total_export',
'idx': 56,
'match_id': 0,
'to_field': 'grand_total_export'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'rounded_total_export',
'idx': 57,
'match_id': 0,
'to_field': 'rounded_total_export'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'in_words_export',
'idx': 58,
'match_id': 0,
'to_field': 'in_words_export'
},
# Field Mapper Detail
{
'checking_operator': '=',
'doctype': 'Field Mapper Detail',
'from_field': 'project_name',
'idx': 59,
'match_id': 0,
'to_field': 'project_name'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_partner',
'idx': 60,
'match_id': 0,
'to_field': 'sales_partner'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_designation',
'idx': 61,
'match_id': 3,
'to_field': 'sales_designation'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'commission_rate',
'idx': 62,
'match_id': 0,
'to_field': 'commission_rate'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_commission',
'idx': 63,
'match_id': 0,
'to_field': 'total_commission'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'allocated_percentage',
'idx': 64,
'match_id': 3,
'to_field': 'allocated_percentage'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'sales_person',
'idx': 65,
'match_id': 3,
'to_field': 'sales_person'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'allocated_amount',
'idx': 66,
'match_id': 3,
'to_field': 'allocated_amount'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'incentives',
'idx': 67,
'match_id': 3,
'to_field': 'incentives'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'reserved_warehouse',
'idx': 68,
'match_id': 1,
'to_field': 'warehouse'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_table': 'Sales Order',
'idx': 1,
'match_id': 0,
'to_table': 'Receivable Voucher',
'validation_logic': 'docstatus=1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'sales_order_detail',
'from_table': 'Sales Order Detail',
'idx': 2,
'match_id': 1,
'to_field': 'entries',
'to_table': 'RV Detail',
'validation_logic': '(qty > ifnull(billed_qty, 0) or amount > ifnull(billed_amt, 0)) and docstatus = 1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'other_charges',
'from_table': 'RV Tax Detail',
'idx': 3,
'match_id': 2,
'to_field': 'other_charges',
'to_table': 'RV Tax Detail',
'validation_logic': 'name is not null'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'sales_team',
'from_table': 'Sales Team',
'idx': 4,
'match_id': 3,
'to_field': 'sales_team',
'to_table': 'Sales Team',
'validation_logic': 'name is not null'
}
]

View File

@ -1,31 +1,30 @@
[
{
'_last_update': None,
'_user_tags': None,
'creation': '2010-09-25 10:50:37',
'disabled': 'No',
'docstatus': 0,
'doctype': u'Module Def',
'doctype_list': 'GL Mapper, Journal Voucher\nGL Mapper, Payable Voucher\nGL Mapper, Receivable Voucher\nDocType Label, Receivable Voucher\nDocType Label, Payable Voucher\nDocType Label, QA Inspection Report\nDocType Label, Ticket',
'doctype_list': 'GL Mapper, Journal Voucher\nGL Mapper, Payable Voucher\nGL Mapper, Receivable Voucher\nDocType Label, Receivable Voucher\nDocType Label, Payable Voucher',
'file_list': 'finance.gif,FileData/00210',
'idx': None,
'is_hidden': 'No',
'last_updated_date': '2010-12-08 10:13:30',
'modified': '2011-05-24 14:48:44',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'module_desc': 'Data about your payables, receivables and books of accounts',
'module_icon': 'Accounts.gif',
'module_label': 'Accounts',
'module_name': 'Accounts',
'module_page': None,
'module_seq': 5,
'module_seq': 6,
'name': 'Accounts',
'owner': 'Administrator',
'parent': None,
'parentfield': None,
'parenttype': None,
'trash_reason': None,
'widget_code': "var acc_set_tips = function() {\n $c_obj('Module Tip Control', 'get_tip', 'accounts', function(r,rt) { \n if(r.message) {\n $(parent.tip_area).html('<b>Tip: </b>' + r.message).css('display','block');\n }\n } );\n}\n\nacc_set_tips();"
'widget_code': ""
},
{
'click_function': "show_chart_browser('Accounts Browser','Account')",
@ -40,7 +39,7 @@
'hide': None,
'icon': None,
'idx': 1,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01178',
'owner': 'harshada@webnotestech.com',
@ -61,7 +60,7 @@
'hide': None,
'icon': None,
'idx': 2,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01183',
'owner': 'harshada@webnotestech.com',
@ -82,7 +81,7 @@
'hide': None,
'icon': None,
'idx': 3,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01012',
'owner': 'Administrator',
@ -103,7 +102,7 @@
'hide': None,
'icon': None,
'idx': 4,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01013',
'owner': 'Administrator',
@ -124,7 +123,7 @@
'hide': None,
'icon': None,
'idx': 5,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01014',
'owner': 'Administrator',
@ -145,7 +144,7 @@
'hide': None,
'icon': 'table.gif',
'idx': 6,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01015',
'owner': 'Administrator',
@ -166,7 +165,7 @@
'hide': None,
'icon': None,
'idx': 7,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01016',
'owner': 'saumil@webnotestech.com',
@ -187,7 +186,7 @@
'hide': None,
'icon': None,
'idx': 8,
'modified': '2011-05-25 10:54:06',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01017',
'owner': 'Administrator',
@ -208,7 +207,7 @@
'hide': None,
'icon': None,
'idx': 9,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01018',
'owner': 'nabin@webnotestech.com',
@ -229,7 +228,7 @@
'hide': None,
'icon': None,
'idx': 10,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01019',
'owner': 'Administrator',
@ -250,7 +249,7 @@
'hide': None,
'icon': None,
'idx': 11,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01188',
'owner': 'Administrator',
@ -260,7 +259,7 @@
},
{
'click_function': None,
'creation': '2011-05-25 10:54:07',
'creation': '2011-05-24 14:47:53',
'description': 'You can export balance of selected ledgers within a specific period',
'display_name': 'Ledger Balance Export',
'doc_name': 'Ledger Balance Export',
@ -271,9 +270,9 @@
'hide': None,
'icon': None,
'idx': 12,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01302',
'name': 'MDI01283',
'owner': 'Administrator',
'parent': 'Accounts',
'parentfield': 'items',
@ -292,7 +291,7 @@
'hide': None,
'icon': None,
'idx': 13,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01021',
'owner': 'Administrator',
@ -313,7 +312,7 @@
'hide': None,
'icon': None,
'idx': 14,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01022',
'owner': 'Administrator',
@ -334,7 +333,7 @@
'hide': None,
'icon': None,
'idx': 15,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01023',
'owner': 'Administrator',
@ -355,7 +354,7 @@
'hide': None,
'icon': None,
'idx': 16,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01024',
'owner': 'Administrator',
@ -376,7 +375,7 @@
'hide': None,
'icon': None,
'idx': 17,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01025',
'owner': 'Administrator',
@ -397,7 +396,7 @@
'hide': None,
'icon': None,
'idx': 18,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01026',
'owner': 'Administrator',
@ -418,7 +417,7 @@
'hide': None,
'icon': None,
'idx': 19,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01027',
'owner': 'Administrator',
@ -439,7 +438,7 @@
'hide': None,
'icon': None,
'idx': 20,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01028',
'owner': 'Administrator',
@ -460,7 +459,7 @@
'hide': None,
'icon': None,
'idx': 21,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01031',
'owner': 'Administrator',
@ -481,7 +480,7 @@
'hide': None,
'icon': None,
'idx': 22,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01032',
'owner': 'Administrator',
@ -502,7 +501,7 @@
'hide': None,
'icon': None,
'idx': 23,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01033',
'owner': 'Administrator',
@ -523,7 +522,7 @@
'hide': None,
'icon': None,
'idx': 24,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01034',
'owner': 'Administrator',
@ -544,7 +543,7 @@
'hide': None,
'icon': None,
'idx': 25,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01267',
'owner': 'Administrator',
@ -565,7 +564,7 @@
'hide': None,
'icon': None,
'idx': 26,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01035',
'owner': 'Administrator',
@ -586,7 +585,7 @@
'hide': None,
'icon': None,
'idx': 27,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01036',
'owner': 'Administrator',
@ -607,7 +606,7 @@
'hide': None,
'icon': None,
'idx': 28,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01038',
'owner': 'Administrator',
@ -628,7 +627,7 @@
'hide': None,
'icon': None,
'idx': 29,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01039',
'owner': 'jai@webnotestech.com',
@ -649,7 +648,7 @@
'hide': None,
'icon': None,
'idx': 30,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01040',
'owner': 'jai@webnotestech.com',
@ -670,7 +669,7 @@
'hide': None,
'icon': None,
'idx': 31,
'modified': '2011-05-25 10:54:07',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDI01041',
'owner': 'saumil@webnotestech.com',
@ -683,8 +682,8 @@
'docstatus': 0,
'doctype': 'Module Def Role',
'idx': 1,
'modified': '2011-03-07 17:24:33',
'modified_by': 'umair@iwebnotes.com',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDR00302',
'owner': 'Administrator',
'parent': 'Accounts',
@ -697,8 +696,8 @@
'docstatus': 0,
'doctype': 'Module Def Role',
'idx': 2,
'modified': '2011-03-07 17:24:33',
'modified_by': 'umair@iwebnotes.com',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDR00303',
'owner': 'Administrator',
'parent': 'Accounts',
@ -711,27 +710,13 @@
'docstatus': 0,
'doctype': 'Module Def Role',
'idx': 3,
'modified': '2011-03-07 17:24:33',
'modified_by': 'umair@iwebnotes.com',
'modified': '2011-07-01 09:36:04',
'modified_by': 'Administrator',
'name': 'MDR00304',
'owner': 'Administrator',
'parent': 'Accounts',
'parentfield': 'roles',
'parenttype': 'Module Def',
'role': 'Administrator'
},
{
'creation': '2011-03-07 17:24:33',
'docstatus': 0,
'doctype': 'Module Def Role',
'idx': 4,
'modified': '2011-03-07 17:24:33',
'modified_by': 'umair@iwebnotes.com',
'name': 'MDR00328',
'owner': 'umair@iwebnotes.com',
'parent': 'Accounts',
'parentfield': 'roles',
'parenttype': 'Module Def',
'role': 'testrole'
}
]
]

View File

@ -1,18 +1,27 @@
# Print Format, Cheque Printing Format
[
# These values are common in all dictionaries
{
'creation': '2011-03-25 15:26:02',
'docstatus': 0,
'doctype': 'Print Format',
'html': '<!-- p.big {line-height: 200%} .noborder td { border: 0px solid #fff; } -->\n<div style="position: relative;">\n<h3><script>doc.company</script><br /> <br /> \n<hr />\nPAYMENT ADVICE</h3>\n<table class="noborder" style="width: 100%;">\n<tbody>\n<tr>\n<td style="vertical-align: top;" width="50%">To :<br />\n<script type="text/javascript">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</td>\n<td width="50%">\n<table class="noborder" width="100%">\n<tbody>\n<tr>\n<td width="30%">Voucher No :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndoc.name\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Voucher Date :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.voucher_date)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Cheque No :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_no)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Cheque Date :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<br /> <strong>We are pleased to enclose our cheque in full/part Settlement of your under noted bills</strong> <br /> \n<hr />\n<table class="noborder" width="100%">\n<tbody>\n<tr>\n<td width="70%">&nbsp;</td>\n<td width="15%">Total :</td>\n<td class="pos_left" width="15%">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td colspan="3">Narration :\n<script type="text/javascript">// <![CDATA[\nreplace_newlines(doc.remark)\n// ]]></script>\n<br /><br /><br /></td>\n</tr>\n</tbody>\n</table>\n<div style="position: absolute; top: 14cm; left: 0cm;">Prepared By</div>\n<div style="position: absolute; top: 14cm; left: 5.5cm;">Authorised Signatory</div>\n<div style="position: absolute; top: 14cm; left: 11cm;">Received Payment as Above</div>\n<div style="position: absolute; top: 16.4cm; left: 5.9cm;"><strong>_____________</strong></div>\n<div style="position: absolute; top: 16.7cm; left: 6cm;"><strong>A/c Payee</strong></div>\n<div style="position: absolute; top: 16.7cm; left: 5.9cm;"><strong>_____________</strong></div>\n<div style="position: absolute; top: 16.9cm; left: 12cm;">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</div>\n<div style="position: absolute; top: 17.9cm; left: 1cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</div>\n<div style="position: absolute; top: 18.6cm; left: 1cm; width: 7cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount_in_words\n// ]]></script>\n</div>\n<div style="position: absolute; top: 19.7cm; left: 12cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</div>\n</div>',
'idx': None,
'modified': '2011-03-28 12:33:24',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Print Format
{
'doctype': 'Print Format',
'html': '<!-- p.big {line-height: 200%} .noborder td { border: 0px solid #fff; } -->\n<div style="position: relative;">\n<h3><script>doc.company</script><br /> <br /> \n<hr />\nPAYMENT ADVICE</h3>\n<table class="noborder" style="width: 100%;">\n<tbody>\n<tr>\n<td style="vertical-align: top;" width="50%">To :<br />\n<script type="text/javascript">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</td>\n<td width="50%">\n<table class="noborder" width="100%">\n<tbody>\n<tr>\n<td width="30%">Voucher No :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndoc.name\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Voucher Date :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.voucher_date)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Cheque No :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_no)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width="30%">Cheque Date :</td>\n<td width="70%">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<br /> <strong>We are pleased to enclose our cheque in full/part Settlement of your under noted bills</strong> <br /> \n<hr />\n<table class="noborder" width="100%">\n<tbody>\n<tr>\n<td width="70%">&nbsp;</td>\n<td width="15%">Total :</td>\n<td class="pos_left" width="15%">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td colspan="3">Narration :\n<script type="text/javascript">// <![CDATA[\nreplace_newlines(doc.remark)\n// ]]></script>\n<br /><br /><br /></td>\n</tr>\n</tbody>\n</table>\n<div style="position: absolute; top: 14cm; left: 0cm;">Prepared By</div>\n<div style="position: absolute; top: 14cm; left: 5.5cm;">Authorised Signatory</div>\n<div style="position: absolute; top: 14cm; left: 11cm;">Received Payment as Above</div>\n<div style="position: absolute; top: 16.4cm; left: 5.9cm;"><strong>_____________</strong></div>\n<div style="position: absolute; top: 16.7cm; left: 6cm;"><strong>A/c Payee</strong></div>\n<div style="position: absolute; top: 16.7cm; left: 5.9cm;"><strong>_____________</strong></div>\n<div style="position: absolute; top: 16.9cm; left: 12cm;">\n<script type="text/javascript">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</div>\n<div style="position: absolute; top: 17.9cm; left: 1cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</div>\n<div style="position: absolute; top: 18.6cm; left: 1cm; width: 7cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount_in_words\n// ]]></script>\n</div>\n<div style="position: absolute; top: 19.7cm; left: 12cm;">\n<script type="text/javascript">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</div>\n</div>',
'module': 'Accounts',
'name': 'Cheque Printing Format',
'owner': 'Administrator',
'parent': None,
'parentfield': None,
'parenttype': None,
'name': '__common__',
'standard': 'Yes'
},
# Print Format, Cheque Printing Format
{
'doctype': 'Print Format',
'name': 'Cheque Printing Format'
}
]

File diff suppressed because one or more lines are too long

View File

@ -1,18 +1,27 @@
# Print Format, Payment Receipt Voucher
[
# These values are common in all dictionaries
{
'creation': '2011-03-25 17:30:45',
'docstatus': 0,
'doctype': 'Print Format',
'html': '<div style="position: relative;">\n<h3 align="center"><script>doc.company</script>\n</div>\n\n<font size="4">\n<table class=\'simpletable\'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_rec_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style="text-align:left"><b><script>doc.total_amount_in_words</script></b></div><br>\n<div>This receipt is issued subject to realization of the Cheque</div>\n</font>\n<br>\n<table class="noborder">\n<tr>\n<td style = "text-align = right;"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>',
'idx': None,
'modified': '2011-03-28 12:31:40',
'modified': '2011-04-27 11:44:30',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Print Format
{
'doctype': 'Print Format',
'html': '<div style="position: relative;">\n<h3 align="center"><script>doc.company</script>\n</div>\n\n<font size="4">\n<table class=\'simpletable\'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_rec_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style="text-align:left"><b><script>doc.total_amount_in_words</script></b></div><br>\n<div>This receipt is issued subject to realization of the <script>if(doc.cheque_no){\'Cheque\'}else{\'Cash\'}</script></div>\n</font>\n<br>\n<table class="noborder">\n<tr>\n<td style = "text-align = right;"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>',
'module': 'Accounts',
'name': 'Payment Receipt Voucher',
'owner': 'Administrator',
'parent': None,
'parentfield': None,
'parenttype': None,
'name': '__common__',
'standard': 'Yes'
},
# Print Format, Payment Receipt Voucher
{
'doctype': 'Print Format',
'name': 'Payment Receipt Voucher'
}
]

View File

@ -0,0 +1,26 @@
# Role, Accounts Manager
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:51',
'docstatus': 0,
'modified': '2009-03-19 14:57:46',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Role
{
'doctype': 'Role',
'module': 'Accounts',
'name': '__common__',
'role_name': 'Accounts Manager'
},
# Role, Accounts Manager
{
'doctype': 'Role',
'name': 'Accounts Manager'
}
]

View File

@ -0,0 +1,26 @@
# Role, Accounts User
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:51',
'docstatus': 0,
'modified': '2010-04-08 12:05:21',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Role
{
'doctype': 'Role',
'module': 'Accounts',
'name': '__common__',
'role_name': 'Accounts User'
},
# Role, Accounts User
{
'doctype': 'Role',
'name': 'Accounts User'
}
]

View File

@ -72,6 +72,7 @@ cur_frm.fields_dict['master_name'].get_query=function(doc){
else alert("Please select master type");
}
/*
// Get customer/supplier address
// -----------------------------------------
cur_frm.cscript.master_name = function(doc,cdt,cdn){
@ -79,6 +80,7 @@ cur_frm.cscript.master_name = function(doc,cdt,cdn){
get_server_fields('get_address','','',doc,cdt,cdn);
}
}
*/
// parent account get query
// -----------------------------------------

View File

@ -260,3 +260,16 @@ class DocType:
def on_restore(self):
# rebuild tree
self.update_nsm_model()
# on rename
# ---------
def on_rename(self,newdn,olddn):
company_abbr = sql("select tc.abbr from `tabAccount` ta, `tabCompany` tc where ta.company = tc.name and ta.name=%s", olddn)[0][0]
newdnchk = newdn.split(" - ")
if newdnchk[-1].lower() != company_abbr.lower():
msgprint("Please add company abbreviation <b>%s</b>" %(company_abbr), raise_exception=1)
else:
account_name = " - ".join(newdnchk[:-1])
sql("update `tabAccount` set account_name = '%s' where name = '%s'" %(account_name,olddn))

File diff suppressed because it is too large Load Diff

View File

@ -1,417 +1,207 @@
# DocType, Account Balance
[
# These values are common in all dictionaries
{
'_last_update': None,
'allow_attach': None,
'allow_copy': None,
'allow_email': None,
'allow_print': None,
'allow_rename': None,
'allow_trash': None,
'autoname': '_ACB.######',
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2010-08-08 17:08:51',
'description': None,
'docstatus': 0,
'doctype': 'DocType',
'document_type': None,
'dt_template': None,
'hide_heading': None,
'hide_toolbar': None,
'idx': None,
'in_create': None,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': None,
'istable': 0,
'max_attachments': None,
'menu_index': None,
'modified': '2011-03-23 12:37:39',
'modified': '2011-03-24 14:43:15',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1305714002',
'autoname': '_ACB.######',
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 0,
'module': 'Accounts',
'name': 'Account Balance',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'read_only': None,
'read_only_onload': None,
'name': '__common__',
'search_fields': 'account, period, fiscal_year, balance',
'section_style': 'Simple',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': ' ',
'show_in_menu': 0,
'smallicon': None,
'use_template': None,
'version': 28
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'creation': '2011-05-09 10:50:48',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': None,
'match': None,
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': '000000174',
'owner': 'Administrator',
'name': '__common__',
'parent': 'Account Balance',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': None,
'permlevel': 0,
'read': 1,
'role': 'Accounts User',
'submit': 0,
'write': 0
},
# DocType, Account Balance
{
'doctype': 'DocType',
'name': 'Account Balance'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'creation': '2011-05-09 10:50:48',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': None,
'match': None,
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': '000000175',
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': None,
'read': 1,
'role': 'Accounts Manager',
'submit': 0,
'write': 0
'role': 'Accounts User'
},
# DocPerm
{
'doctype': 'DocPerm',
'role': 'Accounts Manager'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-09 10:50:48',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'account',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 1,
'in_filter': 1,
'label': 'Account',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': '000000176',
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': 'Account',
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'period',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 2,
'in_filter': 1,
'label': 'Period',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00458',
'no_copy': None,
'oldfieldname': 'period',
'oldfieldtype': 'Link',
'options': 'Period',
'owner': 'nabin@webnotestech.com',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'opening',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 3,
'in_filter': None,
'idx': 4,
'label': 'Opening',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00462',
'no_copy': None,
'oldfieldname': 'opening',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'oldfieldtype': 'Currency'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-10-26 09:43:49',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'debit',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 4,
'in_filter': None,
'idx': 6,
'label': 'Debit',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL04062',
'no_copy': None,
'oldfieldname': 'debit',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'oldfieldtype': 'Currency'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'debit',
'fieldtype': 'Currency',
'idx': 6,
'label': 'Debit',
'oldfieldname': 'debit',
'oldfieldtype': 'Currency'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-10-26 09:43:49',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'credit',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 5,
'in_filter': None,
'idx': 7,
'label': 'Credit',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL04063',
'no_copy': None,
'oldfieldname': 'credit',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'oldfieldtype': 'Currency'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'credit',
'fieldtype': 'Currency',
'idx': 7,
'label': 'Credit',
'oldfieldname': 'credit',
'oldfieldtype': 'Currency'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'balance',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 6,
'in_filter': None,
'idx': 8,
'label': 'Balance',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00463',
'no_copy': None,
'oldfieldname': 'balance',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'oldfieldtype': 'Currency'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'fiscal_year',
'fieldtype': 'Link',
'hidden': 1,
'icon': None,
'idx': 7,
'idx': 9,
'in_filter': 1,
'label': 'Fiscal Year',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00459',
'no_copy': None,
'oldfieldname': 'fiscal_year',
'oldfieldtype': 'Link',
'options': 'Fiscal Year',
'owner': 'Administrator',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'start_date',
'fieldtype': 'Date',
'hidden': 1,
'icon': None,
'idx': 8,
'in_filter': None,
'idx': 10,
'in_filter': 1,
'label': 'Start Date',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00460',
'no_copy': None,
'oldfieldname': 'start_date',
'oldfieldtype': 'Date',
'options': None,
'owner': 'nabin@webnotestech.com',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:08:51',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'end_date',
'fieldtype': 'Date',
'hidden': 1,
'icon': None,
'idx': 9,
'in_filter': None,
'idx': 11,
'in_filter': 1,
'label': 'End Date',
'modified': '2011-05-09 10:50:48',
'modified_by': 'Administrator',
'name': 'FL00461',
'no_copy': None,
'oldfieldname': 'end_date',
'oldfieldtype': 'Date',
'options': None,
'owner': 'nabin@webnotestech.com',
'parent': 'Account Balance',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
}
]

View File

@ -1,3 +0,0 @@
cur_frm.cscript['Repost GL'] = function(doc,dt,dn) {
$c_obj('GL Control','repost_gl','',function(r,rt) {alert('Done')});
}

View File

@ -1,43 +0,0 @@
# 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:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
def get_bal(self,arg):
msgprint(arg)
bal = sql("select balance,debit_or_credit from tabAccount where name=%s", arg)
msgprint(bal)
return fmt_money(flt(bal[0][0])) + ' ' + bal[0][1]
def on_update(self):
set_default('fiscal_year', self.doc.current_fiscal_year)
ysd = sql("select year_start_date from `tabFiscal Year` where name=%s", self.doc.current_fiscal_year)[0][0]
set_default('year_start_date', ysd.strftime('%Y-%m-%d'))
set_default('year_end_date', get_last_day(get_first_day(ysd,0,11)).strftime('%Y-%m-%d'))
def get_bank_defaults(self, arg):
return {
'def_bv_type': self.doc.default_bank_voucher_type,
'def_bv_series': self.doc.default_bank_voucher_series,
'def_bank_account': self.doc.default_bank_account,
'bank_balance': self.get_bal(self.doc.default_bank_account),
'acc_balance': self.get_bal(arg),
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,110 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-05-22 14:56:16', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 24, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'nabin@webnotestech.com', 'document_type': None, 'name': 'Advance Adjustment Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': 1, 'oldfieldtype': 'Link', 'creation': '2009-05-22 14:56:16', 'doctype': 'DocField', 'oldfieldname': 'journal_voucher', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Journal Voucher', 'width': '250px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 1, 'description': None, 'parent': 'Advance Adjustment Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02126', 'idx': 1, 'default': None, 'colour': None, 'modified': '2009-12-15 14:34:41', 'parenttype': 'DocType', 'fieldname': 'journal_voucher', 'fieldtype': 'Link', 'options': 'Journal Voucher', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': 1, 'oldfieldtype': 'Data', 'creation': '2009-05-28 12:21:27', 'doctype': 'DocField', 'oldfieldname': 'jv_detail_no', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': 1, 'modified_by': 'nabin@webnotestech.com', 'label': 'Journal Voucher Detail No', 'width': '120px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': 1, 'permlevel': 1, 'description': None, 'parent': 'Advance Adjustment Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02226', 'idx': 2, 'default': None, 'colour': None, 'modified': '2009-12-15 14:34:41', 'parenttype': 'DocType', 'fieldname': 'jv_detail_no', 'fieldtype': 'Data', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': 1, 'oldfieldtype': 'Currency', 'creation': '2009-05-22 14:56:16', 'doctype': 'DocField', 'oldfieldname': 'advance_amount', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Advance amount', 'width': '120px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 1, 'description': None, 'parent': 'Advance Adjustment Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02127', 'idx': 3, 'default': None, 'colour': None, 'modified': '2009-12-15 14:34:41', 'parenttype': 'DocType', 'fieldname': 'advance_amount', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': 1, 'oldfieldtype': 'Currency', 'creation': '2009-05-28 12:22:02', 'doctype': 'DocField', 'oldfieldname': 'allocated_amount', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Allocated amount', 'width': '120px', 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Advance Adjustment Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02227', 'idx': 4, 'default': None, 'colour': None, 'modified': '2009-12-15 14:34:41', 'parenttype': 'DocType', 'fieldname': 'allocated_amount', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': 1, 'oldfieldtype': 'Small Text', 'creation': '2009-05-28 14:19:30', 'doctype': 'DocField', 'oldfieldname': 'remarks', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Remarks', 'width': '150px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 1, 'description': None, 'parent': 'Advance Adjustment Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02231', 'idx': 5, 'default': None, 'colour': None, 'modified': '2009-12-15 14:34:41', 'parenttype': 'DocType', 'fieldname': 'remarks', 'fieldtype': 'Small Text', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]
# DocType, Advance Adjustment Detail
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:51',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'umair@iwebnotes.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 24
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'no_copy': 1,
'parent': 'Advance Adjustment Detail',
'parentfield': 'fields',
'parenttype': 'DocType'
},
# DocType, Advance Adjustment Detail
{
'doctype': 'DocType',
'name': 'Advance Adjustment Detail'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'journal_voucher',
'fieldtype': 'Link',
'idx': 1,
'label': 'Journal Voucher',
'oldfieldname': 'journal_voucher',
'oldfieldtype': 'Link',
'options': 'Journal Voucher',
'permlevel': 1,
'width': '250px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'jv_detail_no',
'fieldtype': 'Data',
'hidden': 1,
'idx': 2,
'label': 'Journal Voucher Detail No',
'oldfieldname': 'jv_detail_no',
'oldfieldtype': 'Data',
'permlevel': 1,
'print_hide': 1,
'width': '120px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'advance_amount',
'fieldtype': 'Currency',
'idx': 3,
'label': 'Advance amount',
'oldfieldname': 'advance_amount',
'oldfieldtype': 'Currency',
'permlevel': 1,
'width': '120px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'allocated_amount',
'fieldtype': 'Currency',
'idx': 4,
'label': 'Allocated amount',
'oldfieldname': 'allocated_amount',
'oldfieldtype': 'Currency',
'permlevel': 0,
'trigger': 'Client',
'width': '120px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'remarks',
'fieldtype': 'Small Text',
'idx': 5,
'label': 'Remarks',
'oldfieldname': 'remarks',
'oldfieldtype': 'Small Text',
'permlevel': 1,
'width': '150px'
}
]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1,31 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2010-03-04 14:18:59', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'nabin@webnotestech.com', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': 1, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 24, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': None, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'nabin@webnotestech.com', 'document_type': None, 'name': 'Budget Control', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}]
# DocType, Budget Control
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:54',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'umair@iwebnotes.com',
'owner': 'nabin@webnotestech.com'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 23
},
# DocType, Budget Control
{
'doctype': 'DocType',
'name': 'Budget Control'
}
]

View File

@ -1 +1,98 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-06-05 16:50:56', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': '', 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 6, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': 'CBD/.######', 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'harshada@webnotestech.com', 'document_type': None, 'name': 'Budget Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-06-05 16:50:56', 'doctype': 'DocField', 'oldfieldname': 'account', 'owner': 'Administrator', 'reqd': 1, 'in_filter': 1, 'print_hide': None, 'modified_by': 'harshada@webnotestech.com', 'label': 'Account', 'width': None, 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Budget Detail', 'search_index': 1, 'allow_on_submit': None, 'icon': None, 'name': 'FL02268', 'idx': 1, 'default': None, 'colour': None, 'modified': '2010-07-28 13:18:00', 'parenttype': 'DocType', 'fieldname': 'account', 'fieldtype': 'Link', 'options': 'Account', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-06-05 16:50:56', 'doctype': 'DocField', 'oldfieldname': 'budget_allocated', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'harshada@webnotestech.com', 'label': 'Budget Allocated', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Budget Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02269', 'idx': 2, 'default': None, 'colour': None, 'modified': '2010-07-28 13:18:00', 'parenttype': 'DocType', 'fieldname': 'budget_allocated', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-06-05 16:50:56', 'doctype': 'DocField', 'oldfieldname': 'actual', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'harshada@webnotestech.com', 'label': 'Actual', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 1, 'description': None, 'parent': 'Budget Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02270', 'idx': 3, 'default': None, 'colour': None, 'modified': '2010-07-28 13:18:00', 'parenttype': 'DocType', 'fieldname': 'actual', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Select', 'creation': '2009-06-05 16:50:56', 'doctype': 'DocField', 'oldfieldname': 'fiscal_year', 'owner': 'Administrator', 'reqd': 1, 'in_filter': 1, 'print_hide': None, 'modified_by': 'harshada@webnotestech.com', 'label': 'Fiscal Year', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Budget Detail', 'search_index': 1, 'allow_on_submit': None, 'icon': None, 'name': 'FL02272', 'idx': 4, 'default': None, 'colour': None, 'modified': '2010-07-28 13:18:00', 'parenttype': 'DocType', 'fieldname': 'fiscal_year', 'fieldtype': 'Select', 'options': 'link:Fiscal Year', 'report_hide': None, 'parentfield': 'fields'}]
# DocType, Budget Detail
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:54',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'umair@iwebnotes.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'autoname': 'CBD/.######',
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'show_in_menu': 0,
'version': 6
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Budget Detail',
'parentfield': 'fields',
'parenttype': 'DocType'
},
# DocType, Budget Detail
{
'doctype': 'DocType',
'name': 'Budget Detail'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'account',
'fieldtype': 'Link',
'idx': 1,
'in_filter': 1,
'label': 'Account',
'oldfieldname': 'account',
'oldfieldtype': 'Link',
'options': 'Account',
'permlevel': 0,
'reqd': 1,
'search_index': 1,
'trigger': 'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'budget_allocated',
'fieldtype': 'Currency',
'idx': 2,
'label': 'Budget Allocated',
'oldfieldname': 'budget_allocated',
'oldfieldtype': 'Currency',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'actual',
'fieldtype': 'Currency',
'idx': 3,
'label': 'Actual',
'oldfieldname': 'actual',
'oldfieldtype': 'Currency',
'permlevel': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'fiscal_year',
'fieldtype': 'Select',
'idx': 4,
'in_filter': 1,
'label': 'Fiscal Year',
'oldfieldname': 'fiscal_year',
'oldfieldtype': 'Select',
'options': 'link:Fiscal Year',
'permlevel': 0,
'reqd': 1,
'search_index': 1
}
]

File diff suppressed because one or more lines are too long

View File

@ -1 +1,78 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-06-05 17:42:48', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 6, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': 'BDD/.#####', 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': None, 'name': 'Budget Distribution Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Data', 'creation': '2009-06-05 17:42:48', 'doctype': 'DocField', 'oldfieldname': 'month', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Month', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 2, 'description': None, 'parent': 'Budget Distribution Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02276', 'idx': 1, 'default': None, 'colour': None, 'modified': '2010-03-19 15:53:59', 'parenttype': 'DocType', 'fieldname': 'month', 'fieldtype': 'Data', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-06-05 17:42:48', 'doctype': 'DocField', 'oldfieldname': 'percentage_allocation', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Percentage Allocation', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Budget Distribution Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02277', 'idx': 2, 'default': None, 'colour': None, 'modified': '2010-03-19 15:53:59', 'parenttype': 'DocType', 'fieldname': 'percentage_allocation', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-06-09 15:31:58', 'doctype': 'DocField', 'oldfieldname': 'aggregate_percentage', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Aggregate Percentage', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 2, 'description': None, 'parent': 'Budget Distribution Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02290', 'idx': 3, 'default': None, 'colour': None, 'modified': '2010-03-19 15:53:59', 'parenttype': 'DocType', 'fieldname': 'aggregate_percentage', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]
# DocType, Budget Distribution Detail
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:54',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'umair@iwebnotes.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'autoname': 'BDD/.#####',
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 6
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Budget Distribution Detail',
'parentfield': 'fields',
'parenttype': 'DocType'
},
# DocType, Budget Distribution Detail
{
'doctype': 'DocType',
'name': 'Budget Distribution Detail'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'month',
'fieldtype': 'Data',
'idx': 1,
'label': 'Month',
'oldfieldname': 'month',
'oldfieldtype': 'Data',
'permlevel': 2,
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'percentage_allocation',
'fieldtype': 'Currency',
'idx': 2,
'label': 'Percentage Allocation',
'oldfieldname': 'percentage_allocation',
'oldfieldtype': 'Currency',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'aggregate_percentage',
'fieldtype': 'Currency',
'idx': 3,
'label': 'Aggregate Percentage',
'oldfieldname': 'aggregate_percentage',
'oldfieldtype': 'Currency',
'permlevel': 2
}
]

View File

@ -1,4 +1,4 @@
$import(Tips Common)
//Account filtering for cost center
cur_frm.fields_dict['budget_details'].grid.get_field('account').get_query = function(doc) {
@ -24,7 +24,7 @@ cur_frm.cscript.company_name = function(doc,cdt,cdn){
//onload if cost center is group
cur_frm.cscript.onload = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
if(!doc.__islocal && doc.docstatus == 0){
get_field(doc.doctype,'group_or_ledger',doc.name).permlevel = 1;
refresh_field('group_or_ledger');
@ -35,5 +35,5 @@ cur_frm.cscript.onload = function(doc, cdt, cdn) {
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}

File diff suppressed because one or more lines are too long

View File

@ -1,10 +0,0 @@
$import(Tips Common)
//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}

View File

@ -165,17 +165,15 @@ class DocType:
def update_voucher_outstanding(self):
# Clear outstanding
self.clear_outstanding()
sql("LOCK TABLE `tabGL Entry` WRITE")
against_voucher = sql("select against_voucher, against_voucher_type from `tabGL Entry` where fiscal_year=%s and is_cancelled='No' and company=%s and ifnull(against_voucher, '') != '' and ifnull(against_voucher_type, '') != '' group by against_voucher, against_voucher_type", (self.doc.name, self.doc.company))
against_voucher = sql("select against_voucher, against_voucher_type from `tabGL Entry` where fiscal_year=%s and ifnull(is_cancelled, 'No')='No' and company=%s and ifnull(against_voucher, '') != '' and ifnull(against_voucher_type, '') != '' group by against_voucher, against_voucher_type", (self.doc.name, self.doc.company))
for d in against_voucher:
# get voucher balance
bal = sql("select sum(debit)-sum(credit) from `tabGL Entry` where against_voucher=%s and against_voucher_type=%s", (d[0], d[1]))
bal = sql("select sum(debit)-sum(credit) from `tabGL Entry` where against_voucher=%s and against_voucher_type=%s and ifnull(is_cancelled, 'No') = 'No'", (d[0], d[1]))
bal = bal and flt(bal[0][0]) or 0.0
if d[1] == 'Payable Voucher':
bal = -bal
# set voucher balance
sql("update `tab%s` set outstanding_amount=%s where name='%s'"% (d[1], bal, d[0]))
sql("UNLOCK TABLES")
# ====================================================================================
# Generate periods

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,63 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-05-28 10:54:48', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 1, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': None, 'name': 'Form 16A Ack Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Select', 'creation': '2009-05-28 10:54:48', 'doctype': 'DocField', 'oldfieldname': 'quarter', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Quarter', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Form 16A Ack Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02217', 'idx': 1, 'default': None, 'colour': None, 'modified': '2009-05-28 10:54:48', 'parenttype': 'DocType', 'fieldname': 'quarter', 'fieldtype': 'Select', 'options': '\nApr-Jun\nJul-Sept\nOct-Dec\nJan-Mar', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Data', 'creation': '2009-05-28 10:54:48', 'doctype': 'DocField', 'oldfieldname': 'ack_no', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Acknowledgement No.', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Form 16A Ack Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02218', 'idx': 2, 'default': None, 'colour': None, 'modified': '2009-05-28 10:54:48', 'parenttype': 'DocType', 'fieldname': 'ack_no', 'fieldtype': 'Data', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]
# DocType, Form 16A Ack Detail
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:02',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Form 16A Ack Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0
},
# DocType, Form 16A Ack Detail
{
'doctype': 'DocType',
'name': 'Form 16A Ack Detail'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'quarter',
'fieldtype': 'Select',
'idx': 1,
'label': 'Quarter',
'oldfieldname': 'quarter',
'oldfieldtype': 'Select',
'options': '\nApr-Jun\nJul-Sept\nOct-Dec\nJan-Mar'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'ack_no',
'fieldtype': 'Data',
'idx': 2,
'label': 'Acknowledgement No.',
'oldfieldname': 'ack_no',
'oldfieldtype': 'Data'
}
]

File diff suppressed because one or more lines are too long

View File

@ -1 +1,31 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2010-12-06 11:45:17', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': 1, 'allow_rename': None, 'smallicon': '', 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 300, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': None, 'description': None, 'parent': None, 'server_code': '', 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': '', 'name': 'GL Control', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': '', 'modified': '2010-11-18 16:35:29', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}]
# DocType, GL Control
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:03',
'docstatus': 0,
'modified': '2010-12-29 12:57:24',
'modified_by': 'umair@iwebnotes.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 288
},
# DocType, GL Control
{
'doctype': 'DocType',
'name': 'GL Control'
}
]

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,321 +1,129 @@
# DocType, Ledger Balance Export
[
# These values are common in all dictionaries
{
'creation': '2011-05-24 14:41:08',
'docstatus': 0,
'modified': '2011-05-24 15:22:43',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1306229235',
'_user_tags': None,
'allow_attach': None,
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'allow_rename': None,
'allow_trash': None,
'autoname': None,
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2011-05-25 10:54:06',
'description': None,
'docstatus': 0,
'doctype': 'DocType',
'document_type': 'Other',
'dt_template': None,
'hide_heading': 0,
'hide_toolbar': None,
'idx': None,
'in_create': None,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': 1,
'istable': None,
'max_attachments': None,
'menu_index': None,
'modified': '2011-05-24 15:22:43',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'Ledger Balance Export',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'read_only': None,
'read_only_onload': None,
'search_fields': None,
'name': '__common__',
'section_style': 'Simple',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': None,
'show_in_menu': 0,
'smallicon': None,
'subject': None,
'tag_fields': None,
'use_template': None,
'version': 9
},
# These values are common for all DocField
{
'amend': None,
'cancel': None,
'create': 1,
'creation': '2011-05-25 10:54:06',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 1,
'match': None,
'modified': '2011-05-25 10:54:06',
'modified_by': 'Administrator',
'name': 'PERM00866',
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts Manager',
'submit': None,
'write': 1
},
{
'amend': None,
'cancel': None,
'create': 1,
'creation': '2011-05-25 10:54:06',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 2,
'match': None,
'modified': '2011-05-25 10:54:06',
'modified_by': 'Administrator',
'name': 'PERM00867',
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts User',
'submit': None,
'write': 1
},
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 11:02:00',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': None,
'fieldtype': 'Column Break',
'hidden': None,
'icon': None,
'idx': 1,
'in_filter': None,
'label': 'Select Date Range',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL05003',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'name': '__common__',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'name': '__common__',
'parent': 'Ledger Balance Export',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Ledger Balance Export
{
'doctype': 'DocType',
'name': 'Ledger Balance Export'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 1,
'role': 'Accounts Manager'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 2,
'role': 'Accounts User'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'idx': 1,
'label': 'Select Date Range'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 10:54:06',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'from_date',
'fieldtype': 'Date',
'hidden': None,
'icon': None,
'idx': 2,
'in_filter': None,
'label': 'From Date',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL04997',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
'reqd': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 10:54:06',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'to_date',
'fieldtype': 'Date',
'hidden': None,
'icon': None,
'idx': 3,
'in_filter': None,
'label': 'To Date',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL04998',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
'reqd': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 11:02:00',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': None,
'fieldtype': 'Column Break',
'hidden': None,
'icon': None,
'idx': 4,
'in_filter': None,
'label': 'Select ledgers',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL05004',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'label': 'Select ledgers'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 10:54:06',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'ledger_details',
'fieldtype': 'Table',
'hidden': None,
'icon': None,
'idx': 5,
'in_filter': None,
'label': 'Ledger Details',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL05000',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': 'Ledger Detail',
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'options': 'Ledger Detail'
},
# DocField
{
'allow_on_submit': None,
'colour': 'White:FFF',
'creation': '2011-05-25 10:54:06',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': None,
'fieldtype': 'Button',
'hidden': None,
'icon': None,
'idx': 6,
'in_filter': None,
'label': 'Export Report',
'modified': '2011-05-25 11:02:00',
'modified_by': 'Administrator',
'name': 'FL05001',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'parent': 'Ledger Balance Export',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': 'Client',
'width': None
'trigger': 'Client'
}
]

View File

@ -1,95 +1,52 @@
# DocType, Ledger Detail
[
# These values are common in all dictionaries
{
'_last_update': None,
'_user_tags': None,
'allow_attach': None,
'allow_copy': None,
'allow_email': None,
'allow_print': None,
'allow_rename': None,
'allow_trash': None,
'autoname': None,
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2011-05-25 10:54:06',
'description': None,
'creation': '2011-05-24 14:50:42',
'docstatus': 0,
'doctype': 'DocType',
'document_type': None,
'dt_template': None,
'hide_heading': None,
'hide_toolbar': None,
'idx': None,
'in_create': None,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': None,
'istable': 1,
'max_attachments': None,
'menu_index': None,
'modified': '2011-05-24 15:24:03',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': 'Ledger Detail',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'read_only': None,
'read_only_onload': None,
'search_fields': None,
'name': '__common__',
'section_style': 'Simple',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': None,
'show_in_menu': 0,
'smallicon': None,
'subject': None,
'tag_fields': None,
'use_template': None,
'version': 3
},
# These values are common for all DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-05-25 10:54:06',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'account',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 1,
'in_filter': None,
'label': 'Account',
'modified': '2011-05-25 10:54:06',
'modified_by': 'Administrator',
'name': 'FL05002',
'no_column': None,
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': None,
'name': '__common__',
'options': 'Account',
'owner': 'Administrator',
'parent': 'Ledger Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': '300px'
},
# DocType, Ledger Detail
{
'doctype': 'DocType',
'name': 'Ledger Detail'
},
# DocField
{
'doctype': 'DocField'
}
]

View File

@ -1,10 +1,10 @@
$import(Tips Common)
//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}

View File

@ -1 +1,73 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2010-05-04 12:05:50', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'harshada@webnotestech.com', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': None, 'max_attachments': None, 'version': 4, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': None, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': 'field:mode_of_payment', 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'ashwini@webnotestech.com', 'document_type': 'Master', 'name': 'Mode of Payment', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'cancel': None, 'amend': None, 'execute': None, 'modified_by': 'ashwini@webnotestech.com', 'name': 'PERM00997', 'parent': 'Mode of Payment', 'read': 1, 'create': 1, 'creation': '2010-05-04 12:05:50', 'modified': '2010-09-20 09:51:10', 'submit': None, 'doctype': 'DocPerm', 'write': 1, 'idx': 1, 'parenttype': 'DocType', 'role': 'Accounts Manager', 'owner': 'harshada@webnotestech.com', 'docstatus': 0, 'permlevel': 0, 'match': None, 'parentfield': 'permissions'}, {'no_copy': None, 'oldfieldtype': 'Data', 'creation': '2010-05-04 12:05:50', 'doctype': 'DocField', 'oldfieldname': 'mode_of_payment', 'owner': 'harshada@webnotestech.com', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'ashwini@webnotestech.com', 'label': 'Mode of Payment', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Mode of Payment', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL04973', 'idx': 1, 'default': None, 'colour': None, 'modified': '2010-09-20 09:51:10', 'parenttype': 'DocType', 'fieldname': 'mode_of_payment', 'fieldtype': 'Data', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]
# DocType, Mode of Payment
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:10',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'harshada@webnotestech.com'
},
# These values are common for all DocType
{
'autoname': 'field:mode_of_payment',
'colour': 'White:FFF',
'doctype': 'DocType',
'document_type': 'Master',
'module': 'Accounts',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'version': 3
},
# These values are common for all DocField
{
'doctype': 'DocField',
'fieldname': 'mode_of_payment',
'fieldtype': 'Data',
'idx': 1,
'label': 'Mode of Payment',
'name': '__common__',
'oldfieldname': 'mode_of_payment',
'oldfieldtype': 'Data',
'parent': 'Mode of Payment',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'reqd': 1
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'idx': 1,
'name': '__common__',
'parent': 'Mode of Payment',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts Manager',
'write': 1
},
# DocType, Mode of Payment
{
'doctype': 'DocType',
'name': 'Mode of Payment'
},
# DocPerm
{
'doctype': 'DocPerm'
},
# DocField
{
'doctype': 'DocField'
}
]

View File

@ -35,7 +35,7 @@ class DocType(TransactionBase):
# Credit To
# ----------
def get_credit_to(self):
acc_head = sql("select name, credit_days from `tabAccount` where name = %s", (cstr(self.doc.supplier) + " - " + self.get_company_abbr()))
acc_head = sql("select name, credit_days from `tabAccount` where (name = %s or (master_name = %s and master_type = 'supplier')) and docstatus != 2", (cstr(self.doc.supplier) + " - " + self.get_company_abbr(),self.doc.supplier))
#supp_detail = sql("select supplier_name,address from `tabSupplier` where name = %s", self.doc.supplier, as_dict =1)
#ret = {
# 'supplier_name' : supp_detail and supp_detail[0]['supplier_name'] or '',

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-03-12 12:09:22', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 1, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': '', 'allow_trash': None, 'allow_print': None, 'autoname': 'EXPTD.######', 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': None, 'name': 'PV Add Tax Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': '', 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'add_tax_code', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Tax Code', 'width': '200px', 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Add Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00442', 'idx': 1, 'default': None, 'colour': None, 'modified': '2009-07-09 14:29:26', 'parenttype': 'DocType', 'fieldname': 'add_tax_code', 'fieldtype': 'Link', 'options': 'Account', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-04-23 11:13:34', 'doctype': 'DocField', 'oldfieldname': 'cost_center', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Cost Center', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Add Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL01926', 'idx': 2, 'default': None, 'colour': None, 'modified': '2009-07-09 14:29:26', 'parenttype': 'DocType', 'fieldname': 'cost_center', 'fieldtype': 'Link', 'options': 'Cost Center', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'add_tax_rate', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Rate', 'width': None, 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Add Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00443', 'idx': 3, 'default': None, 'colour': None, 'modified': '2009-07-09 14:29:26', 'parenttype': 'DocType', 'fieldname': 'add_tax_rate', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'add_amount', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'Amount', 'width': None, 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Add Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00444', 'idx': 4, 'default': None, 'colour': None, 'modified': '2009-07-09 14:29:26', 'parenttype': 'DocType', 'fieldname': 'add_amount', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]

View File

@ -1 +0,0 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-03-12 12:09:22', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 4, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': '', 'allow_trash': None, 'allow_print': None, 'autoname': 'TDD.######', 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'nabin@webnotestech.com', 'document_type': None, 'name': 'PV Ded Tax Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': '', 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Select', 'creation': '2009-05-25 16:21:06', 'doctype': 'DocField', 'oldfieldname': 'tds_type', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': 1, 'modified_by': 'nabin@webnotestech.com', 'label': 'TDS Type', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Ded Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02152', 'idx': 1, 'default': None, 'colour': None, 'modified': '2009-12-15 12:02:13', 'parenttype': 'DocType', 'fieldname': 'tds_type', 'fieldtype': 'Select', 'options': '\nMain\nSurcharge\nEdu Cess\nSH Edu Cess\nNot Applicable', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'tax_code', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Tax Code', 'width': '200px', 'trigger': '', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Ded Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00445', 'idx': 2, 'default': None, 'colour': None, 'modified': '2009-12-15 12:02:13', 'parenttype': 'DocType', 'fieldname': 'tax_code', 'fieldtype': 'Link', 'options': 'Account', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Float', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'tax_rate', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Rate', 'width': None, 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Ded Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00446', 'idx': 3, 'default': None, 'colour': None, 'modified': '2009-12-15 12:02:13', 'parenttype': 'DocType', 'fieldname': 'tax_rate', 'fieldtype': 'Float', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-03-12 12:09:22', 'doctype': 'DocField', 'oldfieldname': 'ded_amount', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Amount', 'width': None, 'trigger': 'Client', 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'PV Ded Tax Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL00447', 'idx': 4, 'default': None, 'colour': None, 'modified': '2009-12-15 12:02:13', 'parenttype': 'DocType', 'fieldname': 'ded_amount', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]

View File

@ -1,686 +1,316 @@
# DocType, PV Detail
[
# These values are common in all dictionaries
{
'_last_update': None,
'allow_attach': None,
'allow_copy': None,
'allow_email': None,
'allow_print': None,
'allow_rename': None,
'allow_trash': None,
'autoname': 'EVD.######',
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2010-08-08 17:09:17',
'description': None,
'docstatus': 0,
'doctype': 'DocType',
'document_type': None,
'dt_template': None,
'hide_heading': None,
'hide_toolbar': None,
'idx': None,
'in_create': None,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': None,
'istable': 1,
'max_attachments': None,
'menu_index': None,
'modified': '2011-03-30 11:23:38',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'autoname': 'EVD.######',
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': 'PV Detail',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'read_only': None,
'read_only_onload': None,
'search_fields': None,
'name': '__common__',
'section_style': 'Tray',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': ' ',
'show_in_menu': 0,
'smallicon': None,
'use_template': None,
'version': 26
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType'
},
# DocType, PV Detail
{
'doctype': 'DocType',
'name': 'PV Detail'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'item_code',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 1,
'in_filter': 1,
'label': 'Item',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02571',
'no_copy': None,
'oldfieldname': 'item_code',
'oldfieldtype': 'Link',
'options': 'Item',
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': None,
'reqd': 0,
'search_index': 1,
'trigger': 'Client',
'width': None
'trigger': 'Client'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'item_name',
'fieldtype': 'Data',
'hidden': None,
'icon': None,
'idx': 2,
'in_filter': 0,
'label': 'Item Name',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02572',
'no_copy': None,
'oldfieldname': 'item_name',
'oldfieldtype': 'Data',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': 0,
'trigger': None,
'width': None
'search_index': 0
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'brand',
'fieldtype': 'Data',
'hidden': None,
'icon': None,
'idx': 3,
'in_filter': None,
'label': 'Brand',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02573',
'no_copy': None,
'oldfieldname': 'brand',
'oldfieldtype': 'Data',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'print_hide': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'description',
'fieldtype': 'Text',
'hidden': None,
'icon': None,
'idx': 4,
'in_filter': None,
'label': 'Description',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02574',
'no_copy': None,
'oldfieldname': 'description',
'oldfieldtype': 'Text',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': '200px'
'width': '300px'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'item_group',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 5,
'in_filter': 1,
'label': 'Item Group',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02575',
'no_copy': None,
'oldfieldname': 'item_group',
'oldfieldtype': 'Link',
'options': 'Item Group',
'owner': 'jai@webnotestech.com',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'rate',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 6,
'in_filter': None,
'label': 'Rate (Default Curr.)',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02576',
'no_copy': None,
'oldfieldname': 'rate',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': 'Client',
'width': None
'trigger': 'Client'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'import_rate',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 7,
'in_filter': None,
'label': 'Rate',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02578',
'no_copy': None,
'oldfieldname': 'import_rate',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 0,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': 'Client',
'width': None
'trigger': 'Client'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'qty',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 8,
'in_filter': None,
'label': 'Qty',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02577',
'no_copy': None,
'oldfieldname': 'qty',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 0,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': 'Client',
'width': None
'trigger': 'Client'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'amount',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 9,
'in_filter': None,
'label': 'Amount (Default Curr.)',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02579',
'no_copy': None,
'oldfieldname': 'amount',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
'reqd': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'import_amount',
'fieldtype': 'Currency',
'hidden': None,
'icon': None,
'idx': 10,
'in_filter': None,
'label': 'Amount',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02580',
'no_copy': None,
'oldfieldname': 'import_amount',
'oldfieldtype': 'Currency',
'options': None,
'owner': 'jai@webnotestech.com',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
'reqd': 1
},
# DocField
{
'allow_on_submit': None,
'colour': 'White:FFF',
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'expense_head',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 11,
'in_filter': None,
'label': 'Expense Head',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02581',
'no_copy': None,
'oldfieldname': 'expense_head',
'oldfieldtype': 'Link',
'options': 'Account',
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': 'Client',
'width': '120px'
},
# DocField
{
'allow_on_submit': None,
'colour': 'White:FFF',
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'cost_center',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 12,
'in_filter': None,
'label': 'Cost Center',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02582',
'no_copy': None,
'oldfieldname': 'cost_center',
'oldfieldtype': 'Link',
'options': 'Cost Center',
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': 'Client',
'width': '120px'
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'purchase_order',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 13,
'in_filter': 1,
'label': 'Pur Order',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02583',
'no_copy': None,
'oldfieldname': 'purchase_order',
'oldfieldtype': 'Link',
'options': 'Purchase Order',
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'po_detail',
'fieldtype': 'Data',
'hidden': 1,
'icon': None,
'idx': 14,
'in_filter': 1,
'label': 'PO Detail',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02584',
'no_copy': None,
'oldfieldname': 'po_detail',
'oldfieldtype': 'Data',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'purchase_receipt',
'fieldtype': 'Link',
'hidden': None,
'icon': None,
'idx': 15,
'in_filter': 1,
'label': 'Pur Receipt',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02585',
'no_copy': None,
'oldfieldname': 'purchase_receipt',
'oldfieldtype': 'Link',
'options': 'Purchase Receipt',
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'pr_detail',
'fieldtype': 'Data',
'hidden': 1,
'icon': None,
'idx': 16,
'in_filter': 1,
'label': 'PR Detail',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02586',
'no_copy': None,
'oldfieldname': 'pr_detail',
'oldfieldtype': 'Data',
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': None,
'reqd': None,
'search_index': 1,
'trigger': None,
'width': None
'search_index': 1
},
# DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-08-08 17:09:17',
'default': None,
'depends_on': None,
'description': 'Tax detail table fetched from item master as a string and stored in this field.\nUsed for Purchase Other Charges',
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'item_tax_rate',
'fieldtype': 'Small Text',
'hidden': None,
'icon': None,
'idx': 17,
'in_filter': None,
'label': 'Item Tax Rate',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': 'FL02587',
'no_copy': None,
'oldfieldname': 'item_tax_rate',
'oldfieldtype': 'Small Text',
'options': None,
'owner': 'wasim@webnotestech.com',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 1,
'print_hide': 1,
'report_hide': 1,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'report_hide': 1
},
# DocField
{
'allow_on_submit': 1,
'colour': None,
'creation': '2011-05-09 11:04:22',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'page_break',
'fieldtype': 'Check',
'hidden': None,
'icon': None,
'idx': 18,
'in_filter': None,
'label': 'Page Break',
'modified': '2011-05-09 11:04:22',
'modified_by': 'Administrator',
'name': '000000371',
'no_copy': 1,
'oldfieldname': None,
'oldfieldtype': None,
'options': None,
'owner': 'Administrator',
'parent': 'PV Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'report_hide': 1
}
]

View File

@ -81,7 +81,7 @@ class DocType(TransactionBase):
# Get Account Head to which amount needs to be Debited based on Customer
# ----------------------------------------------------------------------
def get_customer_account(self):
acc_head = sql("select name from `tabAccount` where name = %s and docstatus != 2", (cstr(self.doc.customer) + " - " + self.get_company_abbr()))
acc_head = sql("select name from `tabAccount` where (name = %s or (master_name = %s and master_type = 'customer')) and docstatus != 2", (cstr(self.doc.customer) + " - " + self.get_company_abbr(),self.doc.customer))
if acc_head and acc_head[0][0]:
return acc_head[0][0]
else:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2009-06-15 16:18:15', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 2, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': None, 'name': 'Supplier TDS Category Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': None, 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Select', 'creation': '2009-06-15 16:18:15', 'doctype': 'DocField', 'oldfieldname': 'tds_category', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'Administrator', 'label': 'TDS Category', 'width': '300px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'Supplier TDS Category Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL02337', 'idx': 1, 'default': None, 'colour': None, 'modified': '2009-06-15 17:01:44', 'parenttype': 'DocType', 'fieldname': 'tds_category', 'fieldtype': 'Select', 'options': 'link:TDS Category', 'report_hide': None, 'parentfield': 'fields'}]

View File

@ -1,10 +1,10 @@
$import(Tips Common)
//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
cur_frm.cscript.get_tips(doc, cdt, cdn);
}

View File

@ -1,266 +1,141 @@
# DocType, TDS Category
[
# These values are common in all dictionaries
{
'_last_update': '1300960461',
'allow_attach': None,
'allow_copy': None,
'allow_email': None,
'allow_print': None,
'allow_rename': None,
'allow_trash': None,
'autoname': 'field:category_name',
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2010-11-30 17:30:43',
'description': None,
'creation': '2010-08-08 17:09:27',
'docstatus': 0,
'doctype': 'DocType',
'document_type': 'Master',
'dt_template': None,
'hide_heading': None,
'hide_toolbar': None,
'idx': None,
'in_create': 0,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': None,
'istable': None,
'last_update': '1294160993',
'max_attachments': None,
'menu_index': None,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1302586171',
'autoname': 'field:category_name',
'colour': 'White:FFF',
'doctype': 'DocType',
'document_type': 'Master',
'in_create': 0,
'module': 'Accounts',
'name': 'TDS Category',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'read_only': None,
'read_only_onload': None,
'search_fields': None,
'name': '__common__',
'section_style': 'Simple',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': ' ',
'show_in_menu': 0,
'smallicon': None,
'use_template': None,
'version': 9
'version': 8
},
# These values are common for all DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:43',
'default': 'Accounts',
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'module',
'fieldtype': 'Link',
'hidden': 0,
'icon': None,
'idx': 1,
'in_filter': 0,
'label': 'Module',
'modified': '2011-03-24 15:58:08',
'modified_by': 'Administrator',
'name': 'FL00996',
'no_copy': None,
'oldfieldname': 'module',
'oldfieldtype': 'Link',
'options': 'Module Def',
'owner': 'Administrator',
'name': '__common__',
'parent': 'TDS Category',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 0,
'report_hide': 0,
'reqd': None,
'search_index': 0,
'trigger': None,
'width': None
'permlevel': 0
},
# These values are common for all DocPerm
{
'allow_on_submit': None,
'colour': None,
'creation': '2011-03-24 15:58:08',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': None,
'fieldtype': 'HTML',
'hidden': None,
'icon': None,
'idx': 2,
'in_filter': None,
'label': 'Note HTML',
'modified': '2011-03-24 15:58:08',
'modified_by': 'Administrator',
'name': '000006316',
'no_copy': None,
'oldfieldname': None,
'oldfieldtype': 'HTML',
'options': '<b>Note:</b> You must first create the Accounts from the Chart of Accounts and then link it to this Category.',
'owner': 'Administrator',
'doctype': 'DocPerm',
'name': '__common__',
'parent': 'TDS Category',
'parentfield': 'fields',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'read': 1
},
# DocType, TDS Category
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:43',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'category_name',
'fieldtype': 'Data',
'hidden': None,
'icon': None,
'idx': 3,
'in_filter': None,
'label': 'Category Name',
'modified': '2011-03-24 15:58:08',
'modified_by': 'Administrator',
'name': 'FL00998',
'no_copy': None,
'oldfieldname': 'category_name',
'oldfieldtype': 'Data',
'options': None,
'owner': 'Administrator',
'parent': 'TDS Category',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
},
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:43',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'tds_sh_edu_cess_account',
'fieldtype': 'Table',
'hidden': None,
'icon': None,
'idx': 4,
'in_filter': None,
'label': 'TDS Account Detail',
'modified': '2011-03-24 15:58:08',
'modified_by': 'Administrator',
'name': 'FL00999',
'no_copy': None,
'oldfieldname': 'tds_sh_edu_cess_account',
'oldfieldtype': 'Table',
'options': 'TDS Category Account',
'owner': 'Administrator',
'parent': 'TDS Category',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 0,
'search_index': None,
'trigger': None,
'width': None
'doctype': 'DocType',
'name': 'TDS Category'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'creation': '2010-11-30 17:30:43',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 1,
'match': None,
'modified': '2010-11-30 17:30:43',
'modified_by': 'Administrator',
'name': 'PERM00112',
'owner': 'Administrator',
'parent': 'TDS Category',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 1,
'creation': '2010-11-30 17:30:43',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 2,
'match': None,
'modified': '2010-11-30 17:30:43',
'modified_by': 'Administrator',
'name': 'PERM00113',
'owner': 'Administrator',
'parent': 'TDS Category',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts Manager',
'submit': 0,
'write': 1
},
# DocPerm
{
'amend': None,
'cancel': None,
'create': 1,
'creation': '2010-11-30 17:30:43',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 3,
'match': None,
'modified': '2010-11-30 17:30:43',
'modified_by': 'Administrator',
'name': 'PERM00114',
'owner': 'Administrator',
'parent': 'TDS Category',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Administrator',
'submit': None,
'role': 'System Manager',
'write': 1
},
# DocField
{
'default': 'Accounts',
'doctype': 'DocField',
'fieldname': 'module',
'fieldtype': 'Link',
'hidden': 0,
'idx': 1,
'in_filter': 0,
'label': 'Module',
'oldfieldname': 'module',
'oldfieldtype': 'Link',
'options': 'Module Def',
'print_hide': 0,
'report_hide': 0,
'search_index': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'HTML',
'idx': 2,
'label': 'Note HTML',
'oldfieldtype': 'HTML',
'options': '<b>Note:</b> You must first create the Accounts from the Chart of Accounts and then link it to this Category.'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'category_name',
'fieldtype': 'Data',
'idx': 3,
'label': 'Category Name',
'oldfieldname': 'category_name',
'oldfieldtype': 'Data',
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'tds_sh_edu_cess_account',
'fieldtype': 'Table',
'idx': 4,
'label': 'TDS Account Detail',
'oldfieldname': 'tds_sh_edu_cess_account',
'oldfieldtype': 'Table',
'options': 'TDS Category Account',
'reqd': 0
}
]

View File

@ -1 +1,66 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-05-06 14:05:43', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 1, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'wasim@webnotestech.com', 'document_type': None, 'name': 'TDS Category Account', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Select', 'creation': '2009-05-06 14:05:43', 'doctype': 'DocField', 'oldfieldname': 'company', 'owner': 'Administrator', 'reqd': 1, 'in_filter': 1, 'print_hide': None, 'modified_by': 'wasim@webnotestech.com', 'label': 'Company', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Category Account', 'search_index': 1, 'allow_on_submit': None, 'icon': None, 'name': 'FL01996', 'idx': 2, 'default': None, 'colour': None, 'modified': '2010-03-10 11:17:57', 'parenttype': 'DocType', 'fieldname': 'company', 'fieldtype': 'Link', 'options': 'Company', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-05-06 14:05:43', 'doctype': 'DocField', 'oldfieldname': 'account_head', 'owner': 'Administrator', 'reqd': 1, 'in_filter': None, 'print_hide': None, 'modified_by': 'wasim@webnotestech.com', 'label': 'Account Head', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Category Account', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL01997', 'idx': 3, 'default': None, 'colour': None, 'modified': '2010-03-10 11:17:57', 'parenttype': 'DocType', 'fieldname': 'account_head', 'fieldtype': 'Link', 'options': 'Account', 'report_hide': None, 'parentfield': 'fields'}]
# DocType, TDS Category Account
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:27',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': 'DocField',
'fieldtype': 'Link',
'name': '__common__',
'oldfieldtype': 'Link',
'parent': 'TDS Category Account',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'reqd': 1
},
# DocType, TDS Category Account
{
'doctype': 'DocType',
'name': 'TDS Category Account'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'company',
'idx': 2,
'in_filter': 1,
'label': 'Company',
'oldfieldname': 'company',
'options': 'Company',
'search_index': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'account_head',
'idx': 3,
'label': 'Account Head',
'oldfieldname': 'account_head',
'options': 'Account'
}
]

View File

@ -1 +1,31 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2010-03-05 12:23:01', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'wasim@webnotestech.com', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': 1, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 38, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': None, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': '', 'name': 'TDS Control', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-12-07 12:30:02', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}]
# DocType, TDS Control
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:27',
'docstatus': 0,
'modified': '2010-12-16 16:31:49',
'modified_by': 'Administrator',
'owner': 'wasim@webnotestech.com'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 36
},
# DocType, TDS Control
{
'doctype': 'DocType',
'name': 'TDS Control'
}
]

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,266 +1,127 @@
# DocType, TDS Rate Chart
[
# These values are common in all dictionaries
{
'_last_update': '1300960463',
'allow_attach': None,
'allow_copy': None,
'allow_email': None,
'allow_print': None,
'allow_rename': None,
'allow_trash': None,
'autoname': 'Prompt',
'change_log': None,
'client_script': None,
'client_script_core': None,
'client_string': None,
'colour': 'White:FFF',
'creation': '2010-11-30 17:30:44',
'description': None,
'creation': '2010-08-08 17:09:27',
'docstatus': 0,
'doctype': 'DocType',
'document_type': None,
'dt_template': None,
'hide_heading': None,
'hide_toolbar': None,
'idx': None,
'in_create': 1,
'in_dialog': None,
'is_transaction_doc': None,
'issingle': None,
'istable': None,
'last_update': '1294160988',
'max_attachments': None,
'menu_index': None,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'autoname': 'Prompt',
'colour': 'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'module': 'Accounts',
'name': 'TDS Rate Chart',
'name_case': None,
'owner': 'Administrator',
'parent': None,
'parent_node': None,
'parentfield': None,
'parenttype': None,
'print_outline': None,
'name': '__common__',
'read_only': 0,
'read_only_onload': None,
'search_fields': None,
'section_style': 'Simple',
'server_code': None,
'server_code_compiled': None,
'server_code_core': None,
'server_code_error': ' ',
'show_in_menu': 0,
'smallicon': None,
'use_template': None,
'version': 12
'version': 11
},
# These values are common for all DocField
{
'allow_on_submit': None,
'colour': None,
'creation': '2009-05-12 11:19:12',
'default': 'Accounts',
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'module',
'fieldtype': 'Link',
'hidden': 1,
'icon': None,
'idx': 1,
'in_filter': None,
'label': 'Module',
'modified': '2011-03-24 15:58:09',
'modified_by': 'Administrator',
'name': 'FL00067',
'no_copy': None,
'oldfieldname': 'module',
'oldfieldtype': 'Link',
'options': 'Module Def',
'owner': 'saumil@webnotestech.com',
'name': '__common__',
'parent': 'TDS Rate Chart',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
'permlevel': 0
},
# These values are common for all DocPerm
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:45',
'default': 'Accounts',
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'module',
'fieldtype': 'Link',
'hidden': 1,
'icon': None,
'idx': 1,
'in_filter': None,
'label': 'Module',
'modified': '2010-11-30 17:30:45',
'modified_by': 'Administrator',
'name': 'FL01040',
'no_copy': None,
'oldfieldname': 'module',
'oldfieldtype': 'Link',
'options': 'Module Def',
'owner': 'saumil@webnotestech.com',
'parent': 'TDS Rate Chart',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
},
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:45',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'applicable_from',
'fieldtype': 'Date',
'hidden': None,
'icon': None,
'idx': 2,
'in_filter': None,
'label': 'Applicable From',
'modified': '2011-03-24 15:58:09',
'modified_by': 'Administrator',
'name': 'FL01041',
'no_copy': None,
'oldfieldname': 'applicable_from',
'oldfieldtype': 'Date',
'options': None,
'owner': 'Administrator',
'parent': 'TDS Rate Chart',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': 1,
'search_index': None,
'trigger': None,
'width': None
},
{
'allow_on_submit': None,
'colour': None,
'creation': '2010-11-30 17:30:45',
'default': None,
'depends_on': None,
'description': None,
'docstatus': 0,
'doctype': 'DocField',
'fieldname': 'rate_chart_detail',
'fieldtype': 'Table',
'hidden': None,
'icon': None,
'idx': 3,
'in_filter': None,
'label': 'Rate Chart Detail',
'modified': '2011-03-24 15:58:09',
'modified_by': 'Administrator',
'name': 'FL01042',
'no_copy': None,
'oldfieldname': 'rate_chart_detail',
'oldfieldtype': 'Table',
'options': 'TDS Rate Detail',
'owner': 'Administrator',
'parent': 'TDS Rate Chart',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'print_hide': None,
'report_hide': None,
'reqd': None,
'search_index': None,
'trigger': None,
'width': None
},
{
'amend': 0,
'cancel': 0,
'create': 0,
'creation': '2010-11-30 17:30:45',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 1,
'match': None,
'modified': '2010-11-30 17:30:45',
'modified_by': 'Administrator',
'name': 'PERM00124',
'owner': 'Administrator',
'name': '__common__',
'parent': 'TDS Rate Chart',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'read': 1
},
# DocType, TDS Rate Chart
{
'doctype': 'DocType',
'name': 'TDS Rate Chart'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': 'DocPerm',
'idx': 1,
'role': 'Accounts User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'creation': '2010-11-30 17:30:45',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 2,
'match': None,
'modified': '2010-11-30 17:30:45',
'modified_by': 'Administrator',
'name': 'PERM00125',
'owner': 'Administrator',
'parent': 'TDS Rate Chart',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Accounts Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': None,
'cancel': None,
'create': 1,
'creation': '2010-11-30 17:30:45',
'docstatus': 0,
'doctype': 'DocPerm',
'execute': None,
'idx': 3,
'match': None,
'modified': '2010-11-30 17:30:45',
'modified_by': 'Administrator',
'name': 'PERM00126',
'owner': 'Administrator',
'parent': 'TDS Rate Chart',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'Administrator',
'submit': None,
'role': 'System Manager',
'write': 1
},
# DocField
{
'default': 'Accounts',
'doctype': 'DocField',
'fieldname': 'module',
'fieldtype': 'Link',
'hidden': 1,
'idx': 1,
'label': 'Module',
'oldfieldname': 'module',
'oldfieldtype': 'Link',
'options': 'Module Def',
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'applicable_from',
'fieldtype': 'Date',
'idx': 2,
'label': 'Applicable From',
'oldfieldname': 'applicable_from',
'oldfieldtype': 'Date',
'reqd': 1
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'rate_chart_detail',
'fieldtype': 'Table',
'idx': 3,
'label': 'Rate Chart Detail',
'oldfieldname': 'rate_chart_detail',
'oldfieldtype': 'Table',
'options': 'TDS Rate Detail'
}
]

View File

@ -1 +1,88 @@
[{'section_style': 'Tray', 'is_transaction_doc': None, 'creation': '2009-05-06 12:24:07', 'search_fields': None, 'module': 'Accounts', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': None, 'allow_rename': None, 'smallicon': None, 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 7, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': 1, 'description': None, 'parent': None, 'server_code': None, 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'nabin@webnotestech.com', 'document_type': None, 'name': 'TDS Rate Detail', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': None, 'modified': '2010-09-20 14:06:57', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}, {'no_copy': None, 'oldfieldtype': 'Link', 'creation': '2009-05-06 12:24:07', 'doctype': 'DocField', 'oldfieldname': 'category', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Category', 'width': '200px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Rate Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL01976', 'idx': 1, 'default': None, 'colour': None, 'modified': '2010-06-30 15:37:49', 'parenttype': 'DocType', 'fieldname': 'category', 'fieldtype': 'Link', 'options': 'TDS Category', 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-05-06 12:24:07', 'doctype': 'DocField', 'oldfieldname': 'slab_from', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Slab From', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Rate Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL01977', 'idx': 2, 'default': None, 'colour': None, 'modified': '2010-06-30 15:37:49', 'parenttype': 'DocType', 'fieldname': 'slab_from', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2009-05-06 12:24:07', 'doctype': 'DocField', 'oldfieldname': 'rate', 'owner': 'Administrator', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Rate', 'width': '50px', 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Rate Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL01978', 'idx': 3, 'default': None, 'colour': None, 'modified': '2010-06-30 15:37:49', 'parenttype': 'DocType', 'fieldname': 'rate', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}, {'no_copy': None, 'oldfieldtype': 'Currency', 'creation': '2010-06-30 15:37:49', 'doctype': 'DocField', 'oldfieldname': 'rate_without_pan', 'owner': 'nabin@webnotestech.com', 'reqd': None, 'in_filter': None, 'print_hide': None, 'modified_by': 'nabin@webnotestech.com', 'label': 'Rate without PAN', 'width': None, 'trigger': None, 'depends_on': None, 'docstatus': 0, 'hidden': None, 'permlevel': 0, 'description': None, 'parent': 'TDS Rate Detail', 'search_index': None, 'allow_on_submit': None, 'icon': None, 'name': 'FL05508', 'idx': 4, 'default': None, 'colour': None, 'modified': '2010-06-30 15:37:49', 'parenttype': 'DocType', 'fieldname': 'rate_without_pan', 'fieldtype': 'Currency', 'options': None, 'report_hide': None, 'parentfield': 'fields'}]
# DocType, TDS Rate Detail
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:27',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Accounts',
'name': '__common__',
'section_style': 'Tray',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 7
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'TDS Rate Detail',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0
},
# DocType, TDS Rate Detail
{
'doctype': 'DocType',
'name': 'TDS Rate Detail'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'category',
'fieldtype': 'Link',
'idx': 1,
'label': 'Category',
'oldfieldname': 'category',
'oldfieldtype': 'Link',
'options': 'TDS Category',
'width': '200px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'slab_from',
'fieldtype': 'Currency',
'idx': 2,
'label': 'Slab From',
'oldfieldname': 'slab_from',
'oldfieldtype': 'Currency'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'rate',
'fieldtype': 'Currency',
'idx': 3,
'label': 'Rate',
'oldfieldname': 'rate',
'oldfieldtype': 'Currency',
'width': '50px'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'rate_without_pan',
'fieldtype': 'Currency',
'idx': 4,
'label': 'Rate without PAN',
'oldfieldname': 'rate_without_pan',
'oldfieldtype': 'Currency'
}
]

File diff suppressed because one or more lines are too long

View File

@ -1 +1,44 @@
[{'creation': '2009-03-12 12:09:24', 'module': 'Accounts', 'doctype': 'Page', 'owner': 'Administrator', 'style': None, 'modified_by': 'nabin@webnotestech.com', 'script': None, 'show_in_menu': 0, 'content': None, 'page_name': 'Accounts Browser', 'menu_index': None, 'docstatus': 0, 'parent': None, 'standard': 'Yes', 'icon': '', 'name': 'Accounts Browser', 'idx': None, 'static_content': None, 'modified': '2010-11-18 17:00:21', 'parenttype': None, 'parent_node': None, 'parentfield': None}, {'modified_by': 'nabin@webnotestech.com', 'name': 'PR000004', 'parent': 'Accounts Browser', 'creation': '2009-03-12 12:09:24', 'modified': '2010-11-18 17:00:21', 'doctype': 'Page Role', 'idx': 1, 'parenttype': 'Page', 'role': 'Accounts User', 'owner': 'Administrator', 'docstatus': 0, 'parentfield': 'roles'}]
# Page, Accounts Browser
[
# These values are common in all dictionaries
{
'creation': '2010-12-14 10:23:28',
'docstatus': 0,
'modified': '2010-12-29 12:57:23',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
'module': 'Accounts',
'name': '__common__',
'page_name': 'Accounts Browser',
'show_in_menu': 0,
'standard': 'Yes'
},
# These values are common for all Page Role
{
'doctype': 'Page Role',
'idx': 1,
'name': '__common__',
'parent': 'Accounts Browser',
'parentfield': 'roles',
'parenttype': 'Page',
'role': 'Accounts User'
},
# Page, Accounts Browser
{
'doctype': 'Page',
'name': 'Accounts Browser'
},
# Page Role
{
'doctype': 'Page Role'
}
]

View File

@ -1 +1,58 @@
[{'creation': '2009-03-12 12:09:24', 'module': 'Accounts', 'doctype': 'Page', 'owner': 'Administrator', 'style': None, 'modified_by': 'Administrator', 'script': None, 'show_in_menu': 0, 'content': None, 'page_name': 'Financial Statements', 'menu_index': None, 'docstatus': 0, 'parent': None, 'standard': 'Yes', 'icon': '', 'name': 'Financial Statements', 'idx': None, 'static_content': None, 'modified': '2010-09-25 00:00:00', 'parenttype': None, 'parent_node': None, 'parentfield': None}, {'modified_by': 'Administrator', 'name': 'PR000005', 'parent': 'Financial Statements', 'creation': '2009-03-12 12:09:24', 'modified': '2010-04-08 12:28:01', 'doctype': 'Page Role', 'idx': 1, 'parenttype': 'Page', 'role': 'Accounts User', 'owner': 'Administrator', 'docstatus': 0, 'parentfield': 'roles'}, {'modified_by': 'Administrator', 'name': 'PR000016', 'parent': 'Financial Statements', 'creation': '2009-06-04 15:16:31', 'modified': '2010-03-29 13:40:15', 'doctype': 'Page Role', 'idx': 2, 'parenttype': 'Page', 'role': 'Administrator', 'owner': 'Administrator', 'docstatus': 0, 'parentfield': 'roles'}, {'modified_by': 'Administrator', 'name': 'PR000051', 'parent': 'Financial Statements', 'creation': '2009-09-23 16:34:18', 'modified': '2010-03-29 13:40:15', 'doctype': 'Page Role', 'idx': 3, 'parenttype': 'Page', 'role': 'Accounts Manager', 'owner': 'nabin@webnotestech.com', 'docstatus': 0, 'parentfield': 'roles'}]
# Page, Financial Statements
[
# These values are common in all dictionaries
{
'creation': '2010-10-12 15:19:32',
'docstatus': 0,
'modified': '2011-01-03 17:32:30',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
'module': 'Accounts',
'name': '__common__',
'page_name': 'Financial Statements',
'show_in_menu': 0,
'standard': 'Yes'
},
# These values are common for all Page Role
{
'doctype': 'Page Role',
'name': '__common__',
'parent': 'Financial Statements',
'parentfield': 'roles',
'parenttype': 'Page'
},
# Page, Financial Statements
{
'doctype': 'Page',
'name': 'Financial Statements'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 1,
'role': 'Accounts User'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 2,
'role': 'Administrator'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 3,
'role': 'Accounts Manager'
}
]

View File

@ -1,37 +0,0 @@
[
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'GL Entry\x01ID,GL Entry\x01Owner,GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Cost Center,GL Entry\x01Against Voucher,GL Entry\x01Voucher Type,GL Entry\x01Voucher No,GL Entry\x01Remarks,GL Entry\x01Is Cancelled,GL Entry\x01Is Opening,GL Entry\x01Fiscal Year,GL Entry\x01Company,GL Entry\x01Lft,GL Entry\x01Rgt',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Account - Inputs (R.G. 23 A - PART II) Wrong One',
'custom_query': '',
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-03-20 17:02:13',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'account_-_inputs_rg_23_a_-_part_ii_wrong_one',
'owner': 'jai@webnotestech.com',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': '',
'server_script': None,
'sort_by': 'ID',
'sort_order': 'DESC',
'standard': 'Yes'
}
]

View File

@ -1,37 +1,32 @@
# Search Criteria, accounts_payable
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': '',
'add_tab': '',
'columns': 'GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
'creation': '2010-10-22 16:29:40',
'criteria_name': 'Accounts Payable',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'creation': '2010-10-22 16:28:49',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':'','Payable Voucher\x01Aging Based On':'Posting Date','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-22 15:16:03',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
'criteria_name': 'Accounts Payable',
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':'','Payable Voucher\x01Aging Based On':'Posting Date','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'module': 'Accounts',
'name': 'accounts_payable',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'name': '__common__',
'sort_by': '`tabGL Entry`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, accounts_payable
{
'doctype': 'Search Criteria',
'name': 'accounts_payable'
}
]

View File

@ -1,37 +1,32 @@
# Search Criteria, accounts_receivable
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': '',
'add_tab': '',
'columns': 'GL Entry\x01Posting Date,GL Entry\x01Transaction Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
'creation': '2010-10-19 10:32:38',
'criteria_name': 'Accounts Receivable',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'creation': '2010-10-19 10:32:39',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Is Cancelled':'No','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-19 10:29:38',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'GL Entry\x01Posting Date,GL Entry\x01Transaction Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
'criteria_name': 'Accounts Receivable',
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Is Cancelled':'No','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'module': 'Accounts',
'name': 'accounts_receivable',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'name': '__common__',
'sort_by': '`tabGL Entry`.`name`',
'sort_order': 'ASC',
'standard': 'Yes'
},
# Search Criteria, accounts_receivable
{
'doctype': 'Search Criteria',
'name': 'accounts_receivable'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, bank_clearance_report
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Credit,Journal Voucher\x01Clearance Date,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Bank Clearance report',
'custom_query': '',
'description': 'Bank Clearance report',
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-09 16:14:13',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Journal Voucher\x01ID,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Credit,Journal Voucher\x01Clearance Date,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'criteria_name': 'Bank Clearance report',
'description': 'Bank Clearance report',
'dis_filters': 'fiscal_year',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'module': 'Accounts',
'name': 'bank_clearance_report',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': 'ID',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, bank_clearance_report
{
'doctype': 'Search Criteria',
'name': 'bank_clearance_report'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, bank_reconciliation_statement
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': "(`tabJournal Voucher Detail`.credit >= 0 or `tabJournal Voucher Detail`.credit is null)\n(`tabJournal Voucher`.cheque_no is not null or `tabJournal Voucher`.cheque_no != '')\n(ifnull(`tabJournal Voucher`.clearance_date, '0000-00-00') >'%(clearance_date1)s' or `tabJournal Voucher`.clearance_date is null or `tabJournal Voucher`.clearance_date = '0000-00-00')\n(`tabJournal Voucher`.posting_date <= '%(clearance_date1)s')",
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher\x01Clearance Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Credit,Journal Voucher Detail\x01Against Account',
'creation': '2010-11-01 10:56:13',
'criteria_name': 'Bank Reconciliation Statement',
'custom_query': '',
'description': None,
'dis_filters': 'clearance_date\nfiscal_year',
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'creation': '2010-11-01 10:56:14',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-29 16:36:00',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'add_cond': "(`tabJournal Voucher Detail`.credit >= 0 or `tabJournal Voucher Detail`.credit is null)\n(`tabJournal Voucher`.cheque_no is not null or `tabJournal Voucher`.cheque_no != '')\n(ifnull(`tabJournal Voucher`.clearance_date, '0000-00-00') >'%(clearance_date1)s' or `tabJournal Voucher`.clearance_date is null or `tabJournal Voucher`.clearance_date = '0000-00-00')\n(`tabJournal Voucher`.posting_date <= '%(clearance_date1)s')",
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher\x01Clearance Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Credit,Journal Voucher Detail\x01Against Account',
'criteria_name': 'Bank Reconciliation Statement',
'dis_filters': 'clearance_date\nfiscal_year',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'module': 'Accounts',
'name': 'bank_reconciliation_statement',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabJournal Voucher`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, bank_reconciliation_statement
{
'doctype': 'Search Criteria',
'name': 'bank_reconciliation_statement'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, budget_variance_report
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-09-01 15:47:57',
'criteria_name': 'Budget Variance Report',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Budget Detail',
'creation': '2010-09-01 15:48:09',
'docstatus': 0,
'modified': '2011-05-23 16:07:41',
'modified_by': 'Administrator',
'owner': 'harshada@webnotestech.com'
},
# These values are common for all Search Criteria
{
'criteria_name': 'Budget Variance Report',
'doc_type': 'Budget Detail',
'doctype': 'Search Criteria',
'filters': "{'Budget Detail\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-09-01 15:05:50',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'budget_variance_report',
'owner': 'harshada@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Cost Center',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabCost Center`.`lft`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, budget_variance_report
{
'doctype': 'Search Criteria',
'name': 'budget_variance_report'
}
]

View File

@ -1,9 +0,0 @@
report.customize_filters = function() {
this.hide_all_filters();
this.add_filter({fieldname:'fiscal_year', label:'Fiscal Year', fieldtype:'Link', options:'Fiscal Year', report_default:sys_defaults.fiscal_year, parent:'Budget Detail'});
this.add_filter({fieldname:'company', label:'Company', fieldtype:'Link', options:'Company',report_default:sys_defaults.company, ignore : 1, parent:'Budget Detail'});
this.add_filter({fieldname:'period', label:'Period', fieldtype:'Select', options:'Monthly'+NEWLINE+'Quarterly'+NEWLINE+'Half Yearly'+NEWLINE+'Annual',report_default:'Quarterly',ignore : 1, parent:'Budget Detail'});
this.add_filter({fieldname:'cost_center', label:'Cost Center', fieldtype:'Link', options:'Cost Center', parent:'Budget Detail'});
this.add_filter({fieldname:'account_head', label:'Account', fieldtype:'Link', options:'Account', parent:'Budget Detail'});
}
this.mytabs.items['Select Columns'].hide()

View File

@ -1,88 +0,0 @@
# use This in Query
# AND `tabAccount`.debit_or_credit = "Debit" AND `tabAccount`.`is_pl_account` = "Yes"
# validate Filters
if not filter_values.get('fiscal_year'):
msgprint("Please Select Fiscal Year")
raise Exception
if not filter_values.get('period'):
msgprint("Please Select Period")
raise Exception
# Get Values from fliters
fiscal_year = filter_values.get('fiscal_year')
period = filter_values.get('period')
mon_list = []
data = {'start_date':0, 'end_date':1}
def make_month_list(append_colnames, start_date, mon_list, period, colnames, coltypes, colwidths, coloptions, col_idx):
count = 1
if period == 'Quarterly' or period == 'Half Yearly' or period == 'Annual': mon_list.append([str(start_date)])
for m in range(12):
# get last date
last_date = str(sql("select LAST_DAY('%s')" % start_date)[0][0])
# make mon_list
if period == 'Monthly' :
mon_list.append([start_date, last_date])
# add months as Column names
month_name = sql("select MONTHNAME('%s')" % start_date)[0][0]
append_colnames(str(month_name)[:3], colnames, coltypes, colwidths, coloptions, col_idx)
# get start date
start_date = str(sql("select DATE_ADD('%s',INTERVAL 1 DAY)" % last_date)[0][0])
if period == 'Quarterly' and count % 3 == 0:
mon_list[len(mon_list) - 1 ].append(last_date)
# add Column names
append_colnames('Q '+ str(count / 3), colnames, coltypes, colwidths, coloptions, col_idx)
if count != 12: mon_list.append([start_date])
if period == 'Half Yearly' and count % 6 == 0 :
mon_list[len(mon_list) - 1 ].append(last_date)
# add Column Names
append_colnames('H'+str(count / 6), colnames, coltypes, colwidths, coloptions, col_idx)
if count != 12: mon_list.append([start_date])
if period == 'Annual' and count % 12 == 0:
mon_list[len(mon_list) - 1 ].append(last_date)
append_colnames('', colnames, coltypes, colwidths, coloptions, col_idx)
count = count +1
def append_colnames(name, colnames, coltypes, colwidths, coloptions, col_idx):
col = ['Budget', 'Actual', 'Variance']
for c in col:
colnames.append(str(c) + ' (' + str(name) +')' )
coltypes.append('Currency')
colwidths.append('150px')
coloptions.append('')
col_idx[str(c) + ' (' + str(name) +')' ] = len(colnames) - 1
col = ['Cost Center', 'Account', 'Budget Allocated', 'Distribution Id']
for c in col:
colnames.append(str(c))
coltypes.append((c=='Budget Allocated') and'Currency' or 'Link')
colwidths.append('150px')
coloptions.append((c=='Budget Allocated') and '' or (c == 'Distribution Id') and 'Budget Distribution' or c)
col_idx[str(c)] = len(colnames) - 1
start_date = get_value('Fiscal Year', fiscal_year, 'year_start_date')
if not start_date:
msgprint("Please Define Year Start Date for Fiscal Year " + str(fiscal_year))
raise Exception
start_date = start_date.strftime('%Y-%m-%d')
make_month_list(append_colnames, start_date, mon_list, period, colnames, coltypes, colwidths, coloptions, col_idx)
# Get Object Of GL Control
glc_obj = get_obj('GL Control')
bc_obj = get_obj('Budget Control')
for r in res:
count = 0
for idx in range(4, len(colnames), 3):
r.append(bc_obj.get_monthly_budget( r[3], fiscal_year, mon_list[count][data['start_date']], mon_list[count][data['end_date']], r[2]))
r.append(glc_obj.get_period_difference(r[1] + '~~~' + mon_list[count][data['start_date']] + '~~~' + mon_list[count][data['end_date']], r[0]))
r.append(r[idx] - r[idx + 1])
count = count +1

View File

@ -1 +0,0 @@
select t2.name, t1.account, t1.budget_allocated, t1.distribution_id from `tabBudget Detail` t1, `tabCost Center` t2 where t1.fiscal_year = '%(fiscal_year)s' and t1.parent = t2.name and t2.name like '%(cost_center)s%%' and t1.account like '%(account_head)s%%' and t2.docstatus != 2

View File

@ -1,37 +0,0 @@
[
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Cost Center\x01ID,Budget Detail\x01Account,Budget Detail\x01Fiscal Year,Budget Detail\x01Budget Allocated,Budget Detail\x01Actual,Budget Detail\x01Distribution ID',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Budget Variance Report1',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Budget Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Budget Detail\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-07-28 14:52:44',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'budget_variance_report1',
'owner': 'jai@webnotestech.com',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Cost Center',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabCost Center`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, business_associate_commission_report
[
# These values are common in all dictionaries
{
'creation': '2010-08-26 11:52:28',
'docstatus': 0,
'modified': '2010-08-26 11:49:50',
'modified_by': 'Administrator',
'owner': 'saumil@webnotestech.com'
},
# These values are common for all Search Criteria
{
'add_col': "SUM(`tabReceivable Voucher`.`total_commission`) AS 'Total Commission'\nSUM(`tabReceivable Voucher`.`net_total`) AS 'Net Total'\n((SUM(`tabReceivable Voucher`.`total_commission`) / SUM(`tabReceivable Voucher`.`net_total`)) * 100) AS 'Average Commission Rate'",
'add_cond': '`tabReceivable Voucher`.`net_total` > 0\n`tabReceivable Voucher`.`total_commission` > 0',
'add_tab': None,
'columns': 'Receivable Voucher\x01Business Associate',
'creation': '2010-08-26 11:52:27',
'criteria_name': 'Business Associate Commission Report',
'custom_query': '',
'description': 'Track total commission given to your Business Associate',
'dis_filters': None,
'disabled': None,
'doc_type': 'Receivable Voucher',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Receivable Voucher\x01Submitted':1}",
'graph_series': None,
'graph_values': None,
'group_by': '`tabReceivable Voucher`.sales_partner',
'idx': None,
'modified': '2010-08-26 11:49:50',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'business_associate_commission_report',
'owner': 'saumil@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, business_associate_commission_report
{
'doctype': 'Search Criteria',
'name': 'business_associate_commission_report'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, cash_flow_statement
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': '',
'add_tab': None,
'columns': 'Account\x01ID',
'creation': '2010-11-01 10:56:13',
'criteria_name': 'Cash Flow Statement',
'custom_query': None,
'description': '',
'dis_filters': 'fiscal_year\ntransaction_date',
'disabled': None,
'doc_type': 'Account',
'creation': '2010-11-01 10:56:14',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Account\x01Group or Ledger':'Ledger','Account\x01Is PL Account':'','Account\x01Is Active':'','Account\x01Account Type':'','Account\x01Company':'','Account\x01Fiscal Year':'','Account\x01Show Group Balance':'','Account\x01Level':'2'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-29 16:39:19',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Account\x01ID',
'criteria_name': 'Cash Flow Statement',
'dis_filters': 'fiscal_year\ntransaction_date',
'doc_type': 'Account',
'doctype': 'Search Criteria',
'filters': "{'Account\x01Group or Ledger':'Ledger','Account\x01Is PL Account':'','Account\x01Is Active':'','Account\x01Account Type':'','Account\x01Company':'','Account\x01Fiscal Year':'','Account\x01Show Group Balance':'','Account\x01Level':'2'}",
'module': 'Accounts',
'name': 'cash_flow_statement',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'name': '__common__',
'sort_by': '`tabAccount`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, cash_flow_statement
{
'doctype': 'Search Criteria',
'name': 'cash_flow_statement'
}
]

View File

@ -1,37 +1,34 @@
# Search Criteria, cenvat_credit_-_input_or_capital_goods
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-11-01 10:56:13',
'criteria_name': 'Cenvat Credit - Input or Capital Goods',
'custom_query': None,
'description': None,
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'creation': '2010-11-01 10:56:14',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','Receivable Voucher\x01Aging Based On':'','Payable Voucher\x01Aging Based On':'Transaction Date','Journal Voucher Detail\x01Report Type':'CENVAT CREDIT ACCOUNT - INPUTS (R.G.23 A - PART II)'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-29 16:42:14',
'modified_by': 'Administrator',
'owner': 'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'criteria_name': 'Cenvat Credit - Input or Capital Goods',
'dis_filters': 'fiscal_year',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','Receivable Voucher\x01Aging Based On':'','Payable Voucher\x01Aging Based On':'Transaction Date','Journal Voucher Detail\x01Report Type':'CENVAT CREDIT ACCOUNT - INPUTS (R.G.23 A - PART II)'}",
'module': 'Accounts',
'name': 'cenvat_credit_-_input_or_capital_goods',
'owner': 'jai@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': 'ID',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, cenvat_credit_-_input_or_capital_goods
{
'doctype': 'Search Criteria',
'name': 'cenvat_credit_-_input_or_capital_goods'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, collection_report
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Credit,Journal Voucher Detail\x01Against Receivable,Journal Voucher Detail\x01Is Advance',
'creation': '2010-10-05 12:51:18',
'criteria_name': 'Collection Report',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'creation': '2010-10-05 12:51:20',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-01 11:29:51',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Credit,Journal Voucher Detail\x01Against Receivable,Journal Voucher Detail\x01Is Advance',
'criteria_name': 'Collection Report',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90'}",
'module': 'Accounts',
'name': 'collection_report',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'name': '__common__',
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabJournal Voucher`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, collection_report
{
'doctype': 'Search Criteria',
'name': 'collection_report'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, cost_center_wise_expense
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Cost Center wise Expense',
'custom_query': None,
'description': None,
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'GL Entry',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-10 13:19:39',
'modified_by': 'Administrator',
'owner': 'swarnalata@webnotestech.com'
},
# These values are common for all Search Criteria
{
'criteria_name': 'Cost Center wise Expense',
'dis_filters': 'fiscal_year',
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
'module': 'Accounts',
'name': 'cost_center_wise_expense',
'owner': 'swarnalata@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabGL Entry`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, cost_center_wise_expense
{
'doctype': 'Search Criteria',
'name': 'cost_center_wise_expense'
}
]

View File

@ -1,37 +1,31 @@
# Search Criteria, creditors_ledger
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-12-14 10:33:09',
'criteria_name': "Creditor's Ledger",
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'creation': '2010-12-14 10:23:28',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-11-22 17:05:46',
'modified_by': 'Administrator',
'owner': 'nabin@webnotestech.com'
},
# These values are common for all Search Criteria
{
'criteria_name': "Creditor's Ledger",
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'module': 'Accounts',
'name': 'creditors_ledger',
'owner': 'nabin@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, creditors_ledger
{
'doctype': 'Search Criteria',
'name': 'creditors_ledger'
}
]

View File

@ -1,37 +1,31 @@
# Search Criteria, debtors_ledger
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-12-14 10:33:09',
'criteria_name': "Debtor's Ledger",
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'creation': '2010-12-14 10:23:28',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'No','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-11-22 17:02:05',
'modified_by': 'Administrator',
'owner': 'nabin@webnotestech.com'
},
# These values are common for all Search Criteria
{
'criteria_name': "Debtor's Ledger",
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'No','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'module': 'Accounts',
'name': 'debtors_ledger',
'owner': 'nabin@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, debtors_ledger
{
'doctype': 'Search Criteria',
'name': 'debtors_ledger'
}
]

View File

@ -1,37 +1,32 @@
# Search Criteria, general_ledger
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': '',
'creation': '2010-12-14 10:33:08',
'criteria_name': 'General Ledger',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'creation': '2010-12-14 10:23:28',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01From Posting Date\x01lower':'','GL Entry\x01To Posting Date\x01upper':'','GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'No','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
'graph_series': None,
'graph_values': None,
'group_by': '',
'idx': None,
'modified': '2010-11-30 16:26:42',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'criteria_name': 'General Ledger',
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01From Posting Date\x01lower':'','GL Entry\x01To Posting Date\x01upper':'','GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'No','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
'module': 'Accounts',
'name': 'general_ledger',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabGL Entry`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, general_ledger
{
'doctype': 'Search Criteria',
'name': 'general_ledger'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, itemwise_purchase_register
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Payable Voucher\x01ID,Payable Voucher\x01Credit To,Payable Voucher\x01Company,PV Detail\x01Item,PV Detail\x01Item Name,PV Detail\x01Expense Head,PV Detail\x01Cost Center,PV Detail\x01Qty,PV Detail\x01Rate (Default Curr.),PV Detail\x01Amount (Default Curr.)',
'creation': '2010-09-10 16:53:49',
'criteria_name': 'Itemwise Purchase Register',
'custom_query': '',
'description': 'Itemwise Purchase Register',
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'PV Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Payable Voucher\x01Submitted':1,'Payable Voucher\x01Is Opening':'No','Payable Voucher\x01Company':'','Payable Voucher\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2011-06-20 13:25:29',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Payable Voucher\x01ID,Payable Voucher\x01Credit To,Payable Voucher\x01Company,PV Detail\x01Item,PV Detail\x01Item Name,PV Detail\x01Expense Head,PV Detail\x01Cost Center,PV Detail\x01Qty,PV Detail\x01Rate (Default Curr.),PV Detail\x01Amount (Default Curr.)',
'criteria_name': 'Itemwise Purchase Register',
'description': 'Itemwise Purchase Register',
'dis_filters': 'fiscal_year',
'doc_type': 'PV Detail',
'doctype': 'Search Criteria',
'filters': "{'Payable Voucher\x01Submitted':1,'Payable Voucher\x01Is Opening':'No','Payable Voucher\x01Company':'','Payable Voucher\x01Fiscal Year':''}",
'module': 'Accounts',
'name': 'itemwise_purchase_register',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Payable Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabPayable Voucher`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, itemwise_purchase_register
{
'doctype': 'Search Criteria',
'name': 'itemwise_purchase_register'
}
]

View File

@ -1,37 +1,34 @@
# Search Criteria, itemwise_sales_register
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'RV Detail\x01Item,RV Detail\x01Item Name,RV Detail\x01Item Group,Receivable Voucher\x01ID,Receivable Voucher\x01Voucher Date,Receivable Voucher\x01Posting Date,Receivable Voucher\x01Debit To,RV Detail\x01Cost Center,Receivable Voucher\x01Territory,RV Detail\x01Income Account,RV Detail\x01Qty,RV Detail\x01Basic Rate*,RV Detail\x01Amount*',
'creation': '2011-01-19 17:33:33',
'criteria_name': 'Itemwise Sales Register',
'custom_query': '',
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'RV Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Receivable Voucher\x01Submitted':1,'Receivable Voucher\x01From Posting Date\x01lower':'','Receivable Voucher\x01To Posting Date\x01upper':'','Receivable Voucher\x01Is Opening':'','Receivable Voucher\x01Company':'','Receivable Voucher\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2011-06-20 16:30:41',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'RV Detail\x01Item,RV Detail\x01Item Name,RV Detail\x01Item Group,Receivable Voucher\x01ID,Receivable Voucher\x01Voucher Date,Receivable Voucher\x01Posting Date,Receivable Voucher\x01Debit To,RV Detail\x01Cost Center,Receivable Voucher\x01Territory,RV Detail\x01Income Account,RV Detail\x01Qty,RV Detail\x01Basic Rate*,RV Detail\x01Amount*',
'criteria_name': 'Itemwise Sales Register',
'doc_type': 'RV Detail',
'doctype': 'Search Criteria',
'filters': "{'Receivable Voucher\x01Submitted':1,'Receivable Voucher\x01From Posting Date\x01lower':'','Receivable Voucher\x01To Posting Date\x01upper':'','Receivable Voucher\x01Is Opening':'','Receivable Voucher\x01Company':'','Receivable Voucher\x01Fiscal Year':''}",
'module': 'Accounts',
'name': 'itemwise_sales_register',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Receivable Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabRV Detail`.`income_account`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, itemwise_sales_register
{
'doctype': 'Search Criteria',
'name': 'itemwise_sales_register'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, monthly_ledger_summary_report
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:31',
'docstatus': 0,
'modified': '2010-06-09 16:30:43',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'add_col': "month(`tabGL Entry`.posting_date) AS 'Fiscal Month'\nsum(`tabGL Entry`.debit) AS 'Debit'\nsum(`tabGL Entry`.credit) AS 'Credit'",
'add_cond': '(`tabGL Entry`.debit > 0 or `tabGL Entry`.credit > 0)',
'add_tab': None,
'columns': '',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Monthly Ledger Summary Report',
'custom_query': '',
'description': None,
'dis_filters': 'company',
'disabled': None,
'doc_type': 'GL Entry',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':''}",
'graph_series': None,
'graph_values': None,
'group_by': 'month(`tabGL Entry`.posting_date)',
'idx': None,
'modified': '2010-06-09 16:30:43',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'monthly_ledger_summary_report',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`Fiscal Month`',
'sort_order': 'ASC',
'standard': 'Yes'
},
# Search Criteria, monthly_ledger_summary_report
{
'doctype': 'Search Criteria',
'name': 'monthly_ledger_summary_report'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, payment_receipt_report
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'GL Entry\x01ID,GL Entry\x01Owner,GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Cost Center,GL Entry\x01Against Voucher,GL Entry\x01Voucher Type,GL Entry\x01Voucher No,GL Entry\x01Remarks,GL Entry\x01Is Cancelled,GL Entry\x01Is Opening,GL Entry\x01Fiscal Year,GL Entry\x01Company',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Payment Receipt Report',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'GL Entry',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-11 17:00:54',
'modified_by': 'Administrator',
'owner': 'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'columns': 'GL Entry\x01ID,GL Entry\x01Owner,GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Cost Center,GL Entry\x01Against Voucher,GL Entry\x01Voucher Type,GL Entry\x01Voucher No,GL Entry\x01Remarks,GL Entry\x01Is Cancelled,GL Entry\x01Is Opening,GL Entry\x01Fiscal Year,GL Entry\x01Company',
'criteria_name': 'Payment Receipt Report',
'doc_type': 'GL Entry',
'doctype': 'Search Criteria',
'filters': "{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
'module': 'Accounts',
'name': 'payment_receipt_report',
'owner': 'jai@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': '',
'server_script': None,
'sort_by': '`tabGL Entry`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, payment_receipt_report
{
'doctype': 'Search Criteria',
'name': 'payment_receipt_report'
}
]

View File

@ -1,37 +1,33 @@
# Search Criteria, payment_report
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Is Advance',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'Payment Report',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90','Receivable Voucher\x01Aging Based On':'','Payable Voucher\x01Aging Based On':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-10 09:48:52',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Posting Date,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Cheque Date,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Debit,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Is Advance',
'criteria_name': 'Payment Report',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':'','GL Entry\x01Range 1':'30','GL Entry\x01Range 2':'45','GL Entry\x01Range 3':'60','GL Entry\x01Range 4':'90','Receivable Voucher\x01Aging Based On':'','Payable Voucher\x01Aging Based On':''}",
'module': 'Accounts',
'name': 'payment_report',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'name': '__common__',
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabJournal Voucher`.`aging_date`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, payment_report
{
'doctype': 'Search Criteria',
'name': 'payment_report'
}
]

View File

@ -1,37 +1,34 @@
# Search Criteria, progressive_total_excise_duty
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Owner,Journal Voucher\x01Voucher Type,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher\x01Is Opening,Journal Voucher\x01Fiscal Year,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Clearance Date,Journal Voucher\x01TDS Applicable,Journal Voucher\x01TDS Category,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Cost Center,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'creation': '2010-11-01 10:56:13',
'criteria_name': 'Progressive Total Excise Duty',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'creation': '2010-11-01 10:56:14',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-29 16:44:43',
'modified_by': 'Administrator',
'owner': 'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Owner,Journal Voucher\x01Voucher Type,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher\x01Is Opening,Journal Voucher\x01Fiscal Year,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Clearance Date,Journal Voucher\x01TDS Applicable,Journal Voucher\x01TDS Category,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Cost Center,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'criteria_name': 'Progressive Total Excise Duty',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'module': 'Accounts',
'name': 'progressive_total_excise_duty',
'owner': 'jai@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': 'ID',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, progressive_total_excise_duty
{
'doctype': 'Search Criteria',
'name': 'progressive_total_excise_duty'
}
]

View File

@ -1,37 +1,31 @@
# Search Criteria, purchase_register
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': "`tabPayable Voucher`.is_opening != 'Yes'\n`tabPayable Voucher`.name not like 'OP/%'",
'add_tab': None,
'columns': 'Payable Voucher\x01ID,Payable Voucher\x01Voucher Date,Payable Voucher\x01Posting Date,Payable Voucher\x01Credit To,Payable Voucher\x01Expense Head',
'creation': '2010-12-15 08:39:24',
'criteria_name': 'Purchase Register',
'custom_query': '',
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Payable Voucher',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Payable Voucher\x01Submitted':1}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2011-06-06 14:37:00',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'add_cond': "`tabPayable Voucher`.is_opening != 'Yes'\n`tabPayable Voucher`.name not like 'OP/%'",
'columns': 'Payable Voucher\x01ID,Payable Voucher\x01Voucher Date,Payable Voucher\x01Posting Date,Payable Voucher\x01Credit To,Payable Voucher\x01Expense Head',
'criteria_name': 'Purchase Register',
'doc_type': 'Payable Voucher',
'doctype': 'Search Criteria',
'filters': "{'Payable Voucher\x01Submitted':1}",
'module': 'Accounts',
'name': 'purchase_register',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': '',
'server_script': None,
'sort_by': None,
'sort_order': None,
'name': '__common__',
'standard': 'Yes'
},
# Search Criteria, purchase_register
{
'doctype': 'Search Criteria',
'name': 'purchase_register'
}
]

View File

@ -1,37 +1,37 @@
# Search Criteria, sales_register
[
# These values are common in all dictionaries
{
'creation': '2010-12-15 08:39:24',
'docstatus': 0,
'modified': '2010-08-10 10:48:01',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'add_col': "`tabAccount`.`parent_account` AS 'Parent Account'\n`tabCustomer`.`territory` AS 'Territory'\n`tabCustomer`.`customer_details` AS 'Customer Details'",
'add_cond': "ifnull(`tabReceivable Voucher`.`is_opening`, 'No') = 'No'\n`tabAccount`.name =`tabReceivable Voucher`.debit_to\n`tabCustomer`.`name` = `tabAccount`.`master_name`",
'add_tab': '`tabAccount`\n`tabCustomer`',
'columns': 'Receivable Voucher\x01ID,Receivable Voucher\x01Posting Date,Receivable Voucher\x01Debit To',
'creation': '2010-12-14 10:33:09',
'criteria_name': 'Sales Register',
'custom_query': '',
'description': None,
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'Receivable Voucher',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Receivable Voucher\x01Submitted':1,'Receivable Voucher\x01Is Opening':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-08-10 10:48:01',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'sales_register',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`Parent Account`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, sales_register
{
'doctype': 'Search Criteria',
'name': 'sales_register'
}
]

View File

@ -1,37 +1,34 @@
# Search Criteria, service_tax_credit_account_-_inputs
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Owner,Journal Voucher\x01Voucher Type,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher\x01Is Opening,Journal Voucher\x01Fiscal Year,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Clearance Date,Journal Voucher\x01TDS Applicable,Journal Voucher\x01TDS Category,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Cost Center,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'creation': '2010-11-01 10:56:13',
'criteria_name': 'Service Tax Credit Account - Inputs',
'custom_query': None,
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Journal Voucher Detail',
'creation': '2010-11-01 10:56:14',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-10-29 16:42:59',
'modified_by': 'Administrator',
'owner': 'jai@webnotestech.com'
},
# These values are common for all Search Criteria
{
'columns': 'Journal Voucher\x01ID,Journal Voucher\x01Owner,Journal Voucher\x01Voucher Type,Journal Voucher\x01Voucher Date,Journal Voucher\x01Posting Date,Journal Voucher\x01Is Opening,Journal Voucher\x01Fiscal Year,Journal Voucher\x01Company,Journal Voucher\x01Cheque No,Journal Voucher\x01Clearance Date,Journal Voucher\x01TDS Applicable,Journal Voucher\x01TDS Category,Journal Voucher Detail\x01Account,Journal Voucher Detail\x01Cost Center,Journal Voucher Detail\x01Against Payable,Journal Voucher Detail\x01Against Receivable',
'criteria_name': 'Service Tax Credit Account - Inputs',
'doc_type': 'Journal Voucher Detail',
'doctype': 'Search Criteria',
'filters': "{'Journal Voucher\x01Saved':1,'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Fiscal Year':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
'module': 'Accounts',
'name': 'service_tax_credit_account_-_inputs',
'owner': 'jai@webnotestech.com',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': 'Journal Voucher',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': 'ID',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, service_tax_credit_account_-_inputs
{
'doctype': 'Search Criteria',
'name': 'service_tax_credit_account_-_inputs'
}
]

View File

@ -1,37 +1,31 @@
# Search Criteria, tds_return
[
# These values are common in all dictionaries
{
'add_col': '',
'add_cond': '',
'add_tab': '',
'columns': '',
'creation': '2010-08-08 17:09:31',
'criteria_name': 'TDS Return',
'custom_query': None,
'description': None,
'dis_filters': 'fiscal_year',
'disabled': None,
'doc_type': 'TDS Payment Detail',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'TDS Payment\x01Submitted':1}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-30 14:38:18',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'criteria_name': 'TDS Return',
'dis_filters': 'fiscal_year',
'doc_type': 'TDS Payment Detail',
'doctype': 'Search Criteria',
'filters': "{'TDS Payment\x01Submitted':1}",
'module': 'Accounts',
'name': 'tds_return',
'owner': 'Administrator',
'page_len': None,
'parent': None,
'name': '__common__',
'parent_doc_type': 'TDS Payment',
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '',
'sort_order': '',
'standard': 'Yes'
},
# Search Criteria, tds_return
{
'doctype': 'Search Criteria',
'name': 'tds_return'
}
]

View File

@ -1,37 +1,36 @@
# Search Criteria, total_amout_collection_for_a_period_-_customerwise
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': '(master_type = "Customer" or parent_account like "Sundry Debtors%" or parent_account like "Accounts Receivable%")',
'add_tab': None,
'columns': 'Account\x01ID',
'creation': '2010-08-08 17:09:31',
'docstatus': 0,
'modified': '2010-06-09 18:09:34',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'add_cond': '(master_type = "Customer" or parent_account like "Sundry Debtors%" or parent_account like "Accounts Receivable%")',
'columns': 'Account\x01ID',
'criteria_name': 'Total amout collection for a period - Customerwise',
'custom_query': '',
'description': None,
'dis_filters': 'transaction_date',
'disabled': 0,
'doc_type': 'Account',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Account\x01Saved':1,'Account\x01Group or Ledger':'','Account\x01Is PL Account':'','Account\x01Account Type':'','Account\x01From Date\x01lower':'2010-04-01','Account\x01To Date\x01upper':'2010-06-09'}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-06-09 18:09:34',
'modified_by': 'Administrator',
'module': 'Accounts',
'name': 'total_amout_collection_for_a_period_-_customerwise',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabAccount`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, total_amout_collection_for_a_period_-_customerwise
{
'doctype': 'Search Criteria',
'name': 'total_amout_collection_for_a_period_-_customerwise'
}
]

View File

@ -1,37 +1,35 @@
# Search Criteria, trial_balance
[
# These values are common in all dictionaries
{
'add_col': None,
'add_cond': None,
'add_tab': None,
'columns': 'Account\x01ID',
'creation': '2010-12-14 10:23:28',
'criteria_name': 'Trial Balance',
'custom_query': '',
'description': 'Trial Balance',
'dis_filters': 'transaction_date',
'disabled': None,
'doc_type': 'Account',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Account\x01Is PL Account':'','Account\x01Account Type':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2011-06-22 12:29:43',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
# These values are common for all Search Criteria
{
'columns': 'Account\x01ID',
'criteria_name': 'Trial Balance',
'description': 'Trial Balance',
'dis_filters': 'transaction_date',
'doc_type': 'Account',
'doctype': 'Search Criteria',
'filters': "{'Account\x01Group or Ledger':'Ledger','Account\x01Is PL Account':'','Account\x01Account Type':'','Account\x01Show Group Balance':''}",
'module': 'Accounts',
'name': 'trial_balance',
'owner': 'Administrator',
'name': '__common__',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabAccount`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, trial_balance
{
'doctype': 'Search Criteria',
'name': 'trial_balance'
}
]
]

View File

@ -1 +1,31 @@
[{'section_style': 'Simple', 'is_transaction_doc': None, 'creation': '2009-03-12 12:09:21', 'search_fields': None, 'module': 'Analysis', 'doctype': 'DocType', 'change_log': None, 'print_outline': '', 'owner': 'Administrator', 'in_dialog': None, 'in_create': None, 'read_only': None, 'allow_email': None, 'dt_template': None, 'hide_heading': None, 'issingle': 1, 'allow_rename': None, 'smallicon': '', 'allow_attach': None, 'show_in_menu': 0, 'max_attachments': None, 'version': 124, 'menu_index': None, 'docstatus': 0, 'allow_copy': None, 'istable': None, 'description': None, 'parent': None, 'server_code': '', 'allow_trash': None, 'allow_print': None, 'autoname': None, 'client_script_core': None, 'client_string': None, 'use_template': None, 'modified_by': 'Administrator', 'document_type': '', 'name': 'MIS Control', 'idx': None, 'hide_toolbar': None, 'colour': 'White:FFF', 'client_script': '', 'modified': '2010-10-25 17:20:04', 'server_code_error': ' ', 'name_case': '', 'parenttype': None, 'read_only_onload': None, 'server_code_core': None, 'server_code_compiled': None, 'parent_node': None, 'parentfield': None}]
# DocType, MIS Control
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:10',
'docstatus': 0,
'modified': '2011-01-03 17:32:31',
'modified_by': 'umair@iwebnotes.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': 'Analysis',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 120
},
# DocType, MIS Control
{
'doctype': 'DocType',
'name': 'MIS Control'
}
]

Some files were not shown because too many files have changed in this diff Show More