mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
Merge branch 'production' of github.com:webnotes/erpnext into production
Conflicts: accounts/doctype/purchase_invoice_item/purchase_invoice_item.txt buying/doctype/purchase_order_item/purchase_order_item.txt buying/doctype/supplier_quotation_item/supplier_quotation_item.txt patches/patch_list.py
This commit is contained in:
@@ -1,188 +1,147 @@
|
|||||||
# DocType Mapper, Delivery Note-Sales Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:42',
|
"creation": "2012-04-03 12:49:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:43',
|
"modified": "2012-04-03 12:49:43"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Delivery Note-Sales Invoice",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Delivery Note-Sales Invoice',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Delivery Note-Sales Invoice",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Delivery Note-Sales Invoice',
|
"to_doctype": "Sales Invoice",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Accounts",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Delivery Note"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Delivery Note-Sales Invoice",
|
||||||
'from_doctype': u'Delivery Note',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Accounts',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Sales Invoice'
|
"match_id": 1,
|
||||||
},
|
"to_field": "qty",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Delivery Note-Sales Invoice
|
"from_field": "eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt)) / flt(obj.basic_rate) or obj.qty"
|
||||||
{
|
},
|
||||||
'doctype': u'DocType Mapper',
|
{
|
||||||
'name': u'Delivery Note-Sales Invoice'
|
"map": "Yes",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "delivery_note",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "parent"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt)) / flt(obj.basic_rate) or obj.qty',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 1,
|
"match_id": 1,
|
||||||
'to_field': u'qty'
|
"to_field": "dn_detail",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "name"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'parent',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "sales_order",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'delivery_note'
|
"from_field": "prevdoc_docname"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "so_detail",
|
||||||
'from_field': u'name',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "prevdoc_detail_docname"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'dn_detail'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "amount",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "eval: flt(obj.amount) - flt(obj.billed_amt)"
|
||||||
'from_field': u'prevdoc_docname',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"map": "Yes",
|
||||||
'to_field': u'sales_order'
|
"match_id": 1,
|
||||||
},
|
"to_field": "export_amount",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'prevdoc_detail_docname',
|
"map": "No",
|
||||||
'map': u'Yes',
|
"match_id": 0,
|
||||||
'match_id': 1,
|
"to_field": "naming_series",
|
||||||
'to_field': u'so_detail'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"from_field": "naming_series"
|
||||||
|
},
|
||||||
# Field Mapper Detail
|
{
|
||||||
{
|
"map": "No",
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 3,
|
||||||
'from_field': u'eval: flt(obj.amount) - flt(obj.billed_amt)',
|
"to_field": "incentives",
|
||||||
'map': u'Yes',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "incentives"
|
||||||
'to_field': u'amount'
|
},
|
||||||
},
|
{
|
||||||
|
"map": "Yes",
|
||||||
# Field Mapper Detail
|
"match_id": 1,
|
||||||
{
|
"to_field": "serial_no",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Field Mapper Detail",
|
||||||
'from_field': u'eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)',
|
"from_field": "serial_no"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 1,
|
{
|
||||||
'to_field': u'export_amount'
|
"map": "Yes",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "export_rate",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "export_rate",
|
||||||
'doctype': u'Field Mapper Detail',
|
"checking_operator": "="
|
||||||
'from_field': u'naming_series',
|
},
|
||||||
'map': u'No',
|
{
|
||||||
'match_id': 0,
|
"match_id": 0,
|
||||||
'to_field': u'naming_series'
|
"doctype": "Table Mapper Detail",
|
||||||
},
|
"from_table": "Delivery Note",
|
||||||
|
"to_table": "Sales Invoice",
|
||||||
# Field Mapper Detail
|
"validation_logic": "docstatus=1"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'incentives',
|
"match_id": 1,
|
||||||
'map': u'No',
|
"to_field": "entries",
|
||||||
'match_id': 3,
|
"doctype": "Table Mapper Detail",
|
||||||
'to_field': u'incentives'
|
"from_field": "delivery_note_details",
|
||||||
},
|
"from_table": "Delivery Note Item",
|
||||||
|
"to_table": "Sales Invoice Item",
|
||||||
# Field Mapper Detail
|
"validation_logic": "(ifnull(amount, 0) = 0 or amount > ifnull(billed_amt, 0)) and docstatus = 1"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'serial_no',
|
"match_id": 2,
|
||||||
'map': u'Yes',
|
"to_field": "other_charges",
|
||||||
'match_id': 1,
|
"doctype": "Table Mapper Detail",
|
||||||
'to_field': u'serial_no'
|
"from_field": "other_charges",
|
||||||
},
|
"from_table": "Sales Taxes and Charges",
|
||||||
|
"to_table": "Sales Taxes and Charges",
|
||||||
# Field Mapper Detail
|
"validation_logic": "name is not null"
|
||||||
{
|
},
|
||||||
'checking_operator': u'=',
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 3,
|
||||||
'from_field': u'export_rate',
|
"to_field": "sales_team",
|
||||||
'map': u'Yes',
|
"doctype": "Table Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "sales_team",
|
||||||
'to_field': u'export_rate'
|
"from_table": "Sales Team",
|
||||||
},
|
"to_table": "Sales Team",
|
||||||
|
"validation_logic": "name is not null"
|
||||||
# Table Mapper Detail
|
}
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Delivery Note',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_table': u'Sales Invoice',
|
|
||||||
'validation_logic': u'docstatus=1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'delivery_note_details',
|
|
||||||
'from_table': u'Delivery Note Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': u'entries',
|
|
||||||
'to_table': u'Sales Invoice Item',
|
|
||||||
'validation_logic': u'(ifnull(amount, 0) = 0 or amount > ifnull(billed_amt, 0)) and docstatus = 1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'other_charges',
|
|
||||||
'from_table': u'Sales Taxes and Charges',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': u'other_charges',
|
|
||||||
'to_table': u'Sales Taxes and Charges',
|
|
||||||
'validation_logic': u'name is not null'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'sales_team',
|
|
||||||
'from_table': u'Sales Team',
|
|
||||||
'match_id': 3,
|
|
||||||
'to_field': u'sales_team',
|
|
||||||
'to_table': u'Sales Team',
|
|
||||||
'validation_logic': u'name is not null'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,64 +1,49 @@
|
|||||||
# DocType Mapper, Project-Sales Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "ashwini@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-09-01 15:47:59',
|
"creation": "2010-09-01 15:47:59",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'ashwini@webnotestech.com'
|
{
|
||||||
},
|
"match_id": 0,
|
||||||
|
"parent": "Project-Sales Invoice",
|
||||||
# These values are common for all Table Mapper Detail
|
"name": "__common__",
|
||||||
{
|
"doctype": "Table Mapper Detail",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parenttype": "DocType Mapper",
|
||||||
'from_table': u'Project',
|
"from_table": "Project",
|
||||||
'match_id': 0,
|
"to_table": "Sales Invoice",
|
||||||
'name': '__common__',
|
"validation_logic": "name is not null",
|
||||||
'parent': u'Project-Sales Invoice',
|
"parentfield": "table_mapper_details"
|
||||||
'parentfield': u'table_mapper_details',
|
},
|
||||||
'parenttype': u'DocType Mapper',
|
{
|
||||||
'to_table': u'Sales Invoice',
|
"map": "Yes",
|
||||||
'validation_logic': u'name is not null'
|
"match_id": 0,
|
||||||
},
|
"parent": "Project-Sales Invoice",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all Field Mapper Detail
|
"to_field": "customer",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'=',
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Field Mapper Detail',
|
"checking_operator": "=",
|
||||||
'from_field': u'customer',
|
"from_field": "customer",
|
||||||
'map': u'Yes',
|
"parentfield": "field_mapper_details"
|
||||||
'match_id': 0,
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'Project-Sales Invoice',
|
"name": "__common__",
|
||||||
'parentfield': u'field_mapper_details',
|
"to_doctype": "Sales Invoice",
|
||||||
'parenttype': u'DocType Mapper',
|
"module": "Accounts",
|
||||||
'to_field': u'customer'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"from_doctype": "Project"
|
||||||
|
},
|
||||||
# These values are common for all DocType Mapper
|
{
|
||||||
{
|
"name": "Project-Sales Invoice",
|
||||||
'doctype': 'DocType Mapper',
|
"doctype": "DocType Mapper"
|
||||||
'from_doctype': u'Project',
|
},
|
||||||
'module': u'Accounts',
|
{
|
||||||
'name': '__common__',
|
"doctype": "Field Mapper Detail"
|
||||||
'to_doctype': u'Sales Invoice'
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "Table Mapper Detail"
|
||||||
# DocType Mapper, Project-Sales Invoice
|
}
|
||||||
{
|
|
||||||
'doctype': 'DocType Mapper',
|
|
||||||
'name': u'Project-Sales Invoice'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Field Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Field Mapper Detail'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,158 +1,123 @@
|
|||||||
# DocType Mapper, Purchase Order-Purchase Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-08-08 17:09:35',
|
"creation": "2010-08-08 17:09:35",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Purchase Order-Purchase Invoice",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Purchase Order-Purchase Invoice',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Purchase Order-Purchase Invoice",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Purchase Order-Purchase Invoice',
|
"to_doctype": "Purchase Invoice",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Accounts",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Purchase Order"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Purchase Order-Purchase Invoice",
|
||||||
'from_doctype': u'Purchase Order',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Accounts',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Purchase Invoice'
|
"match_id": 1,
|
||||||
},
|
"to_field": "qty",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Purchase Order-Purchase Invoice
|
"from_field": "eval: flt(obj.qty) - flt(obj.billed_qty)"
|
||||||
{
|
},
|
||||||
'doctype': u'DocType Mapper',
|
{
|
||||||
'name': u'Purchase Order-Purchase Invoice'
|
"map": "Yes",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "rate",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "purchase_rate"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'eval: flt(obj.qty) - flt(obj.billed_qty)',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 1,
|
"match_id": 1,
|
||||||
'to_field': u'qty'
|
"to_field": "amount",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'purchase_rate',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "import_amount",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'rate'
|
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "purchase_order",
|
||||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "parent"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'amount'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "po_detail",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "name"
|
||||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"map": "No",
|
||||||
'to_field': u'import_amount'
|
"match_id": 0,
|
||||||
},
|
"to_field": "naming_series",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "naming_series"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'parent',
|
"map": "Yes",
|
||||||
'map': u'Yes',
|
"match_id": 0,
|
||||||
'match_id': 1,
|
"to_field": "total_tax",
|
||||||
'to_field': u'purchase_order'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"from_field": "total_tax"
|
||||||
|
},
|
||||||
# Field Mapper Detail
|
{
|
||||||
{
|
"map": "Yes",
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 0,
|
||||||
'from_field': u'name',
|
"to_field": "conversion_rate",
|
||||||
'map': u'Yes',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "conversion_rate"
|
||||||
'to_field': u'po_detail'
|
},
|
||||||
},
|
{
|
||||||
|
"match_id": 0,
|
||||||
# Field Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"from_table": "Purchase Order",
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_table": "Purchase Invoice",
|
||||||
'from_field': u'naming_series',
|
"validation_logic": "docstatus =1"
|
||||||
'map': u'No',
|
},
|
||||||
'match_id': 0,
|
{
|
||||||
'to_field': u'naming_series'
|
"match_id": 1,
|
||||||
},
|
"to_field": "entries",
|
||||||
|
"doctype": "Table Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "po_details",
|
||||||
{
|
"from_table": "Purchase Order Item",
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_table": "Purchase Invoice Item",
|
||||||
'from_field': u'total_tax',
|
"validation_logic": "ifnull(billed_qty,0) < qty and docstatus = 1"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 0,
|
{
|
||||||
'to_field': u'total_tax'
|
"match_id": 2,
|
||||||
},
|
"to_field": "purchase_tax_details",
|
||||||
|
"doctype": "Table Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "purchase_tax_details",
|
||||||
{
|
"from_table": "Purchase Taxes and Charges",
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_table": "Purchase Taxes and Charges",
|
||||||
'from_field': u'conversion_rate',
|
"validation_logic": "docstatus =1"
|
||||||
'map': u'Yes',
|
}
|
||||||
'match_id': 0,
|
|
||||||
'to_field': u'conversion_rate'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Purchase Order',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_table': u'Purchase Invoice',
|
|
||||||
'validation_logic': u'docstatus =1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'po_details',
|
|
||||||
'from_table': u'Purchase Order Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': u'entries',
|
|
||||||
'to_table': u'Purchase Invoice Item',
|
|
||||||
'validation_logic': u'ifnull(billed_qty,0) < qty and docstatus = 1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'purchase_tax_details',
|
|
||||||
'from_table': u'Purchase Taxes and Charges',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': u'purchase_tax_details',
|
|
||||||
'to_table': u'Purchase Taxes and Charges',
|
|
||||||
'validation_logic': u'docstatus =1'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,185 +1,144 @@
|
|||||||
# DocType Mapper, Purchase Receipt-Purchase Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-08-08 17:09:35',
|
"creation": "2010-08-08 17:09:35",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Purchase Receipt-Purchase Invoice",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Purchase Receipt-Purchase Invoice',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Purchase Receipt-Purchase Invoice",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Purchase Receipt-Purchase Invoice',
|
"to_doctype": "Purchase Invoice",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Accounts",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Purchase Receipt"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Purchase Receipt-Purchase Invoice",
|
||||||
'from_doctype': u'Purchase Receipt',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Accounts',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Purchase Invoice'
|
"match_id": 1,
|
||||||
},
|
"to_field": "qty",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Purchase Receipt-Purchase Invoice
|
"from_field": "eval: flt(obj.qty) - flt(obj.billed_qty)"
|
||||||
{
|
},
|
||||||
'doctype': u'DocType Mapper',
|
{
|
||||||
'name': u'Purchase Receipt-Purchase Invoice'
|
"map": "Yes",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "rate",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "purchase_rate"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'eval: flt(obj.qty) - flt(obj.billed_qty)',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 1,
|
"match_id": 1,
|
||||||
'to_field': u'qty'
|
"to_field": "amount",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'purchase_rate',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "import_amount",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'rate'
|
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "purchase_receipt",
|
||||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "parent"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'amount'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "purchase_order",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "prevdoc_docname"
|
||||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"map": "Yes",
|
||||||
'to_field': u'import_amount'
|
"match_id": 1,
|
||||||
},
|
"to_field": "pr_detail",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "name"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'parent',
|
"map": "Yes",
|
||||||
'map': u'Yes',
|
"match_id": 1,
|
||||||
'match_id': 1,
|
"to_field": "po_detail",
|
||||||
'to_field': u'purchase_receipt'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"from_field": "prevdoc_detail_docname"
|
||||||
|
},
|
||||||
# Field Mapper Detail
|
{
|
||||||
{
|
"map": "No",
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 0,
|
||||||
'from_field': u'prevdoc_docname',
|
"to_field": "naming_series",
|
||||||
'map': u'Yes',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "naming_series"
|
||||||
'to_field': u'purchase_order'
|
},
|
||||||
},
|
{
|
||||||
|
"map": "Yes",
|
||||||
# Field Mapper Detail
|
"match_id": 0,
|
||||||
{
|
"to_field": "net_total",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Field Mapper Detail",
|
||||||
'from_field': u'name',
|
"from_field": "net_total"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 1,
|
{
|
||||||
'to_field': u'pr_detail'
|
"map": "Yes",
|
||||||
},
|
"match_id": 0,
|
||||||
|
"to_field": "grand_total",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "grand_total"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'prevdoc_detail_docname',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 1,
|
"match_id": 0,
|
||||||
'to_field': u'po_detail'
|
"to_field": "total_tax",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "total_tax"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 1,
|
||||||
'from_field': u'naming_series',
|
"to_field": "entries",
|
||||||
'map': u'No',
|
"doctype": "Table Mapper Detail",
|
||||||
'match_id': 0,
|
"from_field": "purchase_receipt_details",
|
||||||
'to_field': u'naming_series'
|
"from_table": "Purchase Receipt Item",
|
||||||
},
|
"to_table": "Purchase Invoice Item",
|
||||||
|
"validation_logic": "ifnull(billed_qty,0) < qty"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 0,
|
||||||
'from_field': u'net_total',
|
"doctype": "Table Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_table": "Purchase Receipt",
|
||||||
'match_id': 0,
|
"to_table": "Purchase Invoice",
|
||||||
'to_field': u'net_total'
|
"validation_logic": "docstatus=1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"match_id": 2,
|
||||||
{
|
"to_field": "purchase_tax_details",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Table Mapper Detail",
|
||||||
'from_field': u'grand_total',
|
"from_field": "purchase_tax_details",
|
||||||
'map': u'Yes',
|
"from_table": "Purchase Taxes and Charges",
|
||||||
'match_id': 0,
|
"to_table": "Purchase Taxes and Charges",
|
||||||
'to_field': u'grand_total'
|
"validation_logic": "docstatus=1"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Field Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Field Mapper Detail',
|
|
||||||
'from_field': u'total_tax',
|
|
||||||
'map': u'Yes',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_field': u'total_tax'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'purchase_receipt_details',
|
|
||||||
'from_table': u'Purchase Receipt Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': u'entries',
|
|
||||||
'to_table': u'Purchase Invoice Item',
|
|
||||||
'validation_logic': u'ifnull(billed_qty,0) < qty'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Purchase Receipt',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_table': u'Purchase Invoice',
|
|
||||||
'validation_logic': u'docstatus=1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'purchase_tax_details',
|
|
||||||
'from_table': u'Purchase Taxes and Charges',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': u'purchase_tax_details',
|
|
||||||
'to_table': u'Purchase Taxes and Charges',
|
|
||||||
'validation_logic': u'docstatus=1'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,190 +1,149 @@
|
|||||||
# DocType Mapper, Sales Order-Sales Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:42',
|
"creation": "2012-04-03 12:49:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:42',
|
"modified": "2012-04-03 12:49:42"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Sales Order-Sales Invoice",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Sales Order-Sales Invoice',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Sales Order-Sales Invoice",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Sales Order-Sales Invoice',
|
"to_doctype": "Sales Invoice",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Accounts",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Sales Order"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Sales Order-Sales Invoice",
|
||||||
'from_doctype': u'Sales Order',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Accounts',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Sales Invoice'
|
"match_id": 0,
|
||||||
},
|
"to_field": "customer",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Sales Order-Sales Invoice
|
"from_field": "customer",
|
||||||
{
|
"checking_operator": "="
|
||||||
'doctype': u'DocType Mapper',
|
},
|
||||||
'name': u'Sales Order-Sales Invoice'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "qty",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'=',
|
"from_field": "eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt))/flt(obj.basic_rate) or obj.qty"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'customer',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 0,
|
"match_id": 1,
|
||||||
'to_field': u'customer'
|
"to_field": "sales_order",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "parent"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt))/flt(obj.basic_rate) or obj.qty',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "so_detail",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'qty'
|
"from_field": "name"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "amount",
|
||||||
'from_field': u'parent',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "eval:flt(obj.amount) - flt(obj.billed_amt)"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'sales_order'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "export_amount",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "eval: (flt(obj.amount) - flt(obj.billed_amt))* flt(obj.export_rate)/flt(obj.basic_rate)"
|
||||||
'from_field': u'name',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"map": "Yes",
|
||||||
'to_field': u'so_detail'
|
"match_id": 0,
|
||||||
},
|
"to_field": "project_name",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "project_name",
|
||||||
{
|
"checking_operator": "="
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'eval:flt(obj.amount) - flt(obj.billed_amt)',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 1,
|
"match_id": 1,
|
||||||
'to_field': u'amount'
|
"to_field": "warehouse",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "reserved_warehouse"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "No",
|
||||||
'from_field': u'eval: (flt(obj.amount) - flt(obj.billed_amt))* flt(obj.export_rate)/flt(obj.basic_rate)',
|
"match_id": 0,
|
||||||
'map': u'Yes',
|
"to_field": "naming_series",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'export_amount'
|
"from_field": "naming_series"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "No",
|
||||||
{
|
"match_id": 3,
|
||||||
'checking_operator': u'=',
|
"to_field": "incentives",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Field Mapper Detail",
|
||||||
'from_field': u'project_name',
|
"from_field": "incentives"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 0,
|
{
|
||||||
'to_field': u'project_name'
|
"map": "Yes",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "export_rate",
|
||||||
# Field Mapper Detail
|
"doctype": "Field Mapper Detail",
|
||||||
{
|
"from_field": "export_rate",
|
||||||
'doctype': u'Field Mapper Detail',
|
"checking_operator": "="
|
||||||
'from_field': u'reserved_warehouse',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"match_id": 0,
|
||||||
'to_field': u'warehouse'
|
"doctype": "Table Mapper Detail",
|
||||||
},
|
"from_table": "Sales Order",
|
||||||
|
"to_table": "Sales Invoice",
|
||||||
# Field Mapper Detail
|
"validation_logic": "docstatus=1"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'naming_series',
|
"match_id": 1,
|
||||||
'map': u'No',
|
"to_field": "entries",
|
||||||
'match_id': 0,
|
"doctype": "Table Mapper Detail",
|
||||||
'to_field': u'naming_series'
|
"from_field": "sales_order_detail",
|
||||||
},
|
"from_table": "Sales Order Item",
|
||||||
|
"to_table": "Sales Invoice Item",
|
||||||
# Field Mapper Detail
|
"validation_logic": "(ifnull(amount, 0) = 0 or amount > ifnull(billed_amt, 0)) and docstatus = 1"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'incentives',
|
"match_id": 2,
|
||||||
'map': u'No',
|
"to_field": "other_charges",
|
||||||
'match_id': 3,
|
"doctype": "Table Mapper Detail",
|
||||||
'to_field': u'incentives'
|
"from_field": "other_charges",
|
||||||
},
|
"from_table": "Sales Taxes and Charges",
|
||||||
|
"to_table": "Sales Taxes and Charges",
|
||||||
# Field Mapper Detail
|
"validation_logic": "name is not null"
|
||||||
{
|
},
|
||||||
'checking_operator': u'=',
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 3,
|
||||||
'from_field': u'export_rate',
|
"to_field": "sales_team",
|
||||||
'map': u'Yes',
|
"doctype": "Table Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "sales_team",
|
||||||
'to_field': u'export_rate'
|
"from_table": "Sales Team",
|
||||||
},
|
"to_table": "Sales Team",
|
||||||
|
"validation_logic": "name is not null"
|
||||||
# Table Mapper Detail
|
}
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Sales Order',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_table': u'Sales Invoice',
|
|
||||||
'validation_logic': u'docstatus=1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'sales_order_detail',
|
|
||||||
'from_table': u'Sales Order Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': u'entries',
|
|
||||||
'to_table': u'Sales Invoice Item',
|
|
||||||
'validation_logic': u'(ifnull(amount, 0) = 0 or amount > ifnull(billed_amt, 0)) and docstatus = 1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'other_charges',
|
|
||||||
'from_table': u'Sales Taxes and Charges',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': u'other_charges',
|
|
||||||
'to_table': u'Sales Taxes and Charges',
|
|
||||||
'validation_logic': u'name is not null'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'sales_team',
|
|
||||||
'from_table': u'Sales Team',
|
|
||||||
'match_id': 3,
|
|
||||||
'to_field': u'sales_team',
|
|
||||||
'to_table': u'Sales Team',
|
|
||||||
'validation_logic': u'name is not null'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,131 +1,112 @@
|
|||||||
# GL Mapper, Purchase Invoice with write off
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-04-30 19:55:05',
|
"creation": "2012-04-30 19:55:05",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-03 11:08:09',
|
"modified": "2012-10-03 11:08:09"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Purchase Invoice with write off",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all GL Mapper
|
"doctype": "GL Mapper"
|
||||||
{
|
},
|
||||||
'doc_type': u'Purchase Invoice with write off',
|
{
|
||||||
u'doctype': u'GL Mapper',
|
"name": "__common__",
|
||||||
u'name': u'__common__'
|
"parent": "Purchase Invoice with write off",
|
||||||
},
|
"doctype": "GL Mapper Detail",
|
||||||
|
"parenttype": "GL Mapper",
|
||||||
# These values are common for all GL Mapper Detail
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'GL Mapper Detail',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Purchase Invoice with write off",
|
||||||
'parent': u'Purchase Invoice with write off',
|
"doctype": "GL Mapper"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'GL Mapper'
|
{
|
||||||
},
|
"account": "expense_head",
|
||||||
|
"doctype": "GL Mapper Detail",
|
||||||
# GL Mapper, Purchase Invoice with write off
|
"company": "parent:company",
|
||||||
{
|
"debit": "amount",
|
||||||
u'doctype': u'GL Mapper',
|
"fiscal_year": "parent:fiscal_year",
|
||||||
u'name': u'Purchase Invoice with write off'
|
"against": "parent:credit_to",
|
||||||
},
|
"aging_date": "parent:aging_date",
|
||||||
|
"credit": "value:0",
|
||||||
# GL Mapper Detail
|
"table_field": "entries",
|
||||||
{
|
"transaction_date": "parent:voucher_date",
|
||||||
'account': u'expense_head',
|
"voucher_type": "parent:doctype",
|
||||||
'against': u'parent:credit_to',
|
"is_opening": "parent:is_opening",
|
||||||
'aging_date': u'parent:aging_date',
|
"remarks": "parent:remarks",
|
||||||
'company': u'parent:company',
|
"posting_date": "parent:posting_date",
|
||||||
'cost_center': u'cost_center',
|
"voucher_no": "parent:name",
|
||||||
'credit': u'value:0',
|
"cost_center": "cost_center"
|
||||||
'debit': u'amount',
|
},
|
||||||
u'doctype': u'GL Mapper Detail',
|
{
|
||||||
'fiscal_year': u'parent:fiscal_year',
|
"account": "account_head",
|
||||||
'is_opening': u'parent:is_opening',
|
"doctype": "GL Mapper Detail",
|
||||||
'posting_date': u'parent:posting_date',
|
"company": "parent:company",
|
||||||
'remarks': u'parent:remarks',
|
"debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
||||||
'table_field': u'entries',
|
"fiscal_year": "parent:fiscal_year",
|
||||||
'transaction_date': u'parent:voucher_date',
|
"against": "parent:credit_to",
|
||||||
'voucher_no': u'parent:name',
|
"aging_date": "parent:aging_date",
|
||||||
'voucher_type': u'parent:doctype'
|
"credit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0",
|
||||||
},
|
"table_field": "purchase_tax_details",
|
||||||
|
"transaction_date": "parent:voucher_date",
|
||||||
# GL Mapper Detail
|
"voucher_type": "parent:doctype",
|
||||||
{
|
"is_opening": "parent:is_opening",
|
||||||
'account': u'account_head',
|
"remarks": "parent:remarks",
|
||||||
'against': u'parent:credit_to',
|
"posting_date": "parent:posting_date",
|
||||||
'aging_date': u'parent:aging_date',
|
"voucher_no": "parent:name",
|
||||||
'company': u'parent:company',
|
"cost_center": "cost_center"
|
||||||
'cost_center': u'cost_center',
|
},
|
||||||
'credit': u"value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0",
|
{
|
||||||
'debit': u"value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
"account": "tax_code",
|
||||||
u'doctype': u'GL Mapper Detail',
|
"doctype": "GL Mapper Detail",
|
||||||
'fiscal_year': u'parent:fiscal_year',
|
"company": "company",
|
||||||
'is_opening': u'parent:is_opening',
|
"debit": "value:0",
|
||||||
'posting_date': u'parent:posting_date',
|
"fiscal_year": "fiscal_year",
|
||||||
'remarks': u'parent:remarks',
|
"against": "credit_to",
|
||||||
'table_field': u'purchase_tax_details',
|
"aging_date": "aging_date",
|
||||||
'transaction_date': u'parent:voucher_date',
|
"credit": "ded_amount",
|
||||||
'voucher_no': u'parent:name',
|
"transaction_date": "voucher_date",
|
||||||
'voucher_type': u'parent:doctype'
|
"voucher_type": "doctype",
|
||||||
},
|
"is_opening": "is_opening",
|
||||||
|
"remarks": "remarks",
|
||||||
# GL Mapper Detail
|
"posting_date": "posting_date",
|
||||||
{
|
"voucher_no": "name"
|
||||||
'account': u'tax_code',
|
},
|
||||||
'against': u'credit_to',
|
{
|
||||||
'aging_date': u'aging_date',
|
"account": "credit_to",
|
||||||
'company': u'company',
|
"doctype": "GL Mapper Detail",
|
||||||
'credit': u'ded_amount',
|
"credit": "total_amount_to_pay",
|
||||||
'debit': u'value:0',
|
"against_voucher_type": "value:'Purchase Invoice'",
|
||||||
u'doctype': u'GL Mapper Detail',
|
"company": "company",
|
||||||
'fiscal_year': u'fiscal_year',
|
"debit": "value:0",
|
||||||
'is_opening': u'is_opening',
|
"fiscal_year": "fiscal_year",
|
||||||
'posting_date': u'posting_date',
|
"against": "against_expense_account",
|
||||||
'remarks': u'remarks',
|
"aging_date": "aging_date",
|
||||||
'transaction_date': u'voucher_date',
|
"against_voucher": "name",
|
||||||
'voucher_no': u'name',
|
"transaction_date": "voucher_date",
|
||||||
'voucher_type': u'doctype'
|
"voucher_type": "doctype",
|
||||||
},
|
"is_opening": "is_opening",
|
||||||
|
"remarks": "remarks",
|
||||||
# GL Mapper Detail
|
"posting_date": "posting_date",
|
||||||
{
|
"voucher_no": "name"
|
||||||
'account': u'credit_to',
|
},
|
||||||
'against': u'against_expense_account',
|
{
|
||||||
'against_voucher': u'name',
|
"account": "write_off_account",
|
||||||
'against_voucher_type': u"value:'Purchase Invoice'",
|
"doctype": "GL Mapper Detail",
|
||||||
'aging_date': u'aging_date',
|
"company": "company",
|
||||||
'company': u'company',
|
"debit": "value:0",
|
||||||
'credit': u'total_amount_to_pay',
|
"fiscal_year": "fiscal_year",
|
||||||
'debit': u'value:0',
|
"against": "credit_to",
|
||||||
u'doctype': u'GL Mapper Detail',
|
"aging_date": "aging_date",
|
||||||
'fiscal_year': u'fiscal_year',
|
"credit": "write_off_amount",
|
||||||
'is_opening': u'is_opening',
|
"transaction_date": "voucher_date",
|
||||||
'posting_date': u'posting_date',
|
"voucher_type": "doctype",
|
||||||
'remarks': u'remarks',
|
"is_opening": "is_opening",
|
||||||
'transaction_date': u'voucher_date',
|
"remarks": "remarks",
|
||||||
'voucher_no': u'name',
|
"posting_date": "posting_date",
|
||||||
'voucher_type': u'doctype'
|
"voucher_no": "name",
|
||||||
},
|
"cost_center": "write_off_cost_center"
|
||||||
|
}
|
||||||
# GL Mapper Detail
|
|
||||||
{
|
|
||||||
'account': u'write_off_account',
|
|
||||||
'against': u'credit_to',
|
|
||||||
'aging_date': u'aging_date',
|
|
||||||
'company': u'company',
|
|
||||||
'cost_center': u'write_off_cost_center',
|
|
||||||
'credit': u'write_off_amount',
|
|
||||||
'debit': u'value:0',
|
|
||||||
u'doctype': u'GL Mapper Detail',
|
|
||||||
'fiscal_year': u'fiscal_year',
|
|
||||||
'is_opening': u'is_opening',
|
|
||||||
'posting_date': u'posting_date',
|
|
||||||
'remarks': u'remarks',
|
|
||||||
'transaction_date': u'voucher_date',
|
|
||||||
'voucher_no': u'name',
|
|
||||||
'voucher_type': u'doctype'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,112 +1,95 @@
|
|||||||
# GL Mapper, Purchase Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-04-30 19:55:04',
|
"creation": "2012-04-30 19:55:04",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-03 11:07:26',
|
"modified": "2012-10-03 11:07:26"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Purchase Invoice",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all GL Mapper
|
"doctype": "GL Mapper"
|
||||||
{
|
},
|
||||||
'doc_type': u'Purchase Invoice',
|
{
|
||||||
u'doctype': u'GL Mapper',
|
"name": "__common__",
|
||||||
u'name': u'__common__'
|
"parent": "Purchase Invoice",
|
||||||
},
|
"doctype": "GL Mapper Detail",
|
||||||
|
"parenttype": "GL Mapper",
|
||||||
# These values are common for all GL Mapper Detail
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'GL Mapper Detail',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Purchase Invoice",
|
||||||
'parent': u'Purchase Invoice',
|
"doctype": "GL Mapper"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'GL Mapper'
|
{
|
||||||
},
|
"account": "expense_head",
|
||||||
|
"doctype": "GL Mapper Detail",
|
||||||
# GL Mapper, Purchase Invoice
|
"company": "parent:company",
|
||||||
{
|
"debit": "amount",
|
||||||
u'doctype': u'GL Mapper',
|
"fiscal_year": "parent:fiscal_year",
|
||||||
u'name': u'Purchase Invoice'
|
"against": "parent:credit_to",
|
||||||
},
|
"aging_date": "parent:aging_date",
|
||||||
|
"credit": "value:0",
|
||||||
# GL Mapper Detail
|
"table_field": "entries",
|
||||||
{
|
"transaction_date": "parent:voucher_date",
|
||||||
'account': u'expense_head',
|
"voucher_type": "parent:doctype",
|
||||||
'against': u'parent:credit_to',
|
"is_opening": "parent:is_opening",
|
||||||
'aging_date': u'parent:aging_date',
|
"remarks": "parent:remarks",
|
||||||
'company': u'parent:company',
|
"posting_date": "parent:posting_date",
|
||||||
'cost_center': u'cost_center',
|
"voucher_no": "parent:name",
|
||||||
'credit': u'value:0',
|
"cost_center": "cost_center"
|
||||||
'debit': u'amount',
|
},
|
||||||
u'doctype': u'GL Mapper Detail',
|
{
|
||||||
'fiscal_year': u'parent:fiscal_year',
|
"account": "account_head",
|
||||||
'is_opening': u'parent:is_opening',
|
"doctype": "GL Mapper Detail",
|
||||||
'posting_date': u'parent:posting_date',
|
"company": "parent:company",
|
||||||
'remarks': u'parent:remarks',
|
"debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
||||||
'table_field': u'entries',
|
"fiscal_year": "parent:fiscal_year",
|
||||||
'transaction_date': u'parent:voucher_date',
|
"against": "parent:credit_to",
|
||||||
'voucher_no': u'parent:name',
|
"aging_date": "parent:aging_date",
|
||||||
'voucher_type': u'parent:doctype'
|
"credit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0",
|
||||||
},
|
"table_field": "purchase_tax_details",
|
||||||
|
"transaction_date": "parent:voucher_date",
|
||||||
# GL Mapper Detail
|
"voucher_type": "parent:doctype",
|
||||||
{
|
"is_opening": "parent:is_opening",
|
||||||
'account': u'account_head',
|
"remarks": "parent:remarks",
|
||||||
'against': u'parent:credit_to',
|
"posting_date": "parent:posting_date",
|
||||||
'aging_date': u'parent:aging_date',
|
"voucher_no": "parent:name",
|
||||||
'company': u'parent:company',
|
"cost_center": "cost_center"
|
||||||
'cost_center': u'cost_center',
|
},
|
||||||
'credit': u"value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0",
|
{
|
||||||
'debit': u"value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
"account": "tax_code",
|
||||||
u'doctype': u'GL Mapper Detail',
|
"doctype": "GL Mapper Detail",
|
||||||
'fiscal_year': u'parent:fiscal_year',
|
"company": "company",
|
||||||
'is_opening': u'parent:is_opening',
|
"debit": "value:0",
|
||||||
'posting_date': u'parent:posting_date',
|
"fiscal_year": "fiscal_year",
|
||||||
'remarks': u'parent:remarks',
|
"against": "credit_to",
|
||||||
'table_field': u'purchase_tax_details',
|
"aging_date": "aging_date",
|
||||||
'transaction_date': u'parent:voucher_date',
|
"credit": "ded_amount",
|
||||||
'voucher_no': u'parent:name',
|
"transaction_date": "voucher_date",
|
||||||
'voucher_type': u'parent:doctype'
|
"voucher_type": "doctype",
|
||||||
},
|
"is_opening": "is_opening",
|
||||||
|
"remarks": "remarks",
|
||||||
# GL Mapper Detail
|
"posting_date": "posting_date",
|
||||||
{
|
"voucher_no": "name"
|
||||||
'account': u'tax_code',
|
},
|
||||||
'against': u'credit_to',
|
{
|
||||||
'aging_date': u'aging_date',
|
"account": "credit_to",
|
||||||
'company': u'company',
|
"doctype": "GL Mapper Detail",
|
||||||
'credit': u'ded_amount',
|
"credit": "total_amount_to_pay",
|
||||||
'debit': u'value:0',
|
"against_voucher_type": "value:'Purchase Invoice'",
|
||||||
u'doctype': u'GL Mapper Detail',
|
"company": "company",
|
||||||
'fiscal_year': u'fiscal_year',
|
"debit": "value:0",
|
||||||
'is_opening': u'is_opening',
|
"fiscal_year": "fiscal_year",
|
||||||
'posting_date': u'posting_date',
|
"against": "against_expense_account",
|
||||||
'remarks': u'remarks',
|
"aging_date": "aging_date",
|
||||||
'transaction_date': u'voucher_date',
|
"against_voucher": "name",
|
||||||
'voucher_no': u'name',
|
"transaction_date": "voucher_date",
|
||||||
'voucher_type': u'doctype'
|
"voucher_type": "doctype",
|
||||||
},
|
"is_opening": "is_opening",
|
||||||
|
"remarks": "remarks",
|
||||||
# GL Mapper Detail
|
"posting_date": "posting_date",
|
||||||
{
|
"voucher_no": "name"
|
||||||
'account': u'credit_to',
|
}
|
||||||
'against': u'against_expense_account',
|
|
||||||
'against_voucher': u'name',
|
|
||||||
'against_voucher_type': u"value:'Purchase Invoice'",
|
|
||||||
'aging_date': u'aging_date',
|
|
||||||
'company': u'company',
|
|
||||||
'credit': u'total_amount_to_pay',
|
|
||||||
'debit': u'value:0',
|
|
||||||
u'doctype': u'GL Mapper Detail',
|
|
||||||
'fiscal_year': u'fiscal_year',
|
|
||||||
'is_opening': u'is_opening',
|
|
||||||
'posting_date': u'posting_date',
|
|
||||||
'remarks': u'remarks',
|
|
||||||
'transaction_date': u'voucher_date',
|
|
||||||
'voucher_no': u'name',
|
|
||||||
'voucher_type': u'doctype'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
# Print Format, Cheque Printing Format
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 13:16:56',
|
"creation": "2012-04-11 13:16:56",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-13 12:24:20',
|
"modified": "2012-04-13 12:24:20"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Journal Voucher",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all Print Format
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Print Format",
|
||||||
'doc_type': u'Journal Voucher',
|
"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%\"> </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>",
|
||||||
'doctype': 'Print Format',
|
"standard": "Yes"
|
||||||
'html': u'<!-- 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%"> </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': u'Accounts',
|
{
|
||||||
'name': '__common__',
|
"name": "Cheque Printing Format",
|
||||||
'standard': u'Yes'
|
"doctype": "Print Format"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Print Format, Cheque Printing Format
|
|
||||||
{
|
|
||||||
'doctype': 'Print Format',
|
|
||||||
'name': u'Cheque Printing Format'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,28 +1,21 @@
|
|||||||
# Print Format, POS Invoice
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2011-12-21 11:08:55',
|
"creation": "2011-12-21 11:08:55",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-20 12:29:49',
|
"modified": "2012-03-20 12:29:49"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Sales Invoice",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all Print Format
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Print Format",
|
||||||
'doc_type': u'Sales Invoice',
|
"html": "<html>\n<head>\n<!--Other charges function-->\n<script>\nvar make_row = function(title,val,bold){\nvar bstart = '<b>'; var bend = '</b>';\nreturn '<tr><td style=\"width:50%\">'+(bold?bstart:'')+title+(bold?bend:'')+'</td>'\n +'<td style=\"width:20%\">'+doc.currency+'</td>'\n +'<td style=\"width:30%;text-align:right\">'+(val?val:'0.00')+'</td>'\n +'</tr>'\n}\nvar make_row1 = function(title,val,bold){\n var bstart = '<b>'; var bend = '</b>';\n \n return '<tr style=\"font-family:courier new; line-height:150%\"><td style=\"width:50%\">'+(bold?bstart:'')+title+(bold?bend:'')+'</td>'\n +'<td style=\"width:50%;text-align:right\">'+(bold?bstart:'')+(val?val:'0.00')+(bold?bend:'')+'</td>'\n +'</tr>'\n}\n\nfunction get_letter_head() {\n // add letter head\n var cp = wn.boot.control_panel;\n if(doc.letter_head)\n var lh= cstr(_p.letter_heads[doc.letter_head]);\n else if(cp.letter_head)\n var lh= cp.letter_head;\n else \n var lh= '';\n \n return lh;\n}\n\nfunction get_tax_details(){\n var cl = getchildren('Sales Taxes and Charges',doc.name,'other_charges');\n var out = '';\n\n out += '<div><table style=\"float: right;\">';\n for(var i=0;i<cl.length;i++){\n if(cl[i].tax_amount) {\n out += make_row1(cl[i].description,fmt_money(convert_rate(cl[i].tax_amount)),0);\n }\n }\n out += make_row1('TOTAL',doc.currency + \" \" + fmt_money(convert_rate(doc.grand_total)),1);\n out +='</table></div>';\n return out;\n}\n\nfunction convert_rate(val){ \n var new_val = flt(val)/flt(doc.conversion_rate);\n return new_val;\n}\n</script>\n<style>\n table, td, tr, div, span {\n font-family: courier new;\n line-height: 200%;\n }\n</style>\n</head>\n\n<body>\n<table width=\"100%\" style=\"font-family: courier new; line-height:200%\">\n<tr>\n <td align=\"left\">NO: <script>doc.name</script></td>\n <td align=\"right\">DATE: <script>date.str_to_user(doc.posting_date)</script></td>\n</tr>\n<tr>\n <td>M/s <script>doc.contact_display</script></td>\n</tr>\n</table>\n<!--Item Table-->\n<div>\n<script>\nvar t = print_table('Sales Invoice', doc.name, 'entries', 'Sales Invoice Item',\n ['description','qty','export_rate','export_amount'], ['ITEM', 'QTY','RATE','AMOUNT'],\n ['35%','20%','20%','25%']);\nif(t.appendChild) { // single\n out = t.innerHTML.replace(/style=\"/gi,'style=\"font-family:courier new;line-height:150%;');\n} else { //multiple\n out = '<table class=\"None\" border=\"0px\" width=\"100%\" style=\"border:0px; font-family:courier-new\">';\n\n for(var i=0;i<t.length;i++) {\n if(i==0) {\n out += '<tr>' + t[i].childNodes[0].childNodes[0].childNodes[0].innerHTML\n .replace(/style=\"border: 1px solid rgb\\(0, 0, 0\\);/gi,'style=\"font-family:courier new;')\n + '</tr>';\n }\n out += '<tr>' + t[i].childNodes[0].childNodes[0].childNodes[1].innerHTML\n .replace(/style=\"border: 1px solid rgb\\(0, 0, 0\\);/gi,'style=\"font-family:courier new;')\n + '</tr>';\n }\n out += '</table>';\n}\nout;\n</script>\n</div>\n<!--Tax table-->\n<div><script>get_tax_details();</script></div><br />\n<table style=\"font-family:courier new;\">\n <tr><td><b><script>doc.terms</script></b></td></tr>\n <tr><td nowrap><b>For <script>doc.company</script></b></td></tr>\n <tr><td> </td></tr>\n <tr><td nowrap><b>Signatory</b></td></tr>\n</table>\n</body>\n</html>\n",
|
||||||
'doctype': 'Print Format',
|
"standard": "Yes"
|
||||||
'html': u'<html>\n<head>\n<!--Other charges function-->\n<script>\nvar make_row = function(title,val,bold){\nvar bstart = \'<b>\'; var bend = \'</b>\';\nreturn \'<tr><td style="width:50%">\'+(bold?bstart:\'\')+title+(bold?bend:\'\')+\'</td>\'\n +\'<td style="width:20%">\'+doc.currency+\'</td>\'\n +\'<td style="width:30%;text-align:right">\'+(val?val:\'0.00\')+\'</td>\'\n +\'</tr>\'\n}\nvar make_row1 = function(title,val,bold){\n var bstart = \'<b>\'; var bend = \'</b>\';\n \n return \'<tr style="font-family:courier new; line-height:150%"><td style="width:50%">\'+(bold?bstart:\'\')+title+(bold?bend:\'\')+\'</td>\'\n +\'<td style="width:50%;text-align:right">\'+(bold?bstart:\'\')+(val?val:\'0.00\')+(bold?bend:\'\')+\'</td>\'\n +\'</tr>\'\n}\n\nfunction get_letter_head() {\n // add letter head\n var cp = wn.boot.control_panel;\n if(doc.letter_head)\n var lh= cstr(_p.letter_heads[doc.letter_head]);\n else if(cp.letter_head)\n var lh= cp.letter_head;\n else \n var lh= \'\';\n \n return lh;\n}\n\nfunction get_tax_details(){\n var cl = getchildren(\'Sales Taxes and Charges\',doc.name,\'other_charges\');\n var out = \'\';\n\n out += \'<div><table style="float: right;">\';\n for(var i=0;i<cl.length;i++){\n if(cl[i].tax_amount) {\n out += make_row1(cl[i].description,fmt_money(convert_rate(cl[i].tax_amount)),0);\n }\n }\n out += make_row1(\'TOTAL\',doc.currency + " " + fmt_money(convert_rate(doc.grand_total)),1);\n out +=\'</table></div>\';\n return out;\n}\n\nfunction convert_rate(val){ \n var new_val = flt(val)/flt(doc.conversion_rate);\n return new_val;\n}\n</script>\n<style>\n table, td, tr, div, span {\n font-family: courier new;\n line-height: 200%;\n }\n</style>\n</head>\n\n<body>\n<table width="100%" style="font-family: courier new; line-height:200%">\n<tr>\n <td align="left">NO: <script>doc.name</script></td>\n <td align="right">DATE: <script>date.str_to_user(doc.posting_date)</script></td>\n</tr>\n<tr>\n <td>M/s <script>doc.contact_display</script></td>\n</tr>\n</table>\n<!--Item Table-->\n<div>\n<script>\nvar t = print_table(\'Sales Invoice\', doc.name, \'entries\', \'Sales Invoice Item\',\n [\'description\',\'qty\',\'export_rate\',\'export_amount\'], [\'ITEM\', \'QTY\',\'RATE\',\'AMOUNT\'],\n [\'35%\',\'20%\',\'20%\',\'25%\']);\nif(t.appendChild) { // single\n out = t.innerHTML.replace(/style="/gi,\'style="font-family:courier new;line-height:150%;\');\n} else { //multiple\n out = \'<table class="None" border="0px" width="100%" style="border:0px; font-family:courier-new">\';\n\n for(var i=0;i<t.length;i++) {\n if(i==0) {\n out += \'<tr>\' + t[i].childNodes[0].childNodes[0].childNodes[0].innerHTML\n .replace(/style="border: 1px solid rgb\\(0, 0, 0\\);/gi,\'style="font-family:courier new;\')\n + \'</tr>\';\n }\n out += \'<tr>\' + t[i].childNodes[0].childNodes[0].childNodes[1].innerHTML\n .replace(/style="border: 1px solid rgb\\(0, 0, 0\\);/gi,\'style="font-family:courier new;\')\n + \'</tr>\';\n }\n out += \'</table>\';\n}\nout;\n</script>\n</div>\n<!--Tax table-->\n<div><script>get_tax_details();</script></div><br />\n<table style="font-family:courier new;">\n <tr><td><b><script>doc.terms</script></b></td></tr>\n <tr><td nowrap><b>For <script>doc.company</script></b></td></tr>\n <tr><td> </td></tr>\n <tr><td nowrap><b>Signatory</b></td></tr>\n</table>\n</body>\n</html>\n',
|
},
|
||||||
'module': u'Accounts',
|
{
|
||||||
'name': '__common__',
|
"name": "POS Invoice",
|
||||||
'standard': u'Yes'
|
"doctype": "Print Format"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Print Format, POS Invoice
|
|
||||||
{
|
|
||||||
'doctype': 'Print Format',
|
|
||||||
'name': u'POS Invoice'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
# Print Format, Payment Receipt Voucher
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 13:16:56',
|
"creation": "2012-04-11 13:16:56",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-13 12:24:59',
|
"modified": "2012-04-13 12:24:59"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Journal Voucher",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all Print Format
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Print Format",
|
||||||
'doc_type': u'Journal Voucher',
|
"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>",
|
||||||
'doctype': 'Print Format',
|
"standard": "Yes"
|
||||||
'html': u'<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>',
|
},
|
||||||
'module': u'Accounts',
|
{
|
||||||
'name': '__common__',
|
"name": "Payment Receipt Voucher",
|
||||||
'standard': u'Yes'
|
"doctype": "Print Format"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Print Format, Payment Receipt Voucher
|
|
||||||
{
|
|
||||||
'doctype': 'Print Format',
|
|
||||||
'name': u'Payment Receipt Voucher'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
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
@@ -1,167 +1,134 @@
|
|||||||
# DocType, Bank Reconciliation
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:40',
|
"creation": "2012-03-27 14:35:40",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:40',
|
"modified": "2012-03-27 14:35:40"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"allow_print": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1294312169',
|
"server_code_error": " ",
|
||||||
'allow_copy': 1,
|
"read_only": 1,
|
||||||
'allow_email': 1,
|
"allow_email": 1,
|
||||||
'allow_print': 1,
|
"hide_heading": 1,
|
||||||
'colour': u'White:FFF',
|
"issingle": 1,
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'hide_heading': 1,
|
"colour": "White:FFF",
|
||||||
'hide_toolbar': 1,
|
"_last_update": "1294312169",
|
||||||
'issingle': 1,
|
"show_in_menu": 0,
|
||||||
'module': u'Accounts',
|
"version": 12,
|
||||||
'name': '__common__',
|
"hide_toolbar": 1,
|
||||||
'read_only': 1,
|
"allow_copy": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 12
|
"parent": "Bank Reconciliation",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Bank Reconciliation',
|
"parent": "Bank Reconciliation",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Bank Reconciliation",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Bank Reconciliation',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"amend": 0,
|
||||||
'read': 1
|
"create": 1,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"submit": 0,
|
||||||
# DocType, Bank Reconciliation
|
"write": 1,
|
||||||
{
|
"role": "Accounts User",
|
||||||
'doctype': 'DocType',
|
"cancel": 0,
|
||||||
'name': u'Bank Reconciliation'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"role": "All",
|
||||||
{
|
"permlevel": 1,
|
||||||
'amend': 0,
|
"doctype": "DocPerm"
|
||||||
'cancel': 0,
|
},
|
||||||
'create': 1,
|
{
|
||||||
'doctype': u'DocPerm',
|
"create": 1,
|
||||||
'permlevel': 0,
|
"doctype": "DocPerm",
|
||||||
'role': u'Accounts User',
|
"write": 1,
|
||||||
'submit': 0,
|
"role": "Accounts Manager",
|
||||||
'write': 1
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"doctype": "DocField",
|
||||||
{
|
"label": "Head HTML",
|
||||||
'doctype': u'DocPerm',
|
"fieldname": "head_html",
|
||||||
'permlevel': 1,
|
"fieldtype": "HTML",
|
||||||
'role': u'All'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"description": "Select account head of the bank where cheque was deposited.",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'create': 1,
|
"label": "Bank Account",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"fieldname": "bank_account",
|
||||||
'role': u'Accounts Manager',
|
"fieldtype": "Link",
|
||||||
'write': 1
|
"reqd": 1,
|
||||||
},
|
"options": "Account"
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "From Date",
|
||||||
'fieldname': u'head_html',
|
"fieldname": "from_date",
|
||||||
'fieldtype': u'HTML',
|
"fieldtype": "Date",
|
||||||
'label': u'Head HTML',
|
"reqd": 1,
|
||||||
'permlevel': 0
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "To Date",
|
||||||
'description': u'Select account head of the bank where cheque was deposited.',
|
"fieldname": "to_date",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Date",
|
||||||
'fieldname': u'bank_account',
|
"reqd": 1,
|
||||||
'fieldtype': u'Link',
|
"permlevel": 0
|
||||||
'label': u'Bank Account',
|
},
|
||||||
'options': u'Account',
|
{
|
||||||
'permlevel': 0,
|
"colour": "White:FFF",
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Get Non Reconciled Entries",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"fieldname": "get_non_reconciled_entries",
|
||||||
{
|
"fieldtype": "Button",
|
||||||
'doctype': u'DocField',
|
"options": "get_details"
|
||||||
'fieldname': u'from_date',
|
},
|
||||||
'fieldtype': u'Date',
|
{
|
||||||
'label': u'From Date',
|
"colour": "White:FFF",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'reqd': 1
|
"label": "Entries",
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"fieldname": "entries",
|
||||||
# DocField
|
"fieldtype": "Table",
|
||||||
{
|
"options": "Bank Reconciliation Detail"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'to_date',
|
{
|
||||||
'fieldtype': u'Date',
|
"doctype": "DocField",
|
||||||
'label': u'To Date',
|
"options": "update_details",
|
||||||
'permlevel': 0,
|
"fieldname": "update_clearance_date",
|
||||||
'reqd': 1
|
"fieldtype": "Button",
|
||||||
},
|
"label": "Update Clearance Date",
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Total Amount",
|
||||||
'fieldname': u'get_non_reconciled_entries',
|
"fieldname": "total_amount",
|
||||||
'fieldtype': u'Button',
|
"fieldtype": "Currency",
|
||||||
'label': u'Get Non Reconciled Entries',
|
"permlevel": 1
|
||||||
'options': u'get_details',
|
}
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'entries',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Entries',
|
|
||||||
'options': u'Bank Reconciliation Detail',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'update_clearance_date',
|
|
||||||
'fieldtype': u'Button',
|
|
||||||
'label': u'Update Clearance Date',
|
|
||||||
'options': u'update_details',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'total_amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Total Amount',
|
|
||||||
'permlevel': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,131 +1,106 @@
|
|||||||
# DocType, Bank Reconciliation Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:41',
|
"creation": "2012-03-27 14:35:41",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:41',
|
"modified": "2012-03-27 14:35:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"module": "Accounts",
|
||||||
'doctype': 'DocType',
|
"doctype": "DocType",
|
||||||
'istable': 1,
|
"version": 5,
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Tray',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 5
|
"parent": "Bank Reconciliation Detail",
|
||||||
},
|
"no_copy": 0,
|
||||||
|
"search_index": 0,
|
||||||
# These values are common for all DocField
|
"doctype": "DocField",
|
||||||
{
|
"parenttype": "DocType",
|
||||||
'doctype': u'DocField',
|
"parentfield": "fields"
|
||||||
'name': '__common__',
|
},
|
||||||
'no_copy': 0,
|
{
|
||||||
'parent': u'Bank Reconciliation Detail',
|
"name": "Bank Reconciliation Detail",
|
||||||
'parentfield': u'fields',
|
"doctype": "DocType"
|
||||||
'parenttype': u'DocType',
|
},
|
||||||
'search_index': 0
|
{
|
||||||
},
|
"oldfieldtype": "Link",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Bank Reconciliation Detail
|
"label": "Voucher ID",
|
||||||
{
|
"oldfieldname": "voucher_id",
|
||||||
'doctype': 'DocType',
|
"permlevel": 0,
|
||||||
'name': u'Bank Reconciliation Detail'
|
"fieldname": "voucher_id",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"options": "Journal Voucher"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Data",
|
||||||
'fieldname': u'voucher_id',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Link',
|
"label": "Against Account",
|
||||||
'label': u'Voucher ID',
|
"oldfieldname": "against_account",
|
||||||
'oldfieldname': u'voucher_id',
|
"fieldname": "against_account",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Data",
|
||||||
'options': u'Journal Voucher',
|
"permlevel": 1
|
||||||
'permlevel': 0
|
},
|
||||||
},
|
{
|
||||||
|
"description": "The date at which current entry will get or has actually executed.",
|
||||||
# DocField
|
"oldfieldtype": "Date",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Posting Date",
|
||||||
'fieldname': u'against_account',
|
"oldfieldname": "posting_date",
|
||||||
'fieldtype': u'Data',
|
"fieldname": "posting_date",
|
||||||
'label': u'Against Account',
|
"fieldtype": "Date",
|
||||||
'oldfieldname': u'against_account',
|
"permlevel": 1
|
||||||
'oldfieldtype': u'Data',
|
},
|
||||||
'permlevel': 1
|
{
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Cheque Number",
|
||||||
{
|
"oldfieldname": "cheque_number",
|
||||||
'description': u'The date at which current entry will get or has actually executed.',
|
"fieldname": "cheque_number",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Data",
|
||||||
'fieldname': u'posting_date',
|
"permlevel": 1
|
||||||
'fieldtype': u'Date',
|
},
|
||||||
'label': u'Posting Date',
|
{
|
||||||
'oldfieldname': u'posting_date',
|
"oldfieldtype": "Date",
|
||||||
'oldfieldtype': u'Date',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Cheque Date",
|
||||||
},
|
"oldfieldname": "cheque_date",
|
||||||
|
"fieldname": "cheque_date",
|
||||||
# DocField
|
"fieldtype": "Date",
|
||||||
{
|
"permlevel": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'cheque_number',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Currency",
|
||||||
'label': u'Cheque Number',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'cheque_number',
|
"label": "Debit",
|
||||||
'oldfieldtype': u'Data',
|
"oldfieldname": "debit",
|
||||||
'permlevel': 1
|
"fieldname": "debit",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"permlevel": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'cheque_date',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Date',
|
"label": "Credit",
|
||||||
'label': u'Cheque Date',
|
"oldfieldname": "credit",
|
||||||
'oldfieldname': u'cheque_date',
|
"fieldname": "credit",
|
||||||
'oldfieldtype': u'Date',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 1
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Date",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Clearance Date",
|
||||||
'fieldname': u'debit',
|
"oldfieldname": "clearance_date",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "clearance_date",
|
||||||
'label': u'Debit',
|
"fieldtype": "Date",
|
||||||
'oldfieldname': u'debit',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Currency',
|
}
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'credit',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Credit',
|
|
||||||
'oldfieldname': u'credit',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'clearance_date',
|
|
||||||
'fieldtype': u'Date',
|
|
||||||
'label': u'Clearance Date',
|
|
||||||
'oldfieldname': u'clearance_date',
|
|
||||||
'oldfieldtype': u'Date',
|
|
||||||
'permlevel': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,31 +1,24 @@
|
|||||||
# DocType, Budget Control
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "nabin@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:41',
|
"creation": "2012-03-27 14:35:41",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:41',
|
"modified": "2012-03-27 14:35:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'nabin@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all DocType
|
"colour": "White:FFF",
|
||||||
{
|
"module": "Accounts",
|
||||||
'colour': u'White:FFF',
|
"show_in_menu": 0,
|
||||||
'doctype': 'DocType',
|
"version": 23,
|
||||||
'issingle': 1,
|
"server_code_error": " ",
|
||||||
'module': u'Accounts',
|
"doctype": "DocType",
|
||||||
'name': '__common__',
|
"issingle": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "Budget Control",
|
||||||
'version': 23
|
"doctype": "DocType"
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocType, Budget Control
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'Budget Control'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,94 +1,77 @@
|
|||||||
# DocType, Budget Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:41',
|
"creation": "2012-03-27 14:35:41",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:41',
|
"modified": "2012-03-27 14:35:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'autoname': u'CBD/.######',
|
"module": "Accounts",
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocType",
|
||||||
'doctype': 'DocType',
|
"version": 6,
|
||||||
'istable': 1,
|
"autoname": "CBD/.######",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Tray',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 6
|
"parent": "Budget Detail",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Budget Detail",
|
||||||
'parent': u'Budget Detail',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"search_index": 1,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Budget Detail
|
"label": "Account",
|
||||||
{
|
"oldfieldname": "account",
|
||||||
'doctype': 'DocType',
|
"trigger": "Client",
|
||||||
'name': u'Budget Detail'
|
"fieldname": "account",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Account",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0,
|
||||||
'fieldname': u'account',
|
"in_filter": 1
|
||||||
'fieldtype': u'Link',
|
},
|
||||||
'in_filter': 1,
|
{
|
||||||
'label': u'Account',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldname': u'account',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Link',
|
"label": "Budget Allocated",
|
||||||
'options': u'Account',
|
"oldfieldname": "budget_allocated",
|
||||||
'permlevel': 0,
|
"fieldname": "budget_allocated",
|
||||||
'reqd': 1,
|
"fieldtype": "Currency",
|
||||||
'search_index': 1,
|
"reqd": 1,
|
||||||
'trigger': u'Client'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Actual",
|
||||||
'fieldname': u'budget_allocated',
|
"oldfieldname": "actual",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "actual",
|
||||||
'label': u'Budget Allocated',
|
"fieldtype": "Currency",
|
||||||
'oldfieldname': u'budget_allocated',
|
"permlevel": 1
|
||||||
'oldfieldtype': u'Currency',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'reqd': 1
|
"search_index": 1,
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Fiscal Year",
|
||||||
# DocField
|
"oldfieldname": "fiscal_year",
|
||||||
{
|
"options": "link:Fiscal Year",
|
||||||
'doctype': u'DocField',
|
"fieldname": "fiscal_year",
|
||||||
'fieldname': u'actual',
|
"fieldtype": "Select",
|
||||||
'fieldtype': u'Currency',
|
"oldfieldtype": "Select",
|
||||||
'label': u'Actual',
|
"reqd": 1,
|
||||||
'oldfieldname': u'actual',
|
"permlevel": 0,
|
||||||
'oldfieldtype': u'Currency',
|
"in_filter": 1
|
||||||
'permlevel': 1
|
}
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'fiscal_year',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Fiscal Year',
|
|
||||||
'oldfieldname': u'fiscal_year',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'link:Fiscal Year',
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 1,
|
|
||||||
'search_index': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,160 +1,129 @@
|
|||||||
# DocType, Budget Distribution
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-07-03 13:30:50',
|
"creation": "2012-07-03 13:30:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-11 14:37:30',
|
"modified": "2012-07-11 14:37:30"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"description": "**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**",
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"allow_trash": 1,
|
||||||
'allow_trash': 1,
|
"server_code_error": " ",
|
||||||
'autoname': u'field:distribution_id',
|
"autoname": "field:distribution_id",
|
||||||
'colour': u'White:FFF',
|
"name": "__common__",
|
||||||
'description': u'**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**',
|
"colour": "White:FFF",
|
||||||
'doctype': 'DocType',
|
"doctype": "DocType",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"name_case": "Title Case",
|
||||||
'name_case': u'Title Case',
|
"version": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Budget Distribution",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Budget Distribution',
|
"parent": "Budget Distribution",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Budget Distribution",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Budget Distribution',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"create": 1,
|
||||||
'read': 1
|
"doctype": "DocPerm",
|
||||||
},
|
"write": 1,
|
||||||
|
"role": "System Manager",
|
||||||
# DocType, Budget Distribution
|
"cancel": 1,
|
||||||
{
|
"permlevel": 0
|
||||||
'doctype': 'DocType',
|
},
|
||||||
'name': u'Budget Distribution'
|
{
|
||||||
},
|
"write": 1,
|
||||||
|
"role": "System Manager",
|
||||||
# DocPerm
|
"permlevel": 1,
|
||||||
{
|
"doctype": "DocPerm"
|
||||||
'cancel': 1,
|
},
|
||||||
'create': 1,
|
{
|
||||||
'doctype': u'DocPerm',
|
"role": "System Manager",
|
||||||
'permlevel': 0,
|
"permlevel": 2,
|
||||||
'role': u'System Manager',
|
"doctype": "DocPerm"
|
||||||
'write': 1
|
},
|
||||||
},
|
{
|
||||||
|
"amend": 0,
|
||||||
# DocPerm
|
"create": 1,
|
||||||
{
|
"doctype": "DocPerm",
|
||||||
'doctype': u'DocPerm',
|
"submit": 0,
|
||||||
'permlevel': 1,
|
"write": 1,
|
||||||
'role': u'System Manager',
|
"role": "Accounts Manager",
|
||||||
'write': 1
|
"cancel": 1,
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocPerm
|
{
|
||||||
{
|
"amend": 0,
|
||||||
'doctype': u'DocPerm',
|
"create": 0,
|
||||||
'permlevel': 2,
|
"doctype": "DocPerm",
|
||||||
'role': u'System Manager'
|
"submit": 0,
|
||||||
},
|
"write": 1,
|
||||||
|
"role": "Accounts Manager",
|
||||||
# DocPerm
|
"cancel": 0,
|
||||||
{
|
"permlevel": 1
|
||||||
'amend': 0,
|
},
|
||||||
'cancel': 1,
|
{
|
||||||
'create': 1,
|
"role": "Accounts Manager",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 2,
|
||||||
'permlevel': 0,
|
"doctype": "DocPerm"
|
||||||
'role': u'Accounts Manager',
|
},
|
||||||
'submit': 0,
|
{
|
||||||
'write': 1
|
"description": "Name of the Budget Distribution",
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"colour": "White:FFF",
|
||||||
# DocPerm
|
"doctype": "DocField",
|
||||||
{
|
"label": "Distribution Name",
|
||||||
'amend': 0,
|
"oldfieldname": "distribution_id",
|
||||||
'cancel': 0,
|
"fieldname": "distribution_id",
|
||||||
'create': 0,
|
"fieldtype": "Data",
|
||||||
'doctype': u'DocPerm',
|
"reqd": 1,
|
||||||
'permlevel': 1,
|
"permlevel": 0
|
||||||
'role': u'Accounts Manager',
|
},
|
||||||
'submit': 0,
|
{
|
||||||
'write': 1
|
"search_index": 1,
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Fiscal Year",
|
||||||
# DocPerm
|
"oldfieldname": "fiscal_year",
|
||||||
{
|
"permlevel": 0,
|
||||||
'doctype': u'DocPerm',
|
"fieldname": "fiscal_year",
|
||||||
'permlevel': 2,
|
"fieldtype": "Select",
|
||||||
'role': u'Accounts Manager'
|
"oldfieldtype": "Select",
|
||||||
},
|
"options": "link:Fiscal Year",
|
||||||
|
"in_filter": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'colour': u'White:FFF',
|
"oldfieldtype": "Table",
|
||||||
'description': u'Name of the Budget Distribution',
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Budget Distribution Details",
|
||||||
'fieldname': u'distribution_id',
|
"oldfieldname": "budget_distribution_details",
|
||||||
'fieldtype': u'Data',
|
"permlevel": 0,
|
||||||
'label': u'Distribution Name',
|
"fieldname": "budget_distribution_details",
|
||||||
'oldfieldname': u'distribution_id',
|
"fieldtype": "Table",
|
||||||
'oldfieldtype': u'Data',
|
"options": "Budget Distribution Detail"
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"oldfieldtype": "Small Text",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Trash Reason",
|
||||||
{
|
"oldfieldname": "trash_reason",
|
||||||
'doctype': u'DocField',
|
"fieldname": "trash_reason",
|
||||||
'fieldname': u'fiscal_year',
|
"fieldtype": "Small Text",
|
||||||
'fieldtype': u'Select',
|
"permlevel": 1
|
||||||
'in_filter': 1,
|
}
|
||||||
'label': u'Fiscal Year',
|
|
||||||
'oldfieldname': u'fiscal_year',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'link:Fiscal Year',
|
|
||||||
'permlevel': 0,
|
|
||||||
'search_index': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'budget_distribution_details',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Budget Distribution Details',
|
|
||||||
'oldfieldname': u'budget_distribution_details',
|
|
||||||
'oldfieldtype': u'Table',
|
|
||||||
'options': u'Budget Distribution Detail',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'trash_reason',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'label': u'Trash Reason',
|
|
||||||
'oldfieldname': u'trash_reason',
|
|
||||||
'oldfieldtype': u'Small Text',
|
|
||||||
'permlevel': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,64 +1,51 @@
|
|||||||
# DocType, Budget Distribution Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-07-03 13:30:47',
|
"creation": "2012-07-03 13:30:47",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-11 14:32:16',
|
"modified": "2012-07-11 14:32:16"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'autoname': u'BDD/.#####',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"autoname": "BDD/.#####",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Budget Distribution Detail",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Budget Distribution Detail",
|
||||||
'parent': u'Budget Distribution Detail',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Budget Distribution Detail
|
"label": "Month",
|
||||||
{
|
"oldfieldname": "month",
|
||||||
'doctype': 'DocType',
|
"fieldname": "month",
|
||||||
'name': u'Budget Distribution Detail'
|
"fieldtype": "Data",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"permlevel": 2
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'month',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Percentage Allocation",
|
||||||
'label': u'Month',
|
"oldfieldname": "percentage_allocation",
|
||||||
'oldfieldname': u'month',
|
"fieldname": "percentage_allocation",
|
||||||
'oldfieldtype': u'Data',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 2,
|
"permlevel": 0
|
||||||
'reqd': 1
|
}
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'percentage_allocation',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Percentage Allocation',
|
|
||||||
'oldfieldname': u'percentage_allocation',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,229 +1,181 @@
|
|||||||
# DocType, C-Form
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2011-12-14 11:40:47',
|
"creation": "2011-12-14 11:40:47",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-06 17:29:50',
|
"modified": "2012-04-06 17:29:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"allow_attach": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1333712835',
|
"name": "__common__",
|
||||||
'allow_attach': 1,
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"_last_update": "1333712835",
|
||||||
'doctype': 'DocType',
|
"show_in_menu": 0,
|
||||||
'max_attachments': 3,
|
"max_attachments": 3,
|
||||||
'module': u'Accounts',
|
"version": 19
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 19
|
"parent": "C-Form",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'C-Form',
|
"parent": "C-Form",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType',
|
"doctype": "DocPerm",
|
||||||
'permlevel': 0
|
"parenttype": "DocType",
|
||||||
},
|
"parentfield": "permissions"
|
||||||
|
},
|
||||||
# These values are common for all DocPerm
|
{
|
||||||
{
|
"name": "C-Form",
|
||||||
'doctype': u'DocPerm',
|
"doctype": "DocType"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'C-Form',
|
{
|
||||||
'parentfield': u'permissions',
|
"create": 1,
|
||||||
'parenttype': u'DocType',
|
"doctype": "DocPerm",
|
||||||
'read': 1
|
"write": 1,
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"permlevel": 0
|
||||||
# DocType, C-Form
|
},
|
||||||
{
|
{
|
||||||
'doctype': 'DocType',
|
"create": 1,
|
||||||
'name': u'C-Form'
|
"doctype": "DocPerm",
|
||||||
},
|
"submit": 0,
|
||||||
|
"write": 1,
|
||||||
# DocPerm
|
"role": "Accounts Manager",
|
||||||
{
|
"permlevel": 0
|
||||||
'create': 1,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 0,
|
"role": "All",
|
||||||
'role': u'Accounts User',
|
"permlevel": 1,
|
||||||
'write': 1
|
"doctype": "DocPerm"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"doctype": "DocField",
|
||||||
{
|
"width": "50%",
|
||||||
'create': 1,
|
"fieldname": "column_break0",
|
||||||
'doctype': u'DocPerm',
|
"fieldtype": "Column Break",
|
||||||
'permlevel': 0,
|
"permlevel": 0
|
||||||
'role': u'Accounts Manager',
|
},
|
||||||
'submit': 0,
|
{
|
||||||
'write': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Series",
|
||||||
|
"permlevel": 0,
|
||||||
# DocPerm
|
"fieldname": "naming_series",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'doctype': u'DocPerm',
|
"reqd": 1,
|
||||||
'permlevel': 1,
|
"options": "\nC-FORM/"
|
||||||
'role': u'All'
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "C-Form No",
|
||||||
{
|
"fieldname": "c_form_no",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Data",
|
||||||
'fieldname': u'column_break0',
|
"reqd": 1,
|
||||||
'fieldtype': u'Column Break',
|
"permlevel": 0
|
||||||
'permlevel': 0,
|
},
|
||||||
'width': u'50%'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Received Date",
|
||||||
# DocField
|
"fieldname": "received_date",
|
||||||
{
|
"fieldtype": "Date",
|
||||||
'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'naming_series',
|
"permlevel": 0
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Series',
|
{
|
||||||
'options': u'\nC-FORM/',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Customer",
|
||||||
'reqd': 1
|
"permlevel": 0,
|
||||||
},
|
"fieldname": "customer",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Customer"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'c_form_no',
|
{
|
||||||
'fieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'label': u'C-Form No',
|
"width": "50%",
|
||||||
'permlevel': 0,
|
"fieldname": "column_break1",
|
||||||
'reqd': 1
|
"fieldtype": "Column Break",
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0,
|
||||||
'fieldname': u'received_date',
|
"fieldname": "company",
|
||||||
'fieldtype': u'Date',
|
"fieldtype": "Select",
|
||||||
'label': u'Received Date',
|
"label": "Company",
|
||||||
'permlevel': 0,
|
"options": "link:Company"
|
||||||
'reqd': 1
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Fiscal Year",
|
||||||
{
|
"permlevel": 0,
|
||||||
'doctype': u'DocField',
|
"fieldname": "fiscal_year",
|
||||||
'fieldname': u'customer',
|
"fieldtype": "Select",
|
||||||
'fieldtype': u'Link',
|
"reqd": 1,
|
||||||
'label': u'Customer',
|
"options": "link:Fiscal Year"
|
||||||
'options': u'Customer',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"fieldname": "quarter",
|
||||||
# DocField
|
"fieldtype": "Select",
|
||||||
{
|
"label": "Quarter",
|
||||||
'doctype': u'DocField',
|
"options": "\nI\nII\nIII\nIV"
|
||||||
'fieldname': u'column_break1',
|
},
|
||||||
'fieldtype': u'Column Break',
|
{
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'width': u'50%'
|
"label": "Total Amount",
|
||||||
},
|
"fieldname": "total_amount",
|
||||||
|
"fieldtype": "Currency",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"permlevel": 0
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'company',
|
{
|
||||||
'fieldtype': u'Select',
|
"doctype": "DocField",
|
||||||
'label': u'Company',
|
"label": "State",
|
||||||
'options': u'link:Company',
|
"permlevel": 0,
|
||||||
'permlevel': 0
|
"fieldname": "state",
|
||||||
},
|
"fieldtype": "Select",
|
||||||
|
"reqd": 1,
|
||||||
# DocField
|
"options": "link:State\ncountry='India'"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'fiscal_year',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Select',
|
"fieldname": "section_break0",
|
||||||
'label': u'Fiscal Year',
|
"fieldtype": "Section Break",
|
||||||
'options': u'link:Fiscal Year',
|
"permlevel": 0
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"fieldname": "invoice_details",
|
||||||
{
|
"fieldtype": "Table",
|
||||||
'doctype': u'DocField',
|
"label": "Invoice Details",
|
||||||
'fieldname': u'quarter',
|
"options": "C-Form Invoice Detail"
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Quarter',
|
{
|
||||||
'options': u'\nI\nII\nIII\nIV',
|
"print_hide": 0,
|
||||||
'permlevel': 0
|
"doctype": "DocField",
|
||||||
},
|
"label": "Total Invoiced Amount",
|
||||||
|
"fieldname": "total_invoiced_amount",
|
||||||
# DocField
|
"fieldtype": "Currency",
|
||||||
{
|
"permlevel": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'total_amount',
|
{
|
||||||
'fieldtype': u'Currency',
|
"print_hide": 1,
|
||||||
'label': u'Total Amount',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "File List",
|
||||||
'reqd': 1
|
"fieldname": "file_list",
|
||||||
},
|
"fieldtype": "Text",
|
||||||
|
"hidden": 1,
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
}
|
||||||
'doctype': u'DocField',
|
]
|
||||||
'fieldname': u'state',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'label': u'State',
|
|
||||||
'options': u"link:State\ncountry='India'",
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'section_break0',
|
|
||||||
'fieldtype': u'Section Break',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'invoice_details',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Invoice Details',
|
|
||||||
'options': u'C-Form Invoice Detail',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'total_invoiced_amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Total Invoiced Amount',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'file_list',
|
|
||||||
'fieldtype': u'Text',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'File List',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,91 +1,72 @@
|
|||||||
# DocType, C-Form Invoice Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:41',
|
"creation": "2012-03-27 14:35:41",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:41',
|
"modified": "2012-03-27 14:35:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"module": "Accounts",
|
||||||
'doctype': 'DocType',
|
"doctype": "DocType",
|
||||||
'istable': 1,
|
"version": 5,
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 5
|
"parent": "C-Form Invoice Detail",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "C-Form Invoice Detail",
|
||||||
'parent': u'C-Form Invoice Detail',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Invoice No",
|
||||||
# DocType, C-Form Invoice Detail
|
"width": "160px",
|
||||||
{
|
"options": "Sales Invoice",
|
||||||
'doctype': 'DocType',
|
"fieldname": "invoice_no",
|
||||||
'name': u'C-Form Invoice Detail'
|
"fieldtype": "Link",
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Invoice Date",
|
||||||
'fieldname': u'invoice_no',
|
"width": "120px",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "invoice_date",
|
||||||
'label': u'Invoice No',
|
"fieldtype": "Date",
|
||||||
'options': u'Sales Invoice',
|
"permlevel": 1
|
||||||
'permlevel': 0,
|
},
|
||||||
'width': u'160px'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Territory",
|
||||||
# DocField
|
"width": "120px",
|
||||||
{
|
"options": "Territory",
|
||||||
'doctype': u'DocField',
|
"fieldname": "territory",
|
||||||
'fieldname': u'invoice_date',
|
"fieldtype": "Link",
|
||||||
'fieldtype': u'Date',
|
"permlevel": 1
|
||||||
'label': u'Invoice Date',
|
},
|
||||||
'permlevel': 1,
|
{
|
||||||
'width': u'120px'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Net Total",
|
||||||
|
"width": "120px",
|
||||||
# DocField
|
"fieldname": "net_total",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"permlevel": 1
|
||||||
'fieldname': u'territory',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'label': u'Territory',
|
"doctype": "DocField",
|
||||||
'options': u'Territory',
|
"label": "Grand Total",
|
||||||
'permlevel': 1,
|
"width": "120px",
|
||||||
'width': u'120px'
|
"fieldname": "grand_total",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"permlevel": 1
|
||||||
# DocField
|
}
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'net_total',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Net Total',
|
|
||||||
'permlevel': 1,
|
|
||||||
'width': u'120px'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'grand_total',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Grand Total',
|
|
||||||
'permlevel': 1,
|
|
||||||
'width': u'120px'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,134 +1,109 @@
|
|||||||
# DocType, Fiscal Year
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-07-03 13:30:47',
|
"creation": "2012-07-03 13:30:47",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-11 14:56:41',
|
"modified": "2012-07-11 14:56:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tabbed",
|
||||||
|
"description": "**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.",
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1322549700',
|
"allow_trash": 1,
|
||||||
'allow_trash': 1,
|
"server_code_error": " ",
|
||||||
'autoname': u'field:year',
|
"document_type": "Master",
|
||||||
'colour': u'White:FFF',
|
"autoname": "field:year",
|
||||||
'description': u'**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.',
|
"name": "__common__",
|
||||||
'doctype': 'DocType',
|
"colour": "White:FFF",
|
||||||
'document_type': u'Master',
|
"_last_update": "1322549700",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Tabbed',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Fiscal Year",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Fiscal Year',
|
"parent": "Fiscal Year",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"create": 1,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"write": 1,
|
||||||
# These values are common for all DocPerm
|
"cancel": 1,
|
||||||
{
|
"parenttype": "DocType",
|
||||||
'cancel': 1,
|
"role": "System Manager",
|
||||||
'create': 1,
|
"permlevel": 0,
|
||||||
'doctype': u'DocPerm',
|
"parentfield": "permissions"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Fiscal Year',
|
{
|
||||||
'parentfield': u'permissions',
|
"name": "Fiscal Year",
|
||||||
'parenttype': u'DocType',
|
"doctype": "DocType"
|
||||||
'permlevel': 0,
|
},
|
||||||
'read': 1,
|
{
|
||||||
'role': u'System Manager',
|
"amend": 0,
|
||||||
'write': 1
|
"doctype": "DocPerm",
|
||||||
},
|
"submit": 0
|
||||||
|
},
|
||||||
# DocType, Fiscal Year
|
{
|
||||||
{
|
"doctype": "DocPerm"
|
||||||
'doctype': 'DocType',
|
},
|
||||||
'name': u'Fiscal Year'
|
{
|
||||||
},
|
"oldfieldtype": "Section Break",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocPerm
|
"label": "Fiscal Year Details",
|
||||||
{
|
"fieldname": "year_details",
|
||||||
'amend': 0,
|
"fieldtype": "Section Break",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'submit': 0
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Small Text",
|
||||||
# DocPerm
|
"doctype": "DocField",
|
||||||
{
|
"label": "Trash Reason",
|
||||||
'doctype': u'DocPerm'
|
"oldfieldname": "trash_reason",
|
||||||
},
|
"fieldname": "trash_reason",
|
||||||
|
"fieldtype": "Small Text",
|
||||||
# DocField
|
"permlevel": 1
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'year_details',
|
"description": "For e.g. 2012, 2012-13",
|
||||||
'fieldtype': u'Section Break',
|
"oldfieldtype": "Data",
|
||||||
'label': u'Fiscal Year Details',
|
"colour": "White:FFF",
|
||||||
'oldfieldtype': u'Section Break',
|
"doctype": "DocField",
|
||||||
'permlevel': 0
|
"label": "Year Name",
|
||||||
},
|
"oldfieldname": "year",
|
||||||
|
"fieldname": "year",
|
||||||
# DocField
|
"fieldtype": "Data",
|
||||||
{
|
"reqd": 1,
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'trash_reason',
|
},
|
||||||
'fieldtype': u'Small Text',
|
{
|
||||||
'label': u'Trash Reason',
|
"oldfieldtype": "Date",
|
||||||
'oldfieldname': u'trash_reason',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Small Text',
|
"label": "Year Start Date",
|
||||||
'permlevel': 1
|
"oldfieldname": "year_start_date",
|
||||||
},
|
"fieldname": "year_start_date",
|
||||||
|
"fieldtype": "Date",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"permlevel": 0
|
||||||
'colour': u'White:FFF',
|
},
|
||||||
'description': u'For e.g. 2012, 2012-13',
|
{
|
||||||
'doctype': u'DocField',
|
"description": "Entries are not allowed against this Fiscal Year if the year is closed.",
|
||||||
'fieldname': u'year',
|
"default": "No",
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Select",
|
||||||
'label': u'Year Name',
|
"colour": "White:FFF",
|
||||||
'oldfieldname': u'year',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Data',
|
"label": "Year Closed",
|
||||||
'permlevel': 0,
|
"oldfieldname": "is_fiscal_year_closed",
|
||||||
'reqd': 1
|
"options": "\nNo\nYes",
|
||||||
},
|
"fieldname": "is_fiscal_year_closed",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"reqd": 0,
|
||||||
{
|
"permlevel": 0
|
||||||
'doctype': u'DocField',
|
}
|
||||||
'fieldname': u'year_start_date',
|
|
||||||
'fieldtype': u'Date',
|
|
||||||
'label': u'Year Start Date',
|
|
||||||
'oldfieldname': u'year_start_date',
|
|
||||||
'oldfieldtype': u'Date',
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'default': u'No',
|
|
||||||
'description': u'Entries are not allowed against this Fiscal Year if the year is closed.',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'is_fiscal_year_closed',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'label': u'Year Closed',
|
|
||||||
'oldfieldname': u'is_fiscal_year_closed',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'\nNo\nYes',
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,31 +1,24 @@
|
|||||||
# DocType, GL Control
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:42',
|
"creation": "2012-03-27 14:35:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:42',
|
"modified": "2012-03-27 14:35:42"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all DocType
|
"colour": "White:FFF",
|
||||||
{
|
"module": "Accounts",
|
||||||
'colour': u'White:FFF',
|
"show_in_menu": 0,
|
||||||
'doctype': 'DocType',
|
"version": 288,
|
||||||
'issingle': 1,
|
"server_code_error": " ",
|
||||||
'module': u'Accounts',
|
"doctype": "DocType",
|
||||||
'name': '__common__',
|
"issingle": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "GL Control",
|
||||||
'version': 288
|
"doctype": "DocType"
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocType, GL Control
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'GL Control'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,302 +1,249 @@
|
|||||||
# DocType, GL Entry
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:42',
|
"creation": "2012-03-27 14:35:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:42',
|
"modified": "2012-03-27 14:35:42"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"in_create": 1,
|
||||||
# These values are common for all DocType
|
"search_fields": "voucher_no,account,posting_date,against_voucher",
|
||||||
{
|
"module": "Accounts",
|
||||||
'_last_update': u'1319016431',
|
"doctype": "DocType",
|
||||||
'autoname': u'GL.#######',
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"autoname": "GL.#######",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'in_create': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"_last_update": "1319016431",
|
||||||
'name': '__common__',
|
"show_in_menu": 0,
|
||||||
'search_fields': u'voucher_no,account,posting_date,against_voucher',
|
"version": 103
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 103
|
"parent": "GL Entry",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'GL Entry',
|
"name": "__common__",
|
||||||
'parentfield': u'fields',
|
"parent": "GL Entry",
|
||||||
'parenttype': u'DocType',
|
"read": 1,
|
||||||
'permlevel': 0
|
"create": 0,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"write": 0,
|
||||||
# These values are common for all DocPerm
|
"parenttype": "DocType",
|
||||||
{
|
"parentfield": "permissions"
|
||||||
'create': 0,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'name': '__common__',
|
"name": "GL Entry",
|
||||||
'parent': u'GL Entry',
|
"doctype": "DocType"
|
||||||
'parentfield': u'permissions',
|
},
|
||||||
'parenttype': u'DocType',
|
{
|
||||||
'read': 1,
|
"amend": 0,
|
||||||
'write': 0
|
"cancel": 0,
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"doctype": "DocPerm",
|
||||||
# DocType, GL Entry
|
"submit": 0
|
||||||
{
|
},
|
||||||
'doctype': 'DocType',
|
{
|
||||||
'name': u'GL Entry'
|
"amend": 0,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"submit": 0,
|
||||||
# DocPerm
|
"role": "Accounts Manager",
|
||||||
{
|
"cancel": 0,
|
||||||
'amend': 0,
|
"permlevel": 0
|
||||||
'cancel': 0,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'role': u'Accounts User',
|
"role": "System Manager",
|
||||||
'submit': 0
|
"permlevel": 0,
|
||||||
},
|
"doctype": "DocPerm"
|
||||||
|
},
|
||||||
# DocPerm
|
{
|
||||||
{
|
"description": "The date at which current entry will get or has actually executed.",
|
||||||
'amend': 0,
|
"search_index": 1,
|
||||||
'cancel': 0,
|
"doctype": "DocField",
|
||||||
'doctype': u'DocPerm',
|
"label": "Posting Date",
|
||||||
'permlevel': 0,
|
"oldfieldname": "posting_date",
|
||||||
'role': u'Accounts Manager',
|
"fieldname": "posting_date",
|
||||||
'submit': 0
|
"fieldtype": "Date",
|
||||||
},
|
"oldfieldtype": "Date",
|
||||||
|
"in_filter": 1
|
||||||
# DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"description": "The date at which current entry is made in system.",
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Date",
|
||||||
'role': u'System Manager'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Transaction Date",
|
||||||
|
"oldfieldname": "transaction_date",
|
||||||
# DocField
|
"fieldname": "transaction_date",
|
||||||
{
|
"fieldtype": "Date"
|
||||||
'description': u'The date at which current entry will get or has actually executed.',
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'posting_date',
|
"search_index": 0,
|
||||||
'fieldtype': u'Date',
|
"doctype": "DocField",
|
||||||
'in_filter': 1,
|
"label": "Aging Date",
|
||||||
'label': u'Posting Date',
|
"oldfieldname": "aging_date",
|
||||||
'oldfieldname': u'posting_date',
|
"fieldname": "aging_date",
|
||||||
'oldfieldtype': u'Date',
|
"fieldtype": "Date",
|
||||||
'search_index': 1
|
"oldfieldtype": "Date",
|
||||||
},
|
"in_filter": 1
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"search_index": 1,
|
||||||
'description': u'The date at which current entry is made in system.',
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Account",
|
||||||
'fieldname': u'transaction_date',
|
"oldfieldname": "account",
|
||||||
'fieldtype': u'Date',
|
"fieldname": "account",
|
||||||
'label': u'Transaction Date',
|
"fieldtype": "Link",
|
||||||
'oldfieldname': u'transaction_date',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Date'
|
"options": "Account",
|
||||||
},
|
"in_filter": 1
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"search_index": 0,
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'aging_date',
|
"label": "Cost Center",
|
||||||
'fieldtype': u'Date',
|
"oldfieldname": "cost_center",
|
||||||
'in_filter': 1,
|
"fieldname": "cost_center",
|
||||||
'label': u'Aging Date',
|
"fieldtype": "Link",
|
||||||
'oldfieldname': u'aging_date',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Date',
|
"options": "Cost Center",
|
||||||
'search_index': 0
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Debit Amt",
|
||||||
'fieldname': u'account',
|
"oldfieldname": "debit",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "debit",
|
||||||
'in_filter': 1,
|
"fieldtype": "Currency"
|
||||||
'label': u'Account',
|
},
|
||||||
'oldfieldname': u'account',
|
{
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldtype": "Currency",
|
||||||
'options': u'Account',
|
"doctype": "DocField",
|
||||||
'search_index': 1
|
"label": "Credit Amt",
|
||||||
},
|
"oldfieldname": "credit",
|
||||||
|
"fieldname": "credit",
|
||||||
# DocField
|
"fieldtype": "Currency"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'cost_center',
|
"oldfieldtype": "Text",
|
||||||
'fieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'in_filter': 1,
|
"label": "Against",
|
||||||
'label': u'Cost Center',
|
"oldfieldname": "against",
|
||||||
'oldfieldname': u'cost_center',
|
"fieldname": "against",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Text",
|
||||||
'options': u'Cost Center',
|
"in_filter": 1
|
||||||
'search_index': 0
|
},
|
||||||
},
|
{
|
||||||
|
"search_index": 0,
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Against Voucher",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "against_voucher",
|
||||||
'fieldname': u'debit',
|
"fieldname": "against_voucher",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Data",
|
||||||
'label': u'Debit Amt',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldname': u'debit',
|
"in_filter": 1
|
||||||
'oldfieldtype': u'Currency'
|
},
|
||||||
},
|
{
|
||||||
|
"search_index": 0,
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Against Voucher Type",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "against_voucher_type",
|
||||||
'fieldname': u'credit',
|
"fieldname": "against_voucher_type",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Data",
|
||||||
'label': u'Credit Amt',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldname': u'credit',
|
"in_filter": 0
|
||||||
'oldfieldtype': u'Currency'
|
},
|
||||||
},
|
{
|
||||||
|
"search_index": 0,
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Voucher Type",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "voucher_type",
|
||||||
'fieldname': u'against',
|
"fieldname": "voucher_type",
|
||||||
'fieldtype': u'Text',
|
"fieldtype": "Select",
|
||||||
'in_filter': 1,
|
"oldfieldtype": "Select",
|
||||||
'label': u'Against',
|
"options": "Journal Voucher\nSales Invoice\nPurchase Invoice",
|
||||||
'oldfieldname': u'against',
|
"in_filter": 1
|
||||||
'oldfieldtype': u'Text'
|
},
|
||||||
},
|
{
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Voucher No",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "voucher_no",
|
||||||
'fieldname': u'against_voucher',
|
"fieldname": "voucher_no",
|
||||||
'fieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'in_filter': 1,
|
"oldfieldtype": "Data",
|
||||||
'label': u'Against Voucher',
|
"in_filter": 1
|
||||||
'oldfieldname': u'against_voucher',
|
},
|
||||||
'oldfieldtype': u'Data',
|
{
|
||||||
'search_index': 0
|
"no_copy": 1,
|
||||||
},
|
"search_index": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Remarks",
|
||||||
{
|
"oldfieldname": "remarks",
|
||||||
'doctype': u'DocField',
|
"fieldname": "remarks",
|
||||||
'fieldname': u'against_voucher_type',
|
"fieldtype": "Text",
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Text",
|
||||||
'in_filter': 0,
|
"in_filter": 1
|
||||||
'label': u'Against Voucher Type',
|
},
|
||||||
'oldfieldname': u'against_voucher_type',
|
{
|
||||||
'oldfieldtype': u'Data',
|
"search_index": 0,
|
||||||
'search_index': 0
|
"doctype": "DocField",
|
||||||
},
|
"label": "Is Cancelled",
|
||||||
|
"oldfieldname": "is_cancelled",
|
||||||
# DocField
|
"fieldname": "is_cancelled",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Select",
|
||||||
'fieldname': u'voucher_type',
|
"options": "No\nYes",
|
||||||
'fieldtype': u'Select',
|
"in_filter": 1
|
||||||
'in_filter': 1,
|
},
|
||||||
'label': u'Voucher Type',
|
{
|
||||||
'oldfieldname': u'voucher_type',
|
"search_index": 0,
|
||||||
'oldfieldtype': u'Select',
|
"doctype": "DocField",
|
||||||
'options': u'Journal Voucher\nSales Invoice\nPurchase Invoice',
|
"label": "Is Opening",
|
||||||
'search_index': 0
|
"oldfieldname": "is_opening",
|
||||||
},
|
"fieldname": "is_opening",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"oldfieldtype": "Select",
|
||||||
{
|
"options": "No\nYes",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'voucher_no',
|
},
|
||||||
'fieldtype': u'Data',
|
{
|
||||||
'in_filter': 1,
|
"search_index": 0,
|
||||||
'label': u'Voucher No',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'voucher_no',
|
"label": "Is Advance",
|
||||||
'oldfieldtype': u'Data',
|
"oldfieldname": "is_advance",
|
||||||
'search_index': 1
|
"fieldname": "is_advance",
|
||||||
},
|
"fieldtype": "Select",
|
||||||
|
"oldfieldtype": "Select",
|
||||||
# DocField
|
"options": "No\nYes",
|
||||||
{
|
"in_filter": 0
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'remarks',
|
{
|
||||||
'fieldtype': u'Text',
|
"search_index": 0,
|
||||||
'in_filter': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Remarks',
|
"label": "Fiscal Year",
|
||||||
'no_copy': 1,
|
"oldfieldname": "fiscal_year",
|
||||||
'oldfieldname': u'remarks',
|
"fieldname": "fiscal_year",
|
||||||
'oldfieldtype': u'Text',
|
"fieldtype": "Select",
|
||||||
'search_index': 0
|
"oldfieldtype": "Select",
|
||||||
},
|
"options": "link:Fiscal Year",
|
||||||
|
"in_filter": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"search_index": 0,
|
||||||
'fieldname': u'is_cancelled',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Select',
|
"label": "Company",
|
||||||
'in_filter': 1,
|
"oldfieldname": "company",
|
||||||
'label': u'Is Cancelled',
|
"fieldname": "company",
|
||||||
'oldfieldname': u'is_cancelled',
|
"fieldtype": "Link",
|
||||||
'oldfieldtype': u'Select',
|
"oldfieldtype": "Link",
|
||||||
'options': u'No\nYes',
|
"options": "Company",
|
||||||
'search_index': 0
|
"in_filter": 1
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'is_opening',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Is Opening',
|
|
||||||
'oldfieldname': u'is_opening',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'No\nYes',
|
|
||||||
'search_index': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'is_advance',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'in_filter': 0,
|
|
||||||
'label': u'Is Advance',
|
|
||||||
'oldfieldname': u'is_advance',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'No\nYes',
|
|
||||||
'search_index': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'fiscal_year',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Fiscal Year',
|
|
||||||
'oldfieldname': u'fiscal_year',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'link:Fiscal Year',
|
|
||||||
'search_index': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'company',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Company',
|
|
||||||
'oldfieldname': u'company',
|
|
||||||
'oldfieldtype': u'Link',
|
|
||||||
'options': u'Company',
|
|
||||||
'search_index': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,187 +1,158 @@
|
|||||||
# DocType, Journal Voucher Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-05-03 18:41:39',
|
"creation": "2012-05-03 18:41:39",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-02 16:47:37',
|
"modified": "2012-10-02 16:47:37"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'autoname': u'JVD.######',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"autoname": "JVD.######",
|
||||||
u'doctype': u'DocType',
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
u'name': u'__common__',
|
"version": 1
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Journal Voucher Detail",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Journal Voucher Detail",
|
||||||
'parent': u'Journal Voucher Detail',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocType, Journal Voucher Detail
|
"doctype": "DocField",
|
||||||
{
|
"label": "Account",
|
||||||
u'doctype': u'DocType',
|
"oldfieldname": "account",
|
||||||
u'name': u'Journal Voucher Detail'
|
"width": "250px",
|
||||||
},
|
"trigger": "Client",
|
||||||
|
"fieldname": "account",
|
||||||
# DocField
|
"fieldtype": "Link",
|
||||||
{
|
"search_index": 1,
|
||||||
u'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'account',
|
"options": "Account",
|
||||||
'fieldtype': u'Link',
|
"in_filter": 1
|
||||||
'in_filter': 1,
|
},
|
||||||
'label': u'Account',
|
{
|
||||||
'oldfieldname': u'account',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'options': u'Account',
|
"label": "Debit",
|
||||||
'permlevel': 0,
|
"oldfieldname": "debit",
|
||||||
'reqd': 1,
|
"trigger": "Client",
|
||||||
'search_index': 1,
|
"fieldname": "debit",
|
||||||
'trigger': u'Client',
|
"fieldtype": "Currency",
|
||||||
'width': u'250px'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "Credit",
|
||||||
'fieldname': u'debit',
|
"oldfieldname": "credit",
|
||||||
'fieldtype': u'Currency',
|
"trigger": "Client",
|
||||||
'label': u'Debit',
|
"fieldname": "credit",
|
||||||
'oldfieldname': u'debit',
|
"fieldtype": "Currency",
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 0
|
||||||
'permlevel': 0,
|
},
|
||||||
'trigger': u'Client'
|
{
|
||||||
},
|
"search_index": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Cost Center",
|
||||||
{
|
"oldfieldname": "cost_center",
|
||||||
u'doctype': u'DocField',
|
"width": "180px",
|
||||||
'fieldname': u'credit',
|
"options": "Cost Center",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "cost_center",
|
||||||
'label': u'Credit',
|
"fieldtype": "Link",
|
||||||
'oldfieldname': u'credit',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"in_filter": 1
|
||||||
'trigger': u'Client'
|
},
|
||||||
},
|
{
|
||||||
|
"no_copy": 1,
|
||||||
# DocField
|
"oldfieldtype": "Data",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "Account Balance",
|
||||||
'fieldname': u'cost_center',
|
"oldfieldname": "balance",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "balance",
|
||||||
'in_filter': 1,
|
"fieldtype": "Data",
|
||||||
'label': u'Cost Center',
|
"permlevel": 1
|
||||||
'oldfieldname': u'cost_center',
|
},
|
||||||
'oldfieldtype': u'Link',
|
{
|
||||||
'options': u'Cost Center',
|
"print_hide": 0,
|
||||||
'permlevel': 0,
|
"no_copy": 1,
|
||||||
'search_index': 0,
|
"oldfieldtype": "Link",
|
||||||
'width': u'180px'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Against Purchase Invoice",
|
||||||
|
"oldfieldname": "against_voucher",
|
||||||
# DocField
|
"permlevel": 0,
|
||||||
{
|
"trigger": "Client",
|
||||||
u'doctype': u'DocField',
|
"fieldname": "against_voucher",
|
||||||
'fieldname': u'balance',
|
"fieldtype": "Link",
|
||||||
'fieldtype': u'Data',
|
"search_index": 1,
|
||||||
'label': u'Account Balance',
|
"options": "Purchase Invoice",
|
||||||
'no_copy': 1,
|
"in_filter": 1
|
||||||
'oldfieldname': u'balance',
|
},
|
||||||
'oldfieldtype': u'Data',
|
{
|
||||||
'permlevel': 1
|
"print_hide": 0,
|
||||||
},
|
"no_copy": 1,
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Against Sales Invoice",
|
||||||
u'doctype': u'DocField',
|
"oldfieldname": "against_invoice",
|
||||||
'fieldname': u'against_voucher',
|
"permlevel": 0,
|
||||||
'fieldtype': u'Link',
|
"trigger": "Client",
|
||||||
'in_filter': 1,
|
"fieldname": "against_invoice",
|
||||||
'label': u'Against Purchase Invoice',
|
"fieldtype": "Link",
|
||||||
'no_copy': 1,
|
"search_index": 1,
|
||||||
'oldfieldname': u'against_voucher',
|
"options": "Sales Invoice",
|
||||||
'oldfieldtype': u'Link',
|
"in_filter": 1
|
||||||
'options': u'Purchase Invoice',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'print_hide': 0,
|
"print_hide": 0,
|
||||||
'search_index': 1,
|
"no_copy": 1,
|
||||||
'trigger': u'Client'
|
"oldfieldtype": "Link",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Against Journal Voucher",
|
||||||
# DocField
|
"oldfieldname": "against_jv",
|
||||||
{
|
"options": "Journal Voucher",
|
||||||
u'doctype': u'DocField',
|
"fieldname": "against_jv",
|
||||||
'fieldname': u'against_invoice',
|
"fieldtype": "Link",
|
||||||
'fieldtype': u'Link',
|
"search_index": 1,
|
||||||
'in_filter': 1,
|
"permlevel": 0,
|
||||||
'label': u'Against Sales Invoice',
|
"in_filter": 1
|
||||||
'no_copy': 1,
|
},
|
||||||
'oldfieldname': u'against_invoice',
|
{
|
||||||
'oldfieldtype': u'Link',
|
"print_hide": 1,
|
||||||
'options': u'Sales Invoice',
|
"no_copy": 1,
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Select",
|
||||||
'print_hide': 0,
|
"doctype": "DocField",
|
||||||
'search_index': 1,
|
"label": "Is Advance",
|
||||||
'trigger': u'Client'
|
"oldfieldname": "is_advance",
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"fieldname": "is_advance",
|
||||||
# DocField
|
"fieldtype": "Select",
|
||||||
{
|
"options": "No\nYes"
|
||||||
u'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'against_jv',
|
{
|
||||||
'fieldtype': u'Link',
|
"print_hide": 1,
|
||||||
'in_filter': 1,
|
"no_copy": 1,
|
||||||
'label': u'Against Journal Voucher',
|
"oldfieldtype": "Text",
|
||||||
'no_copy': 1,
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'against_jv',
|
"label": "Against Account",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "against_account",
|
||||||
'options': u'Journal Voucher',
|
"fieldname": "against_account",
|
||||||
'permlevel': 0,
|
"fieldtype": "Text",
|
||||||
'print_hide': 0,
|
"hidden": 1,
|
||||||
'search_index': 1
|
"permlevel": 0
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'is_advance',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'label': u'Is Advance',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'is_advance',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'No\nYes',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'against_account',
|
|
||||||
'fieldtype': u'Text',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Against Account',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'against_account',
|
|
||||||
'oldfieldtype': u'Text',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,31 +1,24 @@
|
|||||||
# DocType, MIS Control
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:49',
|
"creation": "2012-03-27 14:35:49",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:49',
|
"modified": "2012-03-27 14:35:49"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all DocType
|
"colour": "White:FFF",
|
||||||
{
|
"module": "Accounts",
|
||||||
'colour': u'White:FFF',
|
"show_in_menu": 0,
|
||||||
'doctype': 'DocType',
|
"version": 120,
|
||||||
'issingle': 1,
|
"server_code_error": " ",
|
||||||
'module': u'Accounts',
|
"doctype": "DocType",
|
||||||
'name': '__common__',
|
"issingle": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "MIS Control",
|
||||||
'version': 120
|
"doctype": "DocType"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
# DocType, MIS Control
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'MIS Control'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,51 +1,40 @@
|
|||||||
# DocType, Multi Ledger Report Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:44',
|
"creation": "2012-03-27 14:35:44",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:44',
|
"modified": "2012-03-27 14:35:44"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"module": "Accounts",
|
||||||
'doctype': 'DocType',
|
"doctype": "DocType",
|
||||||
'istable': 1,
|
"version": 3,
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 0,
|
"parent": "Multi Ledger Report Detail",
|
||||||
'version': 3
|
"reqd": 1,
|
||||||
},
|
"name": "__common__",
|
||||||
|
"doctype": "DocField",
|
||||||
# These values are common for all DocField
|
"label": "Account",
|
||||||
{
|
"width": "300px",
|
||||||
'doctype': u'DocField',
|
"parenttype": "DocType",
|
||||||
'fieldname': u'account',
|
"options": "Account",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "account",
|
||||||
'label': u'Account',
|
"fieldtype": "Link",
|
||||||
'name': '__common__',
|
"permlevel": 0,
|
||||||
'options': u'Account',
|
"parentfield": "fields"
|
||||||
'parent': u'Multi Ledger Report Detail',
|
},
|
||||||
'parentfield': u'fields',
|
{
|
||||||
'parenttype': u'DocType',
|
"name": "Multi Ledger Report Detail",
|
||||||
'permlevel': 0,
|
"doctype": "DocType"
|
||||||
'reqd': 1,
|
},
|
||||||
'width': u'300px'
|
{
|
||||||
},
|
"doctype": "DocField"
|
||||||
|
}
|
||||||
# DocType, Multi Ledger Report Detail
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'Multi Ledger Report Detail'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,274 +1,217 @@
|
|||||||
# DocType, Payment to Invoice Matching Tool
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:42',
|
"creation": "2012-03-27 14:35:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:42',
|
"modified": "2012-03-27 14:35:42"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all DocType
|
"doctype": "DocType",
|
||||||
{
|
"issingle": 1,
|
||||||
'_last_update': u'1316509358',
|
"document_type": "Other",
|
||||||
'colour': u'White:FFF',
|
"name": "__common__",
|
||||||
'doctype': 'DocType',
|
"colour": "White:FFF",
|
||||||
'document_type': u'Other',
|
"_last_update": "1316509358",
|
||||||
'issingle': 1,
|
"show_in_menu": 1,
|
||||||
'module': u'Accounts',
|
"version": 37
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 1,
|
"name": "__common__",
|
||||||
'version': 37
|
"parent": "Payment to Invoice Matching Tool",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Payment to Invoice Matching Tool',
|
"parent": "Payment to Invoice Matching Tool",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Payment to Invoice Matching Tool",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Payment to Invoice Matching Tool',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"create": 1,
|
||||||
'read': 1
|
"doctype": "DocPerm",
|
||||||
},
|
"write": 1,
|
||||||
|
"role": "System Manager",
|
||||||
# DocType, Payment to Invoice Matching Tool
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': 'DocType',
|
{
|
||||||
'name': u'Payment to Invoice Matching Tool'
|
"create": 1,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"write": 1,
|
||||||
# DocPerm
|
"role": "Accounts Manager",
|
||||||
{
|
"permlevel": 0
|
||||||
'create': 1,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 0,
|
"create": 1,
|
||||||
'role': u'System Manager',
|
"doctype": "DocPerm",
|
||||||
'write': 1
|
"write": 1,
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"permlevel": 0
|
||||||
# DocPerm
|
},
|
||||||
{
|
{
|
||||||
'create': 1,
|
"role": "All",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 1,
|
||||||
'permlevel': 0,
|
"doctype": "DocPerm"
|
||||||
'role': u'Accounts Manager',
|
},
|
||||||
'write': 1
|
{
|
||||||
},
|
"colour": "White:FFF",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocPerm
|
"width": "50%",
|
||||||
{
|
"fieldname": "column_break0",
|
||||||
'create': 1,
|
"fieldtype": "Column Break",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'permlevel': 0,
|
},
|
||||||
'role': u'Accounts User',
|
{
|
||||||
'write': 1
|
"doctype": "DocField",
|
||||||
},
|
"options": "Account",
|
||||||
|
"fieldname": "account",
|
||||||
# DocPerm
|
"fieldtype": "Link",
|
||||||
{
|
"label": "Account",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'permlevel': 1,
|
},
|
||||||
'role': u'All'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"options": "Sales Invoice\nPurchase Invoice\nJournal Voucher",
|
||||||
# DocField
|
"fieldname": "voucher_type",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'colour': u'White:FFF',
|
"label": "Voucher Type",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'column_break0',
|
},
|
||||||
'fieldtype': u'Column Break',
|
{
|
||||||
'permlevel': 0,
|
"colour": "White:FFF",
|
||||||
'width': u'50%'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Voucher No",
|
||||||
|
"trigger": "Client",
|
||||||
# DocField
|
"fieldname": "voucher_no",
|
||||||
{
|
"fieldtype": "Link",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'account',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'label': u'Account',
|
"doctype": "DocField",
|
||||||
'options': u'Account',
|
"width": "50%",
|
||||||
'permlevel': 0
|
"fieldname": "column_break1",
|
||||||
},
|
"fieldtype": "Column Break",
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'voucher_type',
|
"label": "Total Amount",
|
||||||
'fieldtype': u'Select',
|
"fieldname": "total_amount",
|
||||||
'label': u'Voucher Type',
|
"fieldtype": "Currency",
|
||||||
'options': u'Sales Invoice\nPurchase Invoice\nJournal Voucher',
|
"permlevel": 1
|
||||||
'permlevel': 0
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Pending Amt To Reconcile",
|
||||||
{
|
"fieldname": "pending_amt_to_reconcile",
|
||||||
'colour': u'White:FFF',
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"permlevel": 1
|
||||||
'fieldname': u'voucher_no',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'label': u'Voucher No',
|
"colour": "White:FFF",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'trigger': u'Client'
|
"label": "Payment Entries",
|
||||||
},
|
"fieldname": "payment_entries",
|
||||||
|
"fieldtype": "Section Break",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'column_break1',
|
"colour": "White:FFF",
|
||||||
'fieldtype': u'Column Break',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "<div class = 'field_description'>Filter payment entries based on date:</div>",
|
||||||
'width': u'50%'
|
"width": "50%",
|
||||||
},
|
"fieldname": "column_break2",
|
||||||
|
"fieldtype": "Column Break",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'total_amount',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "From Date",
|
||||||
'label': u'Total Amount',
|
"fieldname": "from_date",
|
||||||
'permlevel': 1
|
"fieldtype": "Date",
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "To Date",
|
||||||
'fieldname': u'pending_amt_to_reconcile',
|
"fieldname": "to_date",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Date",
|
||||||
'label': u'Pending Amt To Reconcile',
|
"permlevel": 0
|
||||||
'permlevel': 1
|
},
|
||||||
},
|
{
|
||||||
|
"colour": "White:FFF",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
||||||
'colour': u'White:FFF',
|
"width": "50%",
|
||||||
'doctype': u'DocField',
|
"fieldname": "column_break3",
|
||||||
'fieldname': u'payment_entries',
|
"fieldtype": "Column Break",
|
||||||
'fieldtype': u'Section Break',
|
"permlevel": 0
|
||||||
'label': u'Payment Entries',
|
},
|
||||||
'permlevel': 0
|
{
|
||||||
},
|
"colour": "White:FFF",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Amount >=",
|
||||||
{
|
"fieldname": "amt_greater_than",
|
||||||
'colour': u'White:FFF',
|
"fieldtype": "Data",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'column_break2',
|
},
|
||||||
'fieldtype': u'Column Break',
|
{
|
||||||
'label': u"<div class = 'field_description'>Filter payment entries based on date:</div>",
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Amount <=",
|
||||||
'width': u'50%'
|
"fieldname": "amt_less_than",
|
||||||
},
|
"fieldtype": "Data",
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'from_date',
|
"permlevel": 0,
|
||||||
'fieldtype': u'Date',
|
"fieldname": "section_break0",
|
||||||
'label': u'From Date',
|
"fieldtype": "Section Break",
|
||||||
'permlevel': 0
|
"options": "Simple"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"options": "get_payment_entries",
|
||||||
'doctype': u'DocField',
|
"fieldname": "pull_payment_entries",
|
||||||
'fieldname': u'to_date',
|
"fieldtype": "Button",
|
||||||
'fieldtype': u'Date',
|
"label": "Pull Payment Entries",
|
||||||
'label': u'To Date',
|
"permlevel": 0
|
||||||
'permlevel': 0
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"options": "Payment to Invoice Matching Tool Detail",
|
||||||
{
|
"fieldname": "ir_payment_details",
|
||||||
'colour': u'White:FFF',
|
"fieldtype": "Table",
|
||||||
'doctype': u'DocField',
|
"label": "Payment Entries",
|
||||||
'fieldname': u'column_break3',
|
"permlevel": 0
|
||||||
'fieldtype': u'Column Break',
|
},
|
||||||
'label': u"<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
{
|
||||||
'permlevel': 0,
|
"colour": "White:FFF",
|
||||||
'width': u'50%'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Reconcile HTML",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"fieldname": "reconcile_html",
|
||||||
{
|
"fieldtype": "HTML",
|
||||||
'colour': u'White:FFF',
|
"options": "<div class='field_description'>Select Payment Voucher and Amount to Reconcile in the above table and then click Reconcile button</div>"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'amt_greater_than',
|
{
|
||||||
'fieldtype': u'Data',
|
"colour": "White:FFF",
|
||||||
'label': u'Amount >=',
|
"doctype": "DocField",
|
||||||
'permlevel': 0
|
"label": "Reconcile",
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"trigger": "Client",
|
||||||
# DocField
|
"fieldname": "reconcile",
|
||||||
{
|
"fieldtype": "Button",
|
||||||
'doctype': u'DocField',
|
"options": "reconcile"
|
||||||
'fieldname': u'amt_less_than',
|
}
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Amount <=',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'section_break0',
|
|
||||||
'fieldtype': u'Section Break',
|
|
||||||
'options': u'Simple',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'pull_payment_entries',
|
|
||||||
'fieldtype': u'Button',
|
|
||||||
'label': u'Pull Payment Entries',
|
|
||||||
'options': u'get_payment_entries',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'ir_payment_details',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Payment Entries',
|
|
||||||
'options': u'Payment to Invoice Matching Tool Detail',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'reconcile_html',
|
|
||||||
'fieldtype': u'HTML',
|
|
||||||
'label': u'Reconcile HTML',
|
|
||||||
'options': u"<div class='field_description'>Select Payment Voucher and Amount to Reconcile in the above table and then click Reconcile button</div>",
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'reconcile',
|
|
||||||
'fieldtype': u'Button',
|
|
||||||
'label': u'Reconcile',
|
|
||||||
'options': u'reconcile',
|
|
||||||
'permlevel': 0,
|
|
||||||
'trigger': u'Client'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,131 +1,104 @@
|
|||||||
# DocType, Payment to Invoice Matching Tool Detail
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:43',
|
"creation": "2012-03-27 14:35:43",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:43',
|
"modified": "2012-03-27 14:35:43"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"module": "Accounts",
|
||||||
'doctype': 'DocType',
|
"doctype": "DocType",
|
||||||
'istable': 1,
|
"version": 14,
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0
|
||||||
'name': '__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 14
|
"parent": "Payment to Invoice Matching Tool Detail",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Payment to Invoice Matching Tool Detail",
|
||||||
'parent': u'Payment to Invoice Matching Tool Detail',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Select",
|
||||||
# DocType, Payment to Invoice Matching Tool Detail
|
"width": "60px",
|
||||||
{
|
"fieldname": "selected",
|
||||||
'doctype': 'DocType',
|
"fieldtype": "Check",
|
||||||
'name': u'Payment to Invoice Matching Tool Detail'
|
"reqd": 1,
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"permlevel": 1,
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'selected',
|
"label": "Voucher No",
|
||||||
'fieldtype': u'Check',
|
"width": "140px",
|
||||||
'label': u'Select',
|
"fieldname": "voucher_no",
|
||||||
'permlevel': 0,
|
"fieldtype": "Link",
|
||||||
'reqd': 1,
|
"reqd": 0,
|
||||||
'width': u'60px'
|
"options": "Journal Voucher"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Amt Due",
|
||||||
'doctype': u'DocField',
|
"fieldname": "amt_due",
|
||||||
'fieldname': u'voucher_no',
|
"fieldtype": "Currency",
|
||||||
'fieldtype': u'Link',
|
"permlevel": 1
|
||||||
'label': u'Voucher No',
|
},
|
||||||
'options': u'Journal Voucher',
|
{
|
||||||
'permlevel': 1,
|
"doctype": "DocField",
|
||||||
'reqd': 0,
|
"label": "Amt to be reconciled",
|
||||||
'width': u'140px'
|
"fieldname": "amt_to_be_reconciled",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"reqd": 1,
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'amt_due',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Posting Date",
|
||||||
'label': u'Amt Due',
|
"fieldname": "posting_date",
|
||||||
'permlevel': 1
|
"fieldtype": "Date",
|
||||||
},
|
"permlevel": 1
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Total Amt",
|
||||||
'fieldname': u'amt_to_be_reconciled',
|
"fieldname": "total_amt",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Currency",
|
||||||
'label': u'Amt to be reconciled',
|
"permlevel": 1
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Against Account",
|
||||||
# DocField
|
"fieldname": "against_account",
|
||||||
{
|
"fieldtype": "Data",
|
||||||
'doctype': u'DocField',
|
"permlevel": 1
|
||||||
'fieldname': u'posting_date',
|
},
|
||||||
'fieldtype': u'Date',
|
{
|
||||||
'label': u'Posting Date',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Remarks",
|
||||||
},
|
"width": "200px",
|
||||||
|
"fieldname": "remarks",
|
||||||
# DocField
|
"fieldtype": "Small Text",
|
||||||
{
|
"permlevel": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'total_amt',
|
{
|
||||||
'fieldtype': u'Currency',
|
"print_hide": 1,
|
||||||
'label': u'Total Amt',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Voucher Detail No",
|
||||||
},
|
"fieldname": "voucher_detail_no",
|
||||||
|
"fieldtype": "Data",
|
||||||
# DocField
|
"no_column": 0,
|
||||||
{
|
"reqd": 0,
|
||||||
'doctype': u'DocField',
|
"hidden": 1,
|
||||||
'fieldname': u'against_account',
|
"permlevel": 1
|
||||||
'fieldtype': u'Data',
|
}
|
||||||
'label': u'Against Account',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'remarks',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'label': u'Remarks',
|
|
||||||
'permlevel': 1,
|
|
||||||
'width': u'200px'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'voucher_detail_no',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Voucher Detail No',
|
|
||||||
'no_column': 0,
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1,
|
|
||||||
'reqd': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,276 +1,221 @@
|
|||||||
# DocType, Period Closing Voucher
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "jai@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-06-11 12:09:52',
|
"creation": "2012-06-11 12:09:52",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-10 14:21:21',
|
"modified": "2012-07-10 14:21:21"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'jai@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"is_submittable": 1,
|
||||||
# These values are common for all DocType
|
"search_fields": "posting_date, fiscal_year",
|
||||||
{
|
"module": "Accounts",
|
||||||
'_last_update': u'1311621379',
|
"doctype": "DocType",
|
||||||
'autoname': u'PCE/.###',
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"autoname": "PCE/.###",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'is_submittable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"_last_update": "1311621379",
|
||||||
'name': '__common__',
|
"show_in_menu": 0,
|
||||||
'search_fields': u'posting_date, fiscal_year',
|
"version": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Period Closing Voucher",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Period Closing Voucher',
|
"parent": "Period Closing Voucher",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Period Closing Voucher",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Period Closing Voucher',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"role": "System Manager",
|
||||||
'read': 1
|
"permlevel": 1,
|
||||||
},
|
"doctype": "DocPerm"
|
||||||
|
},
|
||||||
# DocType, Period Closing Voucher
|
{
|
||||||
{
|
"role": "Accounts Manager",
|
||||||
'doctype': 'DocType',
|
"permlevel": 1,
|
||||||
'name': u'Period Closing Voucher'
|
"doctype": "DocPerm"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"role": "System Manager",
|
||||||
{
|
"permlevel": 1,
|
||||||
'doctype': u'DocPerm',
|
"doctype": "DocPerm"
|
||||||
'permlevel': 1,
|
},
|
||||||
'role': u'System Manager'
|
{
|
||||||
},
|
"role": "Accounts Manager",
|
||||||
|
"permlevel": 1,
|
||||||
# DocPerm
|
"doctype": "DocPerm"
|
||||||
{
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 1,
|
"role": "System Manager",
|
||||||
'role': u'Accounts Manager'
|
"permlevel": 1,
|
||||||
},
|
"doctype": "DocPerm"
|
||||||
|
},
|
||||||
# DocPerm
|
{
|
||||||
{
|
"role": "Accounts Manager",
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 1,
|
||||||
'permlevel': 1,
|
"doctype": "DocPerm"
|
||||||
'role': u'System Manager'
|
},
|
||||||
},
|
{
|
||||||
|
"role": "System Manager",
|
||||||
# DocPerm
|
"permlevel": 1,
|
||||||
{
|
"doctype": "DocPerm"
|
||||||
'doctype': u'DocPerm',
|
},
|
||||||
'permlevel': 1,
|
{
|
||||||
'role': u'Accounts Manager'
|
"role": "Accounts Manager",
|
||||||
},
|
"permlevel": 1,
|
||||||
|
"doctype": "DocPerm"
|
||||||
# DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"amend": 1,
|
||||||
'permlevel': 1,
|
"create": 1,
|
||||||
'role': u'System Manager'
|
"doctype": "DocPerm",
|
||||||
},
|
"submit": 1,
|
||||||
|
"write": 1,
|
||||||
# DocPerm
|
"role": "System Manager",
|
||||||
{
|
"cancel": 1,
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'permlevel': 1,
|
},
|
||||||
'role': u'Accounts Manager'
|
{
|
||||||
},
|
"create": 1,
|
||||||
|
"doctype": "DocPerm",
|
||||||
# DocPerm
|
"submit": 1,
|
||||||
{
|
"write": 1,
|
||||||
'doctype': u'DocPerm',
|
"role": "Accounts Manager",
|
||||||
'permlevel': 1,
|
"cancel": 1,
|
||||||
'role': u'System Manager'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"oldfieldtype": "Column Break",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocPerm',
|
"width": "50%",
|
||||||
'permlevel': 1,
|
"fieldname": "column_break0",
|
||||||
'role': u'Accounts Manager'
|
"fieldtype": "Column Break",
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocPerm
|
{
|
||||||
{
|
"oldfieldtype": "Date",
|
||||||
'amend': 1,
|
"doctype": "DocField",
|
||||||
'cancel': 1,
|
"label": "Transaction Date",
|
||||||
'create': 1,
|
"oldfieldname": "transaction_date",
|
||||||
'doctype': u'DocPerm',
|
"fieldname": "transaction_date",
|
||||||
'permlevel': 0,
|
"fieldtype": "Date",
|
||||||
'role': u'System Manager',
|
"permlevel": 0
|
||||||
'submit': 1,
|
},
|
||||||
'write': 1
|
{
|
||||||
},
|
"oldfieldtype": "Date",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocPerm
|
"label": "Posting Date",
|
||||||
{
|
"oldfieldname": "posting_date",
|
||||||
'cancel': 1,
|
"fieldname": "posting_date",
|
||||||
'create': 1,
|
"fieldtype": "Date",
|
||||||
'doctype': u'DocPerm',
|
"reqd": 1,
|
||||||
'permlevel': 0,
|
"permlevel": 0
|
||||||
'role': u'Accounts Manager',
|
},
|
||||||
'submit': 1,
|
{
|
||||||
'write': 1
|
"oldfieldtype": "Select",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Closing Fiscal Year",
|
||||||
# DocField
|
"oldfieldname": "fiscal_year",
|
||||||
{
|
"permlevel": 0,
|
||||||
'doctype': u'DocField',
|
"fieldname": "fiscal_year",
|
||||||
'fieldname': u'column_break0',
|
"fieldtype": "Select",
|
||||||
'fieldtype': u'Column Break',
|
"reqd": 1,
|
||||||
'oldfieldtype': u'Column Break',
|
"options": "link:Fiscal Year"
|
||||||
'permlevel': 0,
|
},
|
||||||
'width': u'50%'
|
{
|
||||||
},
|
"no_copy": 1,
|
||||||
|
"oldfieldtype": "Data",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Amended From",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "amended_from",
|
||||||
'fieldname': u'transaction_date',
|
"fieldname": "amended_from",
|
||||||
'fieldtype': u'Date',
|
"fieldtype": "Data",
|
||||||
'label': u'Transaction Date',
|
"permlevel": 1
|
||||||
'oldfieldname': u'transaction_date',
|
},
|
||||||
'oldfieldtype': u'Date',
|
{
|
||||||
'permlevel': 0
|
"no_copy": 1,
|
||||||
},
|
"oldfieldtype": "Date",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Amendment Date",
|
||||||
{
|
"oldfieldname": "amendment_date",
|
||||||
'doctype': u'DocField',
|
"fieldname": "amendment_date",
|
||||||
'fieldname': u'posting_date',
|
"fieldtype": "Date",
|
||||||
'fieldtype': u'Date',
|
"permlevel": 1
|
||||||
'label': u'Posting Date',
|
},
|
||||||
'oldfieldname': u'posting_date',
|
{
|
||||||
'oldfieldtype': u'Date',
|
"oldfieldtype": "Select",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'reqd': 1
|
"label": "Company",
|
||||||
},
|
"oldfieldname": "company",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"fieldname": "company",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'fiscal_year',
|
"options": "link:Company"
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Closing Fiscal Year',
|
{
|
||||||
'oldfieldname': u'fiscal_year',
|
"oldfieldtype": "Column Break",
|
||||||
'oldfieldtype': u'Select',
|
"doctype": "DocField",
|
||||||
'options': u'link:Fiscal Year',
|
"fieldname": "column_break1",
|
||||||
'permlevel': 0,
|
"fieldtype": "Column Break",
|
||||||
'reqd': 1
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Link",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'amended_from',
|
"label": "Closing Account Head",
|
||||||
'fieldtype': u'Data',
|
"oldfieldname": "closing_account_head",
|
||||||
'label': u'Amended From',
|
"trigger": "Client",
|
||||||
'no_copy': 1,
|
"fieldname": "closing_account_head",
|
||||||
'oldfieldname': u'amended_from',
|
"fieldtype": "Link",
|
||||||
'oldfieldtype': u'Data',
|
"reqd": 1,
|
||||||
'permlevel': 1
|
"options": "Account",
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"oldfieldtype": "HTML",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'amendment_date',
|
"label": "CoA Help",
|
||||||
'fieldtype': u'Date',
|
"permlevel": 0,
|
||||||
'label': u'Amendment Date',
|
"fieldname": "coa_help",
|
||||||
'no_copy': 1,
|
"fieldtype": "HTML",
|
||||||
'oldfieldname': u'amendment_date',
|
"options": "<a href=\"#!Accounts Browser/Account\">To manage Account Head, click here</a>"
|
||||||
'oldfieldtype': u'Date',
|
},
|
||||||
'permlevel': 1
|
{
|
||||||
},
|
"oldfieldtype": "Small Text",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Remarks",
|
||||||
{
|
"oldfieldname": "remarks",
|
||||||
'doctype': u'DocField',
|
"fieldname": "remarks",
|
||||||
'fieldname': u'company',
|
"fieldtype": "Small Text",
|
||||||
'fieldtype': u'Select',
|
"reqd": 1,
|
||||||
'label': u'Company',
|
"permlevel": 0
|
||||||
'oldfieldname': u'company',
|
},
|
||||||
'oldfieldtype': u'Select',
|
{
|
||||||
'options': u'link:Company',
|
"print_hide": 1,
|
||||||
'permlevel': 0,
|
"search_index": 0,
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Cancel Reason",
|
||||||
|
"oldfieldname": "cancel_reason",
|
||||||
# DocField
|
"fieldname": "cancel_reason",
|
||||||
{
|
"fieldtype": "Small Text",
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Small Text",
|
||||||
'fieldname': u'column_break1',
|
"hidden": 1,
|
||||||
'fieldtype': u'Column Break',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Column Break',
|
}
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'closing_account_head',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'label': u'Closing Account Head',
|
|
||||||
'oldfieldname': u'closing_account_head',
|
|
||||||
'oldfieldtype': u'Link',
|
|
||||||
'options': u'Account',
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 1,
|
|
||||||
'trigger': u'Client'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'coa_help',
|
|
||||||
'fieldtype': u'HTML',
|
|
||||||
'label': u'CoA Help',
|
|
||||||
'oldfieldtype': u'HTML',
|
|
||||||
'options': u'<a href="#!Accounts Browser/Account">To manage Account Head, click here</a>',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'remarks',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'label': u'Remarks',
|
|
||||||
'oldfieldname': u'remarks',
|
|
||||||
'oldfieldtype': u'Small Text',
|
|
||||||
'permlevel': 0,
|
|
||||||
'reqd': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'cancel_reason',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Cancel Reason',
|
|
||||||
'oldfieldname': u'cancel_reason',
|
|
||||||
'oldfieldtype': u'Small Text',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'search_index': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,282 +1,229 @@
|
|||||||
# DocType, POS Setting
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-06-11 12:09:53',
|
"creation": "2012-06-11 12:09:53",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-16 16:27:51',
|
"modified": "2012-07-16 16:27:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all DocType
|
"doctype": "DocType",
|
||||||
{
|
"autoname": "POS/.####",
|
||||||
'_last_update': u'1322549700',
|
"show_in_menu": 0,
|
||||||
'autoname': u'POS/.####',
|
"name": "__common__",
|
||||||
'colour': u'White:FFF',
|
"colour": "White:FFF",
|
||||||
'doctype': 'DocType',
|
"_last_update": "1322549700",
|
||||||
'module': u'Accounts',
|
"server_code_error": " ",
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "POS Setting",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'POS Setting',
|
"name": "__common__",
|
||||||
'parentfield': u'fields',
|
"parent": "POS Setting",
|
||||||
'parenttype': u'DocType',
|
"read": 1,
|
||||||
'permlevel': 0
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"permlevel": 0,
|
||||||
# These values are common for all DocPerm
|
"parentfield": "permissions"
|
||||||
{
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'name': '__common__',
|
"name": "POS Setting",
|
||||||
'parent': u'POS Setting',
|
"doctype": "DocType"
|
||||||
'parentfield': u'permissions',
|
},
|
||||||
'parenttype': u'DocType',
|
{
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Link",
|
||||||
'read': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "User",
|
||||||
|
"oldfieldname": "user",
|
||||||
# DocType, POS Setting
|
"fieldname": "user",
|
||||||
{
|
"fieldtype": "Link",
|
||||||
'doctype': 'DocType',
|
"options": "Profile"
|
||||||
'name': u'POS Setting'
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Territory",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "territory",
|
||||||
'fieldname': u'user',
|
"fieldname": "territory",
|
||||||
'fieldtype': u'Link',
|
"fieldtype": "Link",
|
||||||
'label': u'User',
|
"reqd": 1,
|
||||||
'oldfieldname': u'user',
|
"options": "Territory"
|
||||||
'oldfieldtype': u'Link',
|
},
|
||||||
'options': u'Profile'
|
{
|
||||||
},
|
"no_copy": 1,
|
||||||
|
"oldfieldtype": "Select",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Series",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "naming_series",
|
||||||
'fieldname': u'territory',
|
"fieldname": "naming_series",
|
||||||
'fieldtype': u'Link',
|
"fieldtype": "Select",
|
||||||
'label': u'Territory',
|
"reqd": 1
|
||||||
'oldfieldname': u'territory',
|
},
|
||||||
'oldfieldtype': u'Link',
|
{
|
||||||
'options': u'Territory',
|
"oldfieldtype": "Select",
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Currency",
|
||||||
|
"oldfieldname": "currency",
|
||||||
# DocField
|
"fieldname": "currency",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'naming_series',
|
"options": "link:Currency"
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Series',
|
{
|
||||||
'no_copy': 1,
|
"default": "1",
|
||||||
'oldfieldname': u'naming_series',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Select',
|
"colour": "White:FFF",
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Conversion Rate",
|
||||||
|
"oldfieldname": "conversion_rate",
|
||||||
# DocField
|
"fieldname": "conversion_rate",
|
||||||
{
|
"fieldtype": "Float",
|
||||||
'doctype': u'DocField',
|
"reqd": 1
|
||||||
'fieldname': u'currency',
|
},
|
||||||
'fieldtype': u'Select',
|
{
|
||||||
'label': u'Currency',
|
"oldfieldtype": "Select",
|
||||||
'oldfieldname': u'currency',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Select',
|
"label": "Price List",
|
||||||
'options': u'link:Currency',
|
"oldfieldname": "price_list_name",
|
||||||
'reqd': 1
|
"fieldname": "price_list_name",
|
||||||
},
|
"fieldtype": "Select",
|
||||||
|
"reqd": 1,
|
||||||
# DocField
|
"options": "link:Price List"
|
||||||
{
|
},
|
||||||
'colour': u'White:FFF',
|
{
|
||||||
'default': u'1',
|
"oldfieldtype": "Link",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'conversion_rate',
|
"label": "Company",
|
||||||
'fieldtype': u'Float',
|
"oldfieldname": "company",
|
||||||
'label': u'Conversion Rate',
|
"fieldname": "company",
|
||||||
'oldfieldname': u'conversion_rate',
|
"fieldtype": "Link",
|
||||||
'oldfieldtype': u'Currency',
|
"reqd": 1,
|
||||||
'reqd': 1
|
"options": "Company"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Column Break",
|
||||||
{
|
"fieldname": "column_break0",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Column Break",
|
||||||
'fieldname': u'price_list_name',
|
"doctype": "DocField"
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Price List',
|
{
|
||||||
'oldfieldname': u'price_list_name',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Select',
|
"doctype": "DocField",
|
||||||
'options': u'link:Price List',
|
"label": "Customer Account",
|
||||||
'reqd': 1
|
"oldfieldname": "customer_account",
|
||||||
},
|
"fieldname": "customer_account",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"reqd": 0,
|
||||||
{
|
"options": "Account"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'company',
|
{
|
||||||
'fieldtype': u'Link',
|
"oldfieldtype": "Link",
|
||||||
'label': u'Company',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'company',
|
"label": "Cash/Bank Account",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "cash_bank_account",
|
||||||
'options': u'Company',
|
"fieldname": "cash_bank_account",
|
||||||
'reqd': 1
|
"fieldtype": "Link",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Account"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Link",
|
||||||
'fieldname': u'column_break0',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Column Break',
|
"label": "Income Account",
|
||||||
'oldfieldtype': u'Column Break'
|
"oldfieldname": "income_account",
|
||||||
},
|
"fieldname": "income_account",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Account"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'customer_account',
|
{
|
||||||
'fieldtype': u'Link',
|
"oldfieldtype": "Link",
|
||||||
'label': u'Customer Account',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'customer_account',
|
"label": "Warehouse",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "warehouse",
|
||||||
'options': u'Account',
|
"fieldname": "warehouse",
|
||||||
'reqd': 0
|
"fieldtype": "Link",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Warehouse"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Link",
|
||||||
'fieldname': u'cash_bank_account',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Link',
|
"label": "Cost Center",
|
||||||
'label': u'Cash/Bank Account',
|
"oldfieldname": "cost_center",
|
||||||
'oldfieldname': u'cash_bank_account',
|
"fieldname": "cost_center",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Link",
|
||||||
'options': u'Account',
|
"reqd": 1,
|
||||||
'reqd': 1
|
"options": "Cost Center"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Link",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Charge",
|
||||||
'fieldname': u'income_account',
|
"oldfieldname": "charge",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "charge",
|
||||||
'label': u'Income Account',
|
"fieldtype": "Link",
|
||||||
'oldfieldname': u'income_account',
|
"options": "Sales Taxes and Charges Master"
|
||||||
'oldfieldtype': u'Link',
|
},
|
||||||
'options': u'Account',
|
{
|
||||||
'reqd': 1
|
"print_hide": 1,
|
||||||
},
|
"oldfieldtype": "Select",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Letter Head",
|
||||||
{
|
"oldfieldname": "letter_head",
|
||||||
'doctype': u'DocField',
|
"fieldname": "letter_head",
|
||||||
'fieldname': u'warehouse',
|
"fieldtype": "Select",
|
||||||
'fieldtype': u'Link',
|
"options": "link:Letter Head"
|
||||||
'label': u'Warehouse',
|
},
|
||||||
'oldfieldname': u'warehouse',
|
{
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldtype": "Link",
|
||||||
'options': u'Warehouse',
|
"doctype": "DocField",
|
||||||
'reqd': 1
|
"label": "Terms and Conditions",
|
||||||
},
|
"oldfieldname": "tc_name",
|
||||||
|
"fieldname": "tc_name",
|
||||||
# DocField
|
"fieldtype": "Link",
|
||||||
{
|
"options": "Terms and Conditions"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'cost_center',
|
{
|
||||||
'fieldtype': u'Link',
|
"oldfieldtype": "Select",
|
||||||
'label': u'Cost Center',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'cost_center',
|
"label": "Select Print Heading",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "select_print_heading",
|
||||||
'options': u'Cost Center',
|
"fieldname": "select_print_heading",
|
||||||
'reqd': 1
|
"fieldtype": "Select",
|
||||||
},
|
"options": "link:Print Heading",
|
||||||
|
"in_filter": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"write": 1,
|
||||||
'fieldname': u'charge',
|
"create": 1,
|
||||||
'fieldtype': u'Link',
|
"role": "System Manager",
|
||||||
'label': u'Charge',
|
"doctype": "DocPerm",
|
||||||
'oldfieldname': u'charge',
|
"submit": 0
|
||||||
'oldfieldtype': u'Link',
|
},
|
||||||
'options': u'Sales Taxes and Charges Master'
|
{
|
||||||
},
|
"write": 1,
|
||||||
|
"create": 1,
|
||||||
# DocField
|
"role": "System Manager",
|
||||||
{
|
"doctype": "DocPerm"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'letter_head',
|
{
|
||||||
'fieldtype': u'Select',
|
"write": 1,
|
||||||
'label': u'Letter Head',
|
"create": 1,
|
||||||
'oldfieldname': u'letter_head',
|
"role": "Accounts Manager",
|
||||||
'oldfieldtype': u'Select',
|
"doctype": "DocPerm"
|
||||||
'options': u'link:Letter Head',
|
},
|
||||||
'print_hide': 1
|
{
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"doctype": "DocPerm"
|
||||||
# DocField
|
}
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'tc_name',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'label': u'Terms and Conditions',
|
|
||||||
'oldfieldname': u'tc_name',
|
|
||||||
'oldfieldtype': u'Link',
|
|
||||||
'options': u'Terms and Conditions'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'select_print_heading',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'in_filter': 0,
|
|
||||||
'label': u'Select Print Heading',
|
|
||||||
'oldfieldname': u'select_print_heading',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'link:Print Heading'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'create': 1,
|
|
||||||
'doctype': u'DocPerm',
|
|
||||||
'role': u'System Manager',
|
|
||||||
'submit': 0,
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'create': 1,
|
|
||||||
'doctype': u'DocPerm',
|
|
||||||
'role': u'System Manager',
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'create': 1,
|
|
||||||
'doctype': u'DocPerm',
|
|
||||||
'role': u'Accounts Manager',
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'doctype': u'DocPerm',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -40,12 +40,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"oldfieldtype": "Data",
|
"oldfieldtype": "Data",
|
||||||
|
"search_index": 0,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Item Name",
|
"label": "Item Name",
|
||||||
"oldfieldname": "item_name",
|
"oldfieldname": "item_name",
|
||||||
"fieldname": "item_name",
|
"fieldname": "item_name",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"search_index": 0,
|
|
||||||
"reqd": 1,
|
"reqd": 1,
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"in_filter": 0
|
"in_filter": 0
|
||||||
@@ -140,6 +140,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
|
"permlevel": 0,
|
||||||
"oldfieldtype": "Link",
|
"oldfieldtype": "Link",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Expense Head",
|
"label": "Expense Head",
|
||||||
@@ -149,7 +150,6 @@
|
|||||||
"fieldname": "expense_head",
|
"fieldname": "expense_head",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"reqd": 1,
|
"reqd": 1,
|
||||||
"permlevel": 0
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
@@ -200,35 +200,35 @@
|
|||||||
"label": "Item Group",
|
"label": "Item Group",
|
||||||
"oldfieldname": "item_group",
|
"oldfieldname": "item_group",
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
|
"options": "Item Group",
|
||||||
"fieldname": "item_group",
|
"fieldname": "item_group",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"search_index": 1,
|
"search_index": 1,
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"options": "Item Group",
|
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Link",
|
"oldfieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Pur Order",
|
"label": "Pur Order",
|
||||||
"oldfieldname": "purchase_order",
|
"oldfieldname": "purchase_order",
|
||||||
"options": "Purchase Order",
|
"options": "Purchase Order",
|
||||||
"fieldname": "purchase_order",
|
"fieldname": "purchase_order",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"search_index": 1,
|
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Data",
|
"oldfieldtype": "Data",
|
||||||
|
"search_index": 1,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Purchase Order Item",
|
"label": "Purchase Order Item",
|
||||||
"oldfieldname": "po_detail",
|
"oldfieldname": "po_detail",
|
||||||
"fieldname": "po_detail",
|
"fieldname": "po_detail",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"search_index": 1,
|
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
@@ -236,25 +236,25 @@
|
|||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Link",
|
"oldfieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Pur Receipt",
|
"label": "Pur Receipt",
|
||||||
"oldfieldname": "purchase_receipt",
|
"oldfieldname": "purchase_receipt",
|
||||||
"options": "Purchase Receipt",
|
"options": "Purchase Receipt",
|
||||||
"fieldname": "purchase_receipt",
|
"fieldname": "purchase_receipt",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"search_index": 1,
|
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Data",
|
"oldfieldtype": "Data",
|
||||||
|
"search_index": 1,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "PR Detail",
|
"label": "PR Detail",
|
||||||
"oldfieldname": "pr_detail",
|
"oldfieldname": "pr_detail",
|
||||||
"fieldname": "pr_detail",
|
"fieldname": "pr_detail",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"search_index": 1,
|
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
|
|||||||
@@ -1,239 +1,202 @@
|
|||||||
# DocType, Purchase Taxes and Charges
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "wasim@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-09-18 11:20:24',
|
"creation": "2012-09-18 11:20:24",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-09-28 12:27:43',
|
"modified": "2012-09-28 12:27:43"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'wasim@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1322549700',
|
"server_code_error": " ",
|
||||||
'autoname': u'PVTD.######',
|
"hide_heading": 1,
|
||||||
'colour': u'White:FFF',
|
"autoname": "PVTD.######",
|
||||||
u'doctype': u'DocType',
|
"name": "__common__",
|
||||||
'hide_heading': 1,
|
"colour": "White:FFF",
|
||||||
'istable': 1,
|
"_last_update": "1322549700",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
u'name': u'__common__',
|
"version": 1
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Purchase Taxes and Charges",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Purchase Taxes and Charges",
|
||||||
'parent': u'Purchase Taxes and Charges',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"oldfieldtype": "Select",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Purchase Taxes and Charges
|
"label": "Type",
|
||||||
{
|
"oldfieldname": "charge_type",
|
||||||
u'doctype': u'DocType',
|
"permlevel": 0,
|
||||||
u'name': u'Purchase Taxes and Charges'
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "charge_type",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total"
|
||||||
u'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'charge_type',
|
{
|
||||||
'fieldtype': u'Select',
|
"oldfieldtype": "Link",
|
||||||
'label': u'Type',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'charge_type',
|
"label": "Account Head",
|
||||||
'oldfieldtype': u'Select',
|
"oldfieldname": "account_head",
|
||||||
'options': u'\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"trigger": "Client",
|
||||||
'reqd': 1,
|
"fieldname": "account_head",
|
||||||
'trigger': u'Client'
|
"fieldtype": "Link",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Account"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"oldfieldtype": "Link",
|
||||||
'fieldname': u'account_head',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Link',
|
"label": "Cost Center",
|
||||||
'label': u'Account Head',
|
"oldfieldname": "cost_center",
|
||||||
'oldfieldname': u'account_head',
|
"permlevel": 0,
|
||||||
'oldfieldtype': u'Link',
|
"trigger": "Client",
|
||||||
'options': u'Account',
|
"fieldname": "cost_center",
|
||||||
'permlevel': 0,
|
"fieldtype": "Link",
|
||||||
'reqd': 1,
|
"options": "Cost Center"
|
||||||
'trigger': u'Client'
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Small Text",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Description",
|
||||||
u'doctype': u'DocField',
|
"oldfieldname": "description",
|
||||||
'fieldname': u'cost_center',
|
"width": "300px",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "description",
|
||||||
'label': u'Cost Center',
|
"fieldtype": "Small Text",
|
||||||
'oldfieldname': u'cost_center',
|
"reqd": 1,
|
||||||
'oldfieldtype': u'Link',
|
"permlevel": 0
|
||||||
'options': u'Cost Center',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'trigger': u'Client'
|
"oldfieldtype": "Currency",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Rate",
|
||||||
# DocField
|
"oldfieldname": "rate",
|
||||||
{
|
"trigger": "Client",
|
||||||
u'doctype': u'DocField',
|
"fieldname": "rate",
|
||||||
'fieldname': u'description',
|
"fieldtype": "Currency",
|
||||||
'fieldtype': u'Small Text',
|
"reqd": 0,
|
||||||
'label': u'Description',
|
"permlevel": 0
|
||||||
'oldfieldname': u'description',
|
},
|
||||||
'oldfieldtype': u'Small Text',
|
{
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Currency",
|
||||||
'reqd': 1,
|
"doctype": "DocField",
|
||||||
'width': u'300px'
|
"label": "Amount",
|
||||||
},
|
"oldfieldname": "tax_amount",
|
||||||
|
"trigger": "Client",
|
||||||
# DocField
|
"fieldname": "tax_amount",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
u'doctype': u'DocField',
|
"reqd": 0,
|
||||||
'fieldname': u'rate',
|
"permlevel": 0
|
||||||
'fieldtype': u'Currency',
|
},
|
||||||
'label': u'Rate',
|
{
|
||||||
'oldfieldname': u'rate',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Currency',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Total",
|
||||||
'reqd': 0,
|
"oldfieldname": "total",
|
||||||
'trigger': u'Client'
|
"fieldname": "total",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"permlevel": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"oldfieldtype": "Data",
|
||||||
'fieldname': u'tax_amount',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Enter Row",
|
||||||
'label': u'Amount',
|
"oldfieldname": "row_id",
|
||||||
'oldfieldname': u'tax_amount',
|
"trigger": "Client",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "row_id",
|
||||||
'permlevel': 0,
|
"fieldtype": "Data",
|
||||||
'reqd': 0,
|
"hidden": 0,
|
||||||
'trigger': u'Client'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"default": "Valuation and Total",
|
||||||
{
|
"oldfieldtype": "Select",
|
||||||
u'doctype': u'DocField',
|
"colour": "White:FFF",
|
||||||
'fieldname': u'total',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Consider Tax or Charge for",
|
||||||
'label': u'Total',
|
"oldfieldname": "category",
|
||||||
'oldfieldname': u'total',
|
"options": "Valuation and Total\nValuation\nTotal",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "category",
|
||||||
'permlevel': 1
|
"fieldtype": "Select",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"default": "Add",
|
||||||
'fieldname': u'row_id',
|
"oldfieldtype": "Select",
|
||||||
'fieldtype': u'Data',
|
"colour": "White:FFF",
|
||||||
'hidden': 0,
|
"doctype": "DocField",
|
||||||
'label': u'Enter Row',
|
"label": "Add or Deduct",
|
||||||
'oldfieldname': u'row_id',
|
"oldfieldname": "add_deduct_tax",
|
||||||
'oldfieldtype': u'Data',
|
"trigger": "Client",
|
||||||
'permlevel': 0,
|
"fieldname": "add_deduct_tax",
|
||||||
'trigger': u'Client'
|
"fieldtype": "Select",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Add\nDeduct",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'colour': u'White:FFF',
|
{
|
||||||
'default': u'Valuation and Total',
|
"print_hide": 1,
|
||||||
u'doctype': u'DocField',
|
"oldfieldtype": "Small Text",
|
||||||
'fieldname': u'category',
|
"colour": "White:FFF",
|
||||||
'fieldtype': u'Select',
|
"doctype": "DocField",
|
||||||
'label': u'Consider Tax or Charge for',
|
"label": "Item Wise Tax Detail ",
|
||||||
'oldfieldname': u'category',
|
"oldfieldname": "item_wise_tax_detail",
|
||||||
'oldfieldtype': u'Select',
|
"fieldname": "item_wise_tax_detail",
|
||||||
'options': u'Valuation and Total\nValuation\nTotal',
|
"fieldtype": "Small Text",
|
||||||
'permlevel': 0,
|
"hidden": 1,
|
||||||
'reqd': 1
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"search_index": 0,
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocField",
|
||||||
'default': u'Add',
|
"label": "Parenttype",
|
||||||
u'doctype': u'DocField',
|
"oldfieldname": "parenttype",
|
||||||
'fieldname': u'add_deduct_tax',
|
"fieldname": "parenttype",
|
||||||
'fieldtype': u'Select',
|
"fieldtype": "Data",
|
||||||
'label': u'Add or Deduct',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldname': u'add_deduct_tax',
|
"hidden": 1,
|
||||||
'oldfieldtype': u'Select',
|
"permlevel": 0,
|
||||||
'options': u'Add\nDeduct',
|
"in_filter": 1
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1,
|
{
|
||||||
'trigger': u'Client'
|
"print_hide": 1,
|
||||||
},
|
"description": "Cheating Field\nPlease do not delete ",
|
||||||
|
"no_copy": 1,
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'colour': u'White:FFF',
|
"label": "Total +Tax",
|
||||||
u'doctype': u'DocField',
|
"oldfieldname": "total_tax_amount",
|
||||||
'fieldname': u'item_wise_tax_detail',
|
"fieldname": "total_tax_amount",
|
||||||
'fieldtype': u'Small Text',
|
"fieldtype": "Currency",
|
||||||
'hidden': 1,
|
"hidden": 1,
|
||||||
'label': u'Item Wise Tax Detail ',
|
"permlevel": 0,
|
||||||
'oldfieldname': u'item_wise_tax_detail',
|
"report_hide": 1
|
||||||
'oldfieldtype': u'Small Text',
|
},
|
||||||
'permlevel': 1,
|
{
|
||||||
'print_hide': 1
|
"print_hide": 1,
|
||||||
},
|
"description": "Cheating Field\nPlease do not delete ",
|
||||||
|
"no_copy": 1,
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "Tax Amount",
|
||||||
'fieldname': u'parenttype',
|
"oldfieldname": "total_amount",
|
||||||
'fieldtype': u'Data',
|
"fieldname": "total_amount",
|
||||||
'hidden': 1,
|
"fieldtype": "Currency",
|
||||||
'in_filter': 1,
|
"hidden": 1,
|
||||||
'label': u'Parenttype',
|
"permlevel": 0,
|
||||||
'oldfieldname': u'parenttype',
|
"report_hide": 1
|
||||||
'oldfieldtype': u'Data',
|
}
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'search_index': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'description': u'Cheating Field\nPlease do not delete ',
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'total_tax_amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Total +Tax',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'total_tax_amount',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'description': u'Cheating Field\nPlease do not delete ',
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'total_amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Tax Amount',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'total_amount',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,149 +1,120 @@
|
|||||||
# DocType, Purchase Taxes and Charges Master
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "wasim@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-05-15 12:14:32',
|
"creation": "2012-05-15 12:14:32",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-08-17 09:57:04',
|
"modified": "2012-08-17 09:57:04"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'wasim@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"description": "Standard tax template that can be applied to all Purchase Transactions. This template can contain list of tax heads and also other expense heads like \"Shipping\", \"Insurance\", \"Handling\" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on \"Previous Row Total\" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Consider Tax or Charge for: In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.\n10. Add or Deduct: Whether you want to add or deduct the tax.",
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1325570646',
|
"allow_trash": 1,
|
||||||
'allow_trash': 1,
|
"server_code_error": " ",
|
||||||
'autoname': u'field:title',
|
"document_type": "Master",
|
||||||
'colour': u'White:FFF',
|
"autoname": "field:title",
|
||||||
'description': u'Standard tax template that can be applied to all Purchase Transactions. This template can contain list of tax heads and also other expense heads like "Shipping", "Insurance", "Handling" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Consider Tax or Charge for: In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.\n10. Add or Deduct: Whether you want to add or deduct the tax.',
|
"name": "__common__",
|
||||||
'doctype': 'DocType',
|
"colour": "White:FFF",
|
||||||
'document_type': u'Master',
|
"_last_update": "1325570646",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Purchase Taxes and Charges Master",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'Purchase Taxes and Charges Master',
|
"name": "__common__",
|
||||||
'parentfield': u'fields',
|
"parent": "Purchase Taxes and Charges Master",
|
||||||
'parenttype': u'DocType',
|
"read": 1,
|
||||||
'permlevel': 0
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Purchase Taxes and Charges Master",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Purchase Taxes and Charges Master',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"role": "All",
|
||||||
'read': 1
|
"permlevel": 1,
|
||||||
},
|
"doctype": "DocPerm"
|
||||||
|
},
|
||||||
# DocType, Purchase Taxes and Charges Master
|
{
|
||||||
{
|
"amend": 0,
|
||||||
'doctype': 'DocType',
|
"create": 0,
|
||||||
'name': u'Purchase Taxes and Charges Master'
|
"doctype": "DocPerm",
|
||||||
},
|
"submit": 0,
|
||||||
|
"write": 0,
|
||||||
# DocPerm
|
"role": "Purchase Manager",
|
||||||
{
|
"cancel": 0,
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'permlevel': 1,
|
},
|
||||||
'role': u'All'
|
{
|
||||||
},
|
"create": 1,
|
||||||
|
"doctype": "DocPerm",
|
||||||
# DocPerm
|
"write": 1,
|
||||||
{
|
"role": "System Manager",
|
||||||
'amend': 0,
|
"cancel": 1,
|
||||||
'cancel': 0,
|
"permlevel": 0
|
||||||
'create': 0,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 0,
|
"create": 1,
|
||||||
'role': u'Purchase Manager',
|
"doctype": "DocPerm",
|
||||||
'submit': 0,
|
"submit": 0,
|
||||||
'write': 0
|
"write": 1,
|
||||||
},
|
"role": "Purchase Master Manager",
|
||||||
|
"cancel": 1,
|
||||||
# DocPerm
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'cancel': 1,
|
{
|
||||||
'create': 1,
|
"search_index": 0,
|
||||||
'doctype': u'DocPerm',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Title",
|
||||||
'role': u'System Manager',
|
"oldfieldname": "title",
|
||||||
'write': 1
|
"fieldname": "title",
|
||||||
},
|
"fieldtype": "Data",
|
||||||
|
"oldfieldtype": "Data",
|
||||||
# DocPerm
|
"reqd": 1,
|
||||||
{
|
"in_filter": 1
|
||||||
'cancel': 1,
|
},
|
||||||
'create': 1,
|
{
|
||||||
'doctype': u'DocPerm',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"fieldname": "is_default",
|
||||||
'role': u'Purchase Master Manager',
|
"fieldtype": "Check",
|
||||||
'submit': 0,
|
"label": "Default"
|
||||||
'write': 1
|
},
|
||||||
},
|
{
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Company",
|
||||||
{
|
"fieldname": "company",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Link",
|
||||||
'fieldname': u'title',
|
"reqd": 1,
|
||||||
'fieldtype': u'Data',
|
"options": "Company",
|
||||||
'in_filter': 1,
|
"in_filter": 1
|
||||||
'label': u'Title',
|
},
|
||||||
'oldfieldname': u'title',
|
{
|
||||||
'oldfieldtype': u'Data',
|
"oldfieldtype": "Table",
|
||||||
'reqd': 1,
|
"doctype": "DocField",
|
||||||
'search_index': 0
|
"label": "Purchase Taxes and Charges",
|
||||||
},
|
"oldfieldname": "purchase_tax_details",
|
||||||
|
"fieldname": "purchase_tax_details",
|
||||||
# DocField
|
"fieldtype": "Table",
|
||||||
{
|
"options": "Purchase Taxes and Charges"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'is_default',
|
{
|
||||||
'fieldtype': u'Check',
|
"doctype": "DocField",
|
||||||
'label': u'Default'
|
"label": "Company",
|
||||||
},
|
"fieldname": "company",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Company",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'company',
|
}
|
||||||
'fieldtype': u'Link',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Company',
|
|
||||||
'options': u'Company',
|
|
||||||
'reqd': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'purchase_tax_details',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Purchase Taxes and Charges',
|
|
||||||
'oldfieldname': u'purchase_tax_details',
|
|
||||||
'oldfieldtype': u'Table',
|
|
||||||
'options': u'Purchase Taxes and Charges'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'company',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Company',
|
|
||||||
'options': u'Company',
|
|
||||||
'reqd': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,105 +1,86 @@
|
|||||||
# DocType, Sales Invoice Advance
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:40',
|
"creation": "2012-03-27 14:35:40",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:40',
|
"modified": "2012-03-27 14:35:40"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'colour': u'White:FFF',
|
"module": "Accounts",
|
||||||
'doctype': 'DocType',
|
"show_in_menu": 0,
|
||||||
'istable': 1,
|
"version": 24,
|
||||||
'module': u'Accounts',
|
"server_code_error": " ",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 24
|
"parent": "Sales Invoice Advance",
|
||||||
},
|
"no_copy": 1,
|
||||||
|
"doctype": "DocField",
|
||||||
# These values are common for all DocField
|
"parenttype": "DocType",
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'no_copy': 1,
|
"name": "Sales Invoice Advance",
|
||||||
'parent': u'Sales Invoice Advance',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"permlevel": 1,
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocType, Sales Invoice Advance
|
"doctype": "DocField",
|
||||||
{
|
"label": "Journal Voucher",
|
||||||
'doctype': 'DocType',
|
"oldfieldname": "journal_voucher",
|
||||||
'name': u'Sales Invoice Advance'
|
"width": "250px",
|
||||||
},
|
"fieldname": "journal_voucher",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"options": "Journal Voucher"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'journal_voucher',
|
"print_hide": 1,
|
||||||
'fieldtype': u'Link',
|
"oldfieldtype": "Data",
|
||||||
'label': u'Journal Voucher',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'journal_voucher',
|
"label": "Journal Voucher Detail No",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "jv_detail_no",
|
||||||
'options': u'Journal Voucher',
|
"width": "120px",
|
||||||
'permlevel': 1,
|
"fieldname": "jv_detail_no",
|
||||||
'width': u'250px'
|
"fieldtype": "Data",
|
||||||
},
|
"hidden": 1,
|
||||||
|
"permlevel": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'jv_detail_no',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Advance amount",
|
||||||
'hidden': 1,
|
"oldfieldname": "advance_amount",
|
||||||
'label': u'Journal Voucher Detail No',
|
"width": "120px",
|
||||||
'oldfieldname': u'jv_detail_no',
|
"fieldname": "advance_amount",
|
||||||
'oldfieldtype': u'Data',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 1,
|
"permlevel": 1
|
||||||
'print_hide': 1,
|
},
|
||||||
'width': u'120px'
|
{
|
||||||
},
|
"oldfieldtype": "Currency",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Allocated amount",
|
||||||
{
|
"oldfieldname": "allocated_amount",
|
||||||
'doctype': u'DocField',
|
"width": "120px",
|
||||||
'fieldname': u'advance_amount',
|
"trigger": "Client",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "allocated_amount",
|
||||||
'label': u'Advance amount',
|
"fieldtype": "Currency",
|
||||||
'oldfieldname': u'advance_amount',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Currency',
|
},
|
||||||
'permlevel': 1,
|
{
|
||||||
'width': u'120px'
|
"oldfieldtype": "Small Text",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Remarks",
|
||||||
# DocField
|
"oldfieldname": "remarks",
|
||||||
{
|
"width": "150px",
|
||||||
'doctype': u'DocField',
|
"fieldname": "remarks",
|
||||||
'fieldname': u'allocated_amount',
|
"fieldtype": "Small Text",
|
||||||
'fieldtype': u'Currency',
|
"permlevel": 1
|
||||||
'label': u'Allocated amount',
|
}
|
||||||
'oldfieldname': u'allocated_amount',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 0,
|
|
||||||
'trigger': u'Client',
|
|
||||||
'width': u'120px'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'remarks',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'label': u'Remarks',
|
|
||||||
'oldfieldname': u'remarks',
|
|
||||||
'oldfieldtype': u'Small Text',
|
|
||||||
'permlevel': 1,
|
|
||||||
'width': u'150px'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,454 +1,385 @@
|
|||||||
# DocType, Sales Invoice Item
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-06-08 16:07:55',
|
"creation": "2012-06-08 16:07:55",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-09 11:00:18',
|
"modified": "2012-07-09 11:00:18"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'autoname': u'INVD.######',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"autoname": "INVD.######",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Sales Invoice Item",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Sales Invoice Item",
|
||||||
'parent': u'Sales Invoice Item',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"print_hide": 1,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Sales Invoice Item
|
"label": "Barcode",
|
||||||
{
|
"fieldname": "barcode",
|
||||||
'doctype': 'DocType',
|
"fieldtype": "Data",
|
||||||
'name': u'Sales Invoice Item'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 0,
|
||||||
{
|
"oldfieldtype": "Link",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'barcode',
|
"label": "Item",
|
||||||
'fieldtype': u'Data',
|
"oldfieldname": "item_code",
|
||||||
'label': u'Barcode',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"trigger": "Client",
|
||||||
'print_hide': 1
|
"fieldname": "item_code",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"reqd": 0,
|
||||||
{
|
"options": "Item",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'item_code',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'in_filter': 1,
|
"print_hide": 1,
|
||||||
'label': u'Item',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'item_code',
|
"label": "Customer's Item Code",
|
||||||
'oldfieldtype': u'Link',
|
"fieldname": "customer_item_code",
|
||||||
'options': u'Item',
|
"fieldtype": "Data",
|
||||||
'permlevel': 0,
|
"hidden": 1,
|
||||||
'print_hide': 0,
|
"permlevel": 1
|
||||||
'reqd': 0,
|
},
|
||||||
'search_index': 1,
|
{
|
||||||
'trigger': u'Client'
|
"print_hide": 1,
|
||||||
},
|
"search_index": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Item Name",
|
||||||
{
|
"oldfieldname": "item_name",
|
||||||
'doctype': u'DocField',
|
"fieldname": "item_name",
|
||||||
'fieldname': u'customer_item_code',
|
"fieldtype": "Data",
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Data",
|
||||||
'hidden': 1,
|
"reqd": 1,
|
||||||
'label': u"Customer's Item Code",
|
"permlevel": 0,
|
||||||
'permlevel': 1,
|
"in_filter": 0
|
||||||
'print_hide': 1
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Text",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Description",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "description",
|
||||||
'fieldname': u'item_name',
|
"width": "200px",
|
||||||
'fieldtype': u'Data',
|
"fieldname": "description",
|
||||||
'in_filter': 0,
|
"fieldtype": "Text",
|
||||||
'label': u'Item Name',
|
"reqd": 1,
|
||||||
'oldfieldname': u'item_name',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Data',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'print_hide': 1,
|
"oldfieldtype": "Currency",
|
||||||
'reqd': 1,
|
"doctype": "DocField",
|
||||||
'search_index': 0
|
"label": "Qty",
|
||||||
},
|
"oldfieldname": "qty",
|
||||||
|
"trigger": "Client",
|
||||||
# DocField
|
"fieldname": "qty",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"reqd": 0,
|
||||||
'fieldname': u'description',
|
"permlevel": 0
|
||||||
'fieldtype': u'Text',
|
},
|
||||||
'label': u'Description',
|
{
|
||||||
'oldfieldname': u'description',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Text',
|
"label": "UOM",
|
||||||
'permlevel': 0,
|
"fieldname": "stock_uom",
|
||||||
'reqd': 1,
|
"fieldtype": "Data",
|
||||||
'width': u'200px'
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"oldfieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"colour": "White:FFF",
|
||||||
'fieldname': u'qty',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Price List Rate",
|
||||||
'label': u'Qty',
|
"oldfieldname": "ref_rate",
|
||||||
'oldfieldname': u'qty',
|
"trigger": "Client",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "ref_rate",
|
||||||
'permlevel': 0,
|
"fieldtype": "Currency",
|
||||||
'reqd': 0,
|
"reqd": 0,
|
||||||
'trigger': u'Client'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"oldfieldtype": "Float",
|
||||||
'doctype': u'DocField',
|
"colour": "White:FFF",
|
||||||
'fieldname': u'stock_uom',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Discount (%)",
|
||||||
'label': u'UOM',
|
"oldfieldname": "adj_rate",
|
||||||
'permlevel': 1
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "adj_rate",
|
||||||
|
"fieldtype": "Float",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'colour': u'White:FFF',
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'ref_rate',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Basic Rate",
|
||||||
'label': u'Price List Rate',
|
"oldfieldname": "export_rate",
|
||||||
'oldfieldname': u'ref_rate',
|
"trigger": "Client",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "export_rate",
|
||||||
'permlevel': 0,
|
"fieldtype": "Currency",
|
||||||
'print_hide': 1,
|
"reqd": 1,
|
||||||
'reqd': 0,
|
"permlevel": 0
|
||||||
'trigger': u'Client'
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Currency",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Amount",
|
||||||
'colour': u'White:FFF',
|
"oldfieldname": "export_amount",
|
||||||
'doctype': u'DocField',
|
"fieldname": "export_amount",
|
||||||
'fieldname': u'adj_rate',
|
"fieldtype": "Currency",
|
||||||
'fieldtype': u'Float',
|
"reqd": 1,
|
||||||
'label': u'Discount (%)',
|
"permlevel": 1
|
||||||
'oldfieldname': u'adj_rate',
|
},
|
||||||
'oldfieldtype': u'Float',
|
{
|
||||||
'permlevel': 0,
|
"print_hide": 1,
|
||||||
'print_hide': 1,
|
"oldfieldtype": "Currency",
|
||||||
'trigger': u'Client'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Price List Rate*",
|
||||||
|
"oldfieldname": "base_ref_rate",
|
||||||
# DocField
|
"fieldname": "base_ref_rate",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"permlevel": 1
|
||||||
'fieldname': u'export_rate',
|
},
|
||||||
'fieldtype': u'Currency',
|
{
|
||||||
'label': u'Basic Rate',
|
"print_hide": 1,
|
||||||
'oldfieldname': u'export_rate',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Currency',
|
"colour": "White:FFF",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'reqd': 1,
|
"label": "Basic Rate*",
|
||||||
'trigger': u'Client'
|
"oldfieldname": "basic_rate",
|
||||||
},
|
"trigger": "Client",
|
||||||
|
"fieldname": "basic_rate",
|
||||||
# DocField
|
"fieldtype": "Currency",
|
||||||
{
|
"search_index": 0,
|
||||||
'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'export_amount',
|
"permlevel": 0,
|
||||||
'fieldtype': u'Currency',
|
"in_filter": 0
|
||||||
'label': u'Amount',
|
},
|
||||||
'oldfieldname': u'export_amount',
|
{
|
||||||
'oldfieldtype': u'Currency',
|
"print_hide": 1,
|
||||||
'permlevel': 1,
|
"oldfieldtype": "Currency",
|
||||||
'reqd': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Amount*",
|
||||||
|
"oldfieldname": "amount",
|
||||||
# DocField
|
"fieldname": "amount",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'base_ref_rate',
|
"permlevel": 1
|
||||||
'fieldtype': u'Currency',
|
},
|
||||||
'label': u'Price List Rate*',
|
{
|
||||||
'oldfieldname': u'base_ref_rate',
|
"print_hide": 1,
|
||||||
'oldfieldtype': u'Currency',
|
"oldfieldtype": "Link",
|
||||||
'permlevel': 1,
|
"doctype": "DocField",
|
||||||
'print_hide': 1
|
"label": "Warehouse",
|
||||||
},
|
"oldfieldname": "warehouse",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"fieldname": "warehouse",
|
||||||
{
|
"fieldtype": "Link",
|
||||||
'colour': u'White:FFF',
|
"hidden": 0,
|
||||||
'doctype': u'DocField',
|
"options": "Warehouse"
|
||||||
'fieldname': u'basic_rate',
|
},
|
||||||
'fieldtype': u'Currency',
|
{
|
||||||
'in_filter': 0,
|
"print_hide": 1,
|
||||||
'label': u'Basic Rate*',
|
"permlevel": 0,
|
||||||
'oldfieldname': u'basic_rate',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Currency',
|
"colour": "White:FFF",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'print_hide': 1,
|
"label": "Income Account",
|
||||||
'reqd': 1,
|
"oldfieldname": "income_account",
|
||||||
'search_index': 0,
|
"width": "120px",
|
||||||
'trigger': u'Client'
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "income_account",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Account",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'amount',
|
},
|
||||||
'fieldtype': u'Currency',
|
{
|
||||||
'label': u'Amount*',
|
"print_hide": 1,
|
||||||
'oldfieldname': u'amount',
|
"permlevel": 0,
|
||||||
'oldfieldtype': u'Currency',
|
"oldfieldtype": "Link",
|
||||||
'permlevel': 1,
|
"colour": "White:FFF",
|
||||||
'print_hide': 1,
|
"doctype": "DocField",
|
||||||
'reqd': 1
|
"label": "Cost Center",
|
||||||
},
|
"oldfieldname": "cost_center",
|
||||||
|
"width": "120px",
|
||||||
# DocField
|
"trigger": "Client",
|
||||||
{
|
"fieldname": "cost_center",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Link",
|
||||||
'fieldname': u'warehouse',
|
"reqd": 0,
|
||||||
'fieldtype': u'Link',
|
"options": "Cost Center",
|
||||||
'hidden': 0,
|
"in_filter": 1
|
||||||
'label': u'Warehouse',
|
},
|
||||||
'oldfieldname': u'warehouse',
|
{
|
||||||
'oldfieldtype': u'Link',
|
"print_hide": 0,
|
||||||
'options': u'Warehouse',
|
"oldfieldtype": "Small Text",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'print_hide': 1
|
"label": "Serial No",
|
||||||
},
|
"oldfieldname": "serial_no",
|
||||||
|
"fieldname": "serial_no",
|
||||||
# DocField
|
"fieldtype": "Small Text",
|
||||||
{
|
"permlevel": 0,
|
||||||
'colour': u'White:FFF',
|
"in_filter": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'income_account',
|
{
|
||||||
'fieldtype': u'Link',
|
"print_hide": 1,
|
||||||
'in_filter': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Income Account',
|
"label": "Batch No",
|
||||||
'oldfieldname': u'income_account',
|
"options": "Batch",
|
||||||
'oldfieldtype': u'Link',
|
"fieldname": "batch_no",
|
||||||
'options': u'Account',
|
"fieldtype": "Link",
|
||||||
'permlevel': 0,
|
"permlevel": 0
|
||||||
'print_hide': 1,
|
},
|
||||||
'reqd': 1,
|
{
|
||||||
'trigger': u'Client',
|
"print_hide": 1,
|
||||||
'width': u'120px'
|
"oldfieldtype": "Link",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Item Group",
|
||||||
# DocField
|
"oldfieldname": "item_group",
|
||||||
{
|
"options": "Item Group",
|
||||||
'colour': u'White:FFF',
|
"fieldname": "item_group",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Link",
|
||||||
'fieldname': u'cost_center',
|
"hidden": 1,
|
||||||
'fieldtype': u'Link',
|
"permlevel": 1,
|
||||||
'in_filter': 1,
|
"in_filter": 1
|
||||||
'label': u'Cost Center',
|
},
|
||||||
'oldfieldname': u'cost_center',
|
{
|
||||||
'oldfieldtype': u'Link',
|
"print_hide": 1,
|
||||||
'options': u'Cost Center',
|
"oldfieldtype": "Data",
|
||||||
'permlevel': 0,
|
"doctype": "DocField",
|
||||||
'print_hide': 1,
|
"label": "Brand Name",
|
||||||
'reqd': 0,
|
"oldfieldname": "brand",
|
||||||
'trigger': u'Client',
|
"fieldname": "brand",
|
||||||
'width': u'120px'
|
"fieldtype": "Data",
|
||||||
},
|
"hidden": 1,
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"in_filter": 1
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'serial_no',
|
"print_hide": 1,
|
||||||
'fieldtype': u'Small Text',
|
"oldfieldtype": "Currency",
|
||||||
'in_filter': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Serial No',
|
"label": "Available Qty at Warehouse",
|
||||||
'oldfieldname': u'serial_no',
|
"oldfieldname": "actual_qty",
|
||||||
'oldfieldtype': u'Small Text',
|
"fieldname": "actual_qty",
|
||||||
'permlevel': 0,
|
"fieldtype": "Currency",
|
||||||
'print_hide': 0
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"oldfieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'batch_no',
|
"label": "Delivered Qty",
|
||||||
'fieldtype': u'Link',
|
"oldfieldname": "delivered_qty",
|
||||||
'label': u'Batch No',
|
"fieldname": "delivered_qty",
|
||||||
'options': u'Batch',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 0,
|
"permlevel": 1
|
||||||
'print_hide': 1
|
},
|
||||||
},
|
{
|
||||||
|
"print_hide": 1,
|
||||||
# DocField
|
"search_index": 1,
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Sales Order",
|
||||||
'fieldname': u'item_group',
|
"oldfieldname": "sales_order",
|
||||||
'fieldtype': u'Link',
|
"trigger": "Client",
|
||||||
'hidden': 1,
|
"fieldname": "sales_order",
|
||||||
'in_filter': 1,
|
"fieldtype": "Link",
|
||||||
'label': u'Item Group',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldname': u'item_group',
|
"options": "Sales Order",
|
||||||
'oldfieldtype': u'Link',
|
"permlevel": 1,
|
||||||
'options': u'Item Group',
|
"in_filter": 1
|
||||||
'permlevel': 1,
|
},
|
||||||
'print_hide': 1
|
{
|
||||||
},
|
"print_hide": 1,
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "SO Detail ",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "so_detail",
|
||||||
'fieldname': u'brand',
|
"fieldname": "so_detail",
|
||||||
'fieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'hidden': 1,
|
"oldfieldtype": "Data",
|
||||||
'in_filter': 1,
|
"hidden": 1,
|
||||||
'label': u'Brand Name',
|
"permlevel": 1,
|
||||||
'oldfieldname': u'brand',
|
"in_filter": 1
|
||||||
'oldfieldtype': u'Data',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'print_hide': 1
|
"print_hide": 1,
|
||||||
},
|
"search_index": 1,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Delivery Note",
|
||||||
{
|
"oldfieldname": "delivery_note",
|
||||||
'doctype': u'DocField',
|
"trigger": "Client",
|
||||||
'fieldname': u'actual_qty',
|
"fieldname": "delivery_note",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Link",
|
||||||
'label': u'Available Qty at Warehouse',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldname': u'actual_qty',
|
"options": "Delivery Note",
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 1,
|
||||||
'permlevel': 1,
|
"in_filter": 1
|
||||||
'print_hide': 1
|
},
|
||||||
},
|
{
|
||||||
|
"print_hide": 1,
|
||||||
# DocField
|
"search_index": 1,
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "DN Detail",
|
||||||
'fieldname': u'delivered_qty',
|
"oldfieldname": "dn_detail",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "dn_detail",
|
||||||
'label': u'Delivered Qty',
|
"fieldtype": "Data",
|
||||||
'oldfieldname': u'delivered_qty',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Currency',
|
"hidden": 1,
|
||||||
'permlevel': 1,
|
"permlevel": 1,
|
||||||
'print_hide': 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"oldfieldtype": "Small Text",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'sales_order',
|
"label": "Item Tax Rate",
|
||||||
'fieldtype': u'Link',
|
"oldfieldname": "item_tax_rate",
|
||||||
'in_filter': 1,
|
"fieldname": "item_tax_rate",
|
||||||
'label': u'Sales Order',
|
"fieldtype": "Small Text",
|
||||||
'oldfieldname': u'sales_order',
|
"hidden": 1,
|
||||||
'oldfieldtype': u'Link',
|
"permlevel": 1
|
||||||
'options': u'Sales Order',
|
},
|
||||||
'permlevel': 1,
|
{
|
||||||
'print_hide': 1,
|
"print_hide": 1,
|
||||||
'search_index': 1,
|
"no_copy": 1,
|
||||||
'trigger': u'Client'
|
"oldfieldtype": "Check",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Clear Pending",
|
||||||
# DocField
|
"oldfieldname": "clear_pending",
|
||||||
{
|
"fieldname": "clear_pending",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Check",
|
||||||
'fieldname': u'so_detail',
|
"hidden": 1,
|
||||||
'fieldtype': u'Data',
|
"permlevel": 1
|
||||||
'hidden': 1,
|
},
|
||||||
'in_filter': 1,
|
{
|
||||||
'label': u'SO Detail ',
|
"print_hide": 1,
|
||||||
'oldfieldname': u'so_detail',
|
"no_copy": 1,
|
||||||
'oldfieldtype': u'Data',
|
"allow_on_submit": 1,
|
||||||
'permlevel': 1,
|
"doctype": "DocField",
|
||||||
'print_hide': 1,
|
"label": "Page Break",
|
||||||
'search_index': 1
|
"fieldname": "page_break",
|
||||||
},
|
"fieldtype": "Check",
|
||||||
|
"permlevel": 0,
|
||||||
# DocField
|
"report_hide": 1
|
||||||
{
|
}
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'delivery_note',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Delivery Note',
|
|
||||||
'oldfieldname': u'delivery_note',
|
|
||||||
'oldfieldtype': u'Link',
|
|
||||||
'options': u'Delivery Note',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1,
|
|
||||||
'search_index': 1,
|
|
||||||
'trigger': u'Client'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'dn_detail',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'hidden': 1,
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'DN Detail',
|
|
||||||
'oldfieldname': u'dn_detail',
|
|
||||||
'oldfieldtype': u'Data',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1,
|
|
||||||
'search_index': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'item_tax_rate',
|
|
||||||
'fieldtype': u'Small Text',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Item Tax Rate',
|
|
||||||
'oldfieldname': u'item_tax_rate',
|
|
||||||
'oldfieldtype': u'Small Text',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'clear_pending',
|
|
||||||
'fieldtype': u'Check',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Clear Pending',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'clear_pending',
|
|
||||||
'oldfieldtype': u'Check',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'allow_on_submit': 1,
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'page_break',
|
|
||||||
'fieldtype': u'Check',
|
|
||||||
'label': u'Page Break',
|
|
||||||
'no_copy': 1,
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,223 +1,188 @@
|
|||||||
# DocType, Sales Taxes and Charges
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-07-04 16:40:13',
|
"creation": "2012-07-04 16:40:13",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-12 13:50:43',
|
"modified": "2012-07-12 13:50:43"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'autoname': u'INVTD.######',
|
"autoname": "INVTD.######",
|
||||||
'colour': u'White:FFF',
|
"show_in_menu": 0,
|
||||||
'doctype': 'DocType',
|
"hide_heading": 1,
|
||||||
'hide_heading': 1,
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Accounts',
|
"server_code_error": " ",
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Sales Taxes and Charges",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Sales Taxes and Charges",
|
||||||
'parent': u'Sales Taxes and Charges',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"oldfieldtype": "Select",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Sales Taxes and Charges
|
"label": "Type",
|
||||||
{
|
"oldfieldname": "charge_type",
|
||||||
'doctype': 'DocType',
|
"permlevel": 0,
|
||||||
'name': u'Sales Taxes and Charges'
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "charge_type",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'charge_type',
|
{
|
||||||
'fieldtype': u'Select',
|
"search_index": 1,
|
||||||
'label': u'Type',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'charge_type',
|
"label": "Account Head",
|
||||||
'oldfieldtype': u'Select',
|
"oldfieldname": "account_head",
|
||||||
'options': u'\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total',
|
"trigger": "Client",
|
||||||
'permlevel': 0,
|
"fieldname": "account_head",
|
||||||
'reqd': 1,
|
"fieldtype": "Link",
|
||||||
'trigger': u'Client'
|
"oldfieldtype": "Link",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Account",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'account_head',
|
"oldfieldtype": "Link",
|
||||||
'fieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'label': u'Account Head',
|
"label": "Cost Center",
|
||||||
'oldfieldname': u'account_head',
|
"oldfieldname": "cost_center_other_charges",
|
||||||
'oldfieldtype': u'Link',
|
"permlevel": 0,
|
||||||
'options': u'Account',
|
"fieldname": "cost_center_other_charges",
|
||||||
'permlevel': 0,
|
"fieldtype": "Link",
|
||||||
'reqd': 1,
|
"options": "Cost Center"
|
||||||
'search_index': 1,
|
},
|
||||||
'trigger': u'Client'
|
{
|
||||||
},
|
"oldfieldtype": "Small Text",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Description",
|
||||||
{
|
"oldfieldname": "description",
|
||||||
'doctype': u'DocField',
|
"width": "300px",
|
||||||
'fieldname': u'cost_center_other_charges',
|
"fieldname": "description",
|
||||||
'fieldtype': u'Link',
|
"fieldtype": "Small Text",
|
||||||
'label': u'Cost Center',
|
"reqd": 1,
|
||||||
'oldfieldname': u'cost_center_other_charges',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Link',
|
},
|
||||||
'options': u'Cost Center',
|
{
|
||||||
'permlevel': 0
|
"oldfieldtype": "Currency",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Rate",
|
||||||
# DocField
|
"oldfieldname": "rate",
|
||||||
{
|
"trigger": "Client",
|
||||||
'doctype': u'DocField',
|
"fieldname": "rate",
|
||||||
'fieldname': u'description',
|
"fieldtype": "Currency",
|
||||||
'fieldtype': u'Small Text',
|
"reqd": 0,
|
||||||
'label': u'Description',
|
"permlevel": 0
|
||||||
'oldfieldname': u'description',
|
},
|
||||||
'oldfieldtype': u'Small Text',
|
{
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Currency",
|
||||||
'reqd': 1,
|
"doctype": "DocField",
|
||||||
'width': u'300px'
|
"label": "Amount",
|
||||||
},
|
"oldfieldname": "tax_amount",
|
||||||
|
"trigger": "Client",
|
||||||
# DocField
|
"fieldname": "tax_amount",
|
||||||
{
|
"fieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"reqd": 0,
|
||||||
'fieldname': u'rate',
|
"permlevel": 0
|
||||||
'fieldtype': u'Currency',
|
},
|
||||||
'label': u'Rate',
|
{
|
||||||
'oldfieldname': u'rate',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Currency',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Total",
|
||||||
'reqd': 0,
|
"oldfieldname": "total",
|
||||||
'trigger': u'Client'
|
"fieldname": "total",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"permlevel": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Data",
|
||||||
'fieldname': u'tax_amount',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Enter Row",
|
||||||
'label': u'Amount',
|
"oldfieldname": "row_id",
|
||||||
'oldfieldname': u'tax_amount',
|
"trigger": "Client",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "row_id",
|
||||||
'permlevel': 0,
|
"fieldtype": "Data",
|
||||||
'reqd': 0,
|
"hidden": 0,
|
||||||
'trigger': u'Client'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Small Text",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'total',
|
"label": "Item Wise Tax Detail ",
|
||||||
'fieldtype': u'Currency',
|
"oldfieldname": "item_wise_tax_detail",
|
||||||
'label': u'Total',
|
"fieldname": "item_wise_tax_detail",
|
||||||
'oldfieldname': u'total',
|
"fieldtype": "Small Text",
|
||||||
'oldfieldtype': u'Currency',
|
"hidden": 1,
|
||||||
'permlevel': 1
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"search_index": 1,
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'row_id',
|
"label": "Parenttype",
|
||||||
'fieldtype': u'Data',
|
"oldfieldname": "parenttype",
|
||||||
'hidden': 0,
|
"fieldname": "parenttype",
|
||||||
'label': u'Enter Row',
|
"fieldtype": "Data",
|
||||||
'oldfieldname': u'row_id',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Data',
|
"hidden": 1,
|
||||||
'permlevel': 0,
|
"permlevel": 0,
|
||||||
'trigger': u'Client'
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"description": "Cheating Field\nPlease do not delete ",
|
||||||
'colour': u'White:FFF',
|
"no_copy": 1,
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'item_wise_tax_detail',
|
"colour": "White:FFF",
|
||||||
'fieldtype': u'Small Text',
|
"doctype": "DocField",
|
||||||
'hidden': 1,
|
"label": "Total Tax Amount",
|
||||||
'label': u'Item Wise Tax Detail ',
|
"oldfieldname": "total_tax_amount",
|
||||||
'oldfieldname': u'item_wise_tax_detail',
|
"fieldname": "total_tax_amount",
|
||||||
'oldfieldtype': u'Small Text',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 1
|
"hidden": 1,
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"report_hide": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"print_hide": 1,
|
||||||
'fieldname': u'parenttype',
|
"description": "Cheating Field\nPlease do not delete ",
|
||||||
'fieldtype': u'Data',
|
"no_copy": 1,
|
||||||
'hidden': 1,
|
"oldfieldtype": "Currency",
|
||||||
'in_filter': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Parenttype',
|
"label": "Total Amount",
|
||||||
'oldfieldname': u'parenttype',
|
"oldfieldname": "total_amount",
|
||||||
'oldfieldtype': u'Data',
|
"fieldname": "total_amount",
|
||||||
'permlevel': 0,
|
"fieldtype": "Currency",
|
||||||
'print_hide': 1,
|
"hidden": 1,
|
||||||
'search_index': 1
|
"permlevel": 0,
|
||||||
},
|
"report_hide": 1
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"print_hide": 1,
|
||||||
'colour': u'White:FFF',
|
"description": "If checked, the tax amount will be considered as already included in the Print Rate / Print Amount",
|
||||||
'description': u'Cheating Field\nPlease do not delete ',
|
"no_copy": 1,
|
||||||
'doctype': u'DocField',
|
"allow_on_submit": 0,
|
||||||
'fieldname': u'total_tax_amount',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Is this Tax included in Basic Rate?",
|
||||||
'hidden': 1,
|
"width": "150px",
|
||||||
'label': u'Total Tax Amount',
|
"fieldname": "included_in_print_rate",
|
||||||
'no_copy': 1,
|
"fieldtype": "Check",
|
||||||
'oldfieldname': u'total_tax_amount',
|
"no_column": 0,
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"report_hide": 1
|
||||||
'print_hide': 1,
|
}
|
||||||
'report_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'description': u'Cheating Field\nPlease do not delete ',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'total_amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Total Amount',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'total_amount',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'allow_on_submit': 0,
|
|
||||||
'description': u'If checked, the tax amount will be considered as already included in the Print Rate / Print Amount',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'included_in_print_rate',
|
|
||||||
'fieldtype': u'Check',
|
|
||||||
'label': u'Is this Tax included in Basic Rate?',
|
|
||||||
'no_column': 0,
|
|
||||||
'no_copy': 1,
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1,
|
|
||||||
'width': u'150px'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,173 +1,142 @@
|
|||||||
# DocType, Sales Taxes and Charges Master
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-07-03 13:30:46',
|
"creation": "2012-07-03 13:30:46",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-12 13:43:32',
|
"modified": "2012-07-12 13:43:32"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tabbed",
|
||||||
|
"description": "Standard tax template that can be applied to all Sales Transactions. This template can contain list of tax heads and also other expense / income heads like \"Shipping\", \"Insurance\", \"Handling\" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on \"Previous Row Total\" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Is this Tax included in Basic Rate?: If you check this, it means that this tax will not be shown below the item table, but will be included in the Basic Rate in your main item table. This is useful where you want give a flat price (inclusive of all taxes) price to customers.",
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"doctype": "DocType",
|
||||||
'_last_update': u'1322549700',
|
"allow_trash": 1,
|
||||||
'allow_trash': 1,
|
"server_code_error": " ",
|
||||||
'autoname': u'field:title',
|
"document_type": "Master",
|
||||||
'colour': u'White:FFF',
|
"autoname": "field:title",
|
||||||
'description': u'Standard tax template that can be applied to all Sales Transactions. This template can contain list of tax heads and also other expense / income heads like "Shipping", "Insurance", "Handling" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n - This can be on **Net Total** (that is the sum of basic amount).\n - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on "Previous Row Total" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Is this Tax included in Basic Rate?: If you check this, it means that this tax will not be shown below the item table, but will be included in the Basic Rate in your main item table. This is useful where you want give a flat price (inclusive of all taxes) price to customers.',
|
"name": "__common__",
|
||||||
'doctype': 'DocType',
|
"colour": "White:FFF",
|
||||||
'document_type': u'Master',
|
"_last_update": "1322549700",
|
||||||
'module': u'Accounts',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 1
|
||||||
'section_style': u'Tabbed',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Sales Taxes and Charges Master",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'Sales Taxes and Charges Master',
|
"name": "__common__",
|
||||||
'parentfield': u'fields',
|
"parent": "Sales Taxes and Charges Master",
|
||||||
'parenttype': u'DocType',
|
"read": 1,
|
||||||
'permlevel': 0
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocPerm',
|
"name": "Sales Taxes and Charges Master",
|
||||||
'name': '__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Sales Taxes and Charges Master',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"amend": 0,
|
||||||
'read': 1
|
"create": 0,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"submit": 0,
|
||||||
# DocType, Sales Taxes and Charges Master
|
"write": 0,
|
||||||
{
|
"role": "Sales Master Manager",
|
||||||
'doctype': 'DocType',
|
"cancel": 0,
|
||||||
'name': u'Sales Taxes and Charges Master'
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"amend": 0,
|
||||||
{
|
"create": 0,
|
||||||
'amend': 0,
|
"doctype": "DocPerm",
|
||||||
'cancel': 0,
|
"submit": 0,
|
||||||
'create': 0,
|
"write": 0,
|
||||||
'doctype': u'DocPerm',
|
"role": "Sales User",
|
||||||
'permlevel': 1,
|
"cancel": 0,
|
||||||
'role': u'Sales Master Manager',
|
"permlevel": 1
|
||||||
'submit': 0,
|
},
|
||||||
'write': 0
|
{
|
||||||
},
|
"amend": 0,
|
||||||
|
"create": 0,
|
||||||
# DocPerm
|
"doctype": "DocPerm",
|
||||||
{
|
"submit": 0,
|
||||||
'amend': 0,
|
"write": 0,
|
||||||
'cancel': 0,
|
"role": "Sales User",
|
||||||
'create': 0,
|
"cancel": 0,
|
||||||
'doctype': u'DocPerm',
|
"permlevel": 0
|
||||||
'permlevel': 1,
|
},
|
||||||
'role': u'Sales User',
|
{
|
||||||
'submit': 0,
|
"amend": 0,
|
||||||
'write': 0
|
"create": 1,
|
||||||
},
|
"doctype": "DocPerm",
|
||||||
|
"submit": 0,
|
||||||
# DocPerm
|
"write": 1,
|
||||||
{
|
"role": "Accounts Manager",
|
||||||
'amend': 0,
|
"cancel": 1,
|
||||||
'cancel': 0,
|
"permlevel": 0
|
||||||
'create': 0,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 0,
|
"create": 1,
|
||||||
'role': u'Sales User',
|
"doctype": "DocPerm",
|
||||||
'submit': 0,
|
"write": 1,
|
||||||
'write': 0
|
"role": "System Manager",
|
||||||
},
|
"cancel": 1,
|
||||||
|
"permlevel": 0
|
||||||
# DocPerm
|
},
|
||||||
{
|
{
|
||||||
'amend': 0,
|
"amend": 0,
|
||||||
'cancel': 1,
|
"create": 1,
|
||||||
'create': 1,
|
"doctype": "DocPerm",
|
||||||
'doctype': u'DocPerm',
|
"submit": 0,
|
||||||
'permlevel': 0,
|
"write": 1,
|
||||||
'role': u'Accounts Manager',
|
"role": "Sales Master Manager",
|
||||||
'submit': 0,
|
"cancel": 1,
|
||||||
'write': 1
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocPerm
|
"search_index": 0,
|
||||||
{
|
"doctype": "DocField",
|
||||||
'cancel': 1,
|
"label": "Title",
|
||||||
'create': 1,
|
"oldfieldname": "title",
|
||||||
'doctype': u'DocPerm',
|
"fieldname": "title",
|
||||||
'permlevel': 0,
|
"fieldtype": "Data",
|
||||||
'role': u'System Manager',
|
"oldfieldtype": "Data",
|
||||||
'write': 1
|
"reqd": 1,
|
||||||
},
|
"in_filter": 1
|
||||||
|
},
|
||||||
# DocPerm
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'amend': 0,
|
"fieldname": "is_default",
|
||||||
'cancel': 1,
|
"fieldtype": "Check",
|
||||||
'create': 1,
|
"label": "Default"
|
||||||
'doctype': u'DocPerm',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'role': u'Sales Master Manager',
|
"description": "* Will be calculated in the transaction.",
|
||||||
'submit': 0,
|
"oldfieldtype": "Table",
|
||||||
'write': 1
|
"colour": "White:FFF",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Sales Taxes and Charges Master",
|
||||||
# DocField
|
"oldfieldname": "other_charges",
|
||||||
{
|
"fieldname": "other_charges",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Table",
|
||||||
'fieldname': u'title',
|
"options": "Sales Taxes and Charges"
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'in_filter': 1,
|
{
|
||||||
'label': u'Title',
|
"search_index": 0,
|
||||||
'oldfieldname': u'title',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Data',
|
"label": "Company",
|
||||||
'reqd': 1,
|
"oldfieldname": "company",
|
||||||
'search_index': 0
|
"fieldname": "company",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Company",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'is_default',
|
}
|
||||||
'fieldtype': u'Check',
|
|
||||||
'label': u'Default'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'colour': u'White:FFF',
|
|
||||||
'description': u'* Will be calculated in the transaction.',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'other_charges',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Sales Taxes and Charges Master',
|
|
||||||
'oldfieldname': u'other_charges',
|
|
||||||
'oldfieldtype': u'Table',
|
|
||||||
'options': u'Sales Taxes and Charges'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'company',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'in_filter': 1,
|
|
||||||
'label': u'Company',
|
|
||||||
'oldfieldname': u'company',
|
|
||||||
'oldfieldtype': u'Link',
|
|
||||||
'options': u'Company',
|
|
||||||
'reqd': 1,
|
|
||||||
'search_index': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,32 +1,25 @@
|
|||||||
# DocType, Trend Analyzer Control
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "saumil@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:49',
|
"creation": "2012-03-27 14:35:49",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:49',
|
"modified": "2012-03-27 14:35:49"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'saumil@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"in_create": 1,
|
||||||
# These values are common for all DocType
|
"module": "Accounts",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocType",
|
||||||
'doctype': 'DocType',
|
"issingle": 1,
|
||||||
'in_create': 1,
|
"read_only": 1,
|
||||||
'issingle': 1,
|
"name": "__common__",
|
||||||
'module': u'Accounts',
|
"colour": "White:FFF",
|
||||||
'name': '__common__',
|
"version": 11
|
||||||
'read_only': 1,
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'server_code_error': u' ',
|
"name": "Trend Analyzer Control",
|
||||||
'version': 11
|
"doctype": "DocType"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
# DocType, Trend Analyzer Control
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'Trend Analyzer Control'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,49 +1,36 @@
|
|||||||
# Page, Accounts Browser
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-06-14 15:07:28',
|
"creation": "2012-06-14 15:07:28",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 16:57:27',
|
"modified": "2012-10-04 16:57:27"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Page
|
"show_in_menu": 0,
|
||||||
{
|
"page_name": "Accounts Browser",
|
||||||
u'doctype': u'Page',
|
"doctype": "Page",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'Accounts Browser',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'standard': u'Yes'
|
"parent": "Accounts Browser",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Accounts Browser",
|
||||||
'parent': u'Accounts Browser',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, Accounts Browser
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Accounts Manager",
|
||||||
u'name': u'Accounts Browser'
|
"doctype": "Page Role"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts Manager'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
# Page, accounts-home
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-06-14 15:07:28',
|
"creation": "2012-06-14 15:07:28",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-05 16:30:46',
|
"modified": "2012-10-05 16:30:46"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Accounts Home",
|
||||||
# These values are common for all Page
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "accounts-home",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'accounts-home',
|
{
|
||||||
'standard': u'Yes',
|
"name": "accounts-home",
|
||||||
'title': u'Accounts Home'
|
"doctype": "Page"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page, accounts-home
|
|
||||||
{
|
|
||||||
u'doctype': u'Page',
|
|
||||||
u'name': u'accounts-home'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,55 +1,40 @@
|
|||||||
# Page, financial-analytics
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-09-18 11:05:48',
|
"creation": "2012-09-18 11:05:48",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:02:43',
|
"modified": "2012-10-04 17:02:43"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Financial Analytics",
|
||||||
# These values are common for all Page
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "financial-analytics",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'financial-analytics',
|
{
|
||||||
'standard': u'Yes',
|
"name": "__common__",
|
||||||
'title': u'Financial Analytics'
|
"parent": "financial-analytics",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "financial-analytics",
|
||||||
'parent': u'financial-analytics',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Analytics",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, financial-analytics
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Accounts Manager",
|
||||||
u'name': u'financial-analytics'
|
"doctype": "Page Role"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Page Role
|
"role": "Accounts User",
|
||||||
{
|
"doctype": "Page Role"
|
||||||
u'doctype': u'Page Role',
|
}
|
||||||
'role': u'Analytics'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts Manager'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,49 +1,36 @@
|
|||||||
# Page, Financial Statements
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-06-14 15:07:28',
|
"creation": "2012-06-14 15:07:28",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:04:05',
|
"modified": "2012-10-04 17:04:05"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Page
|
"show_in_menu": 0,
|
||||||
{
|
"page_name": "Financial Statements",
|
||||||
u'doctype': u'Page',
|
"doctype": "Page",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'Financial Statements',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'standard': u'Yes'
|
"parent": "Financial Statements",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Financial Statements",
|
||||||
'parent': u'Financial Statements',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Accounts User",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, Financial Statements
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Accounts Manager",
|
||||||
u'name': u'Financial Statements'
|
"doctype": "Page Role"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts Manager'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,55 +1,40 @@
|
|||||||
# Page, general-ledger
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-09-14 11:25:48',
|
"creation": "2012-09-14 11:25:48",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:00:09',
|
"modified": "2012-10-04 17:00:09"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "General Ledger",
|
||||||
# These values are common for all Page
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "general-ledger",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'general-ledger',
|
{
|
||||||
'standard': u'Yes',
|
"name": "__common__",
|
||||||
'title': u'General Ledger'
|
"parent": "general-ledger",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "general-ledger",
|
||||||
'parent': u'general-ledger',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Analytics",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, general-ledger
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Accounts Manager",
|
||||||
u'name': u'general-ledger'
|
"doctype": "Page Role"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Page Role
|
"role": "Accounts User",
|
||||||
{
|
"doctype": "Page Role"
|
||||||
u'doctype': u'Page Role',
|
}
|
||||||
'role': u'Analytics'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts Manager'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,55 +1,40 @@
|
|||||||
# Page, trial-balance
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-09-18 11:05:48',
|
"creation": "2012-09-18 11:05:48",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:01:47',
|
"modified": "2012-10-04 17:01:47"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Trial Balance",
|
||||||
# These values are common for all Page
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "trial-balance",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'trial-balance',
|
{
|
||||||
'standard': u'Yes',
|
"name": "__common__",
|
||||||
'title': u'Trial Balance'
|
"parent": "trial-balance",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "trial-balance",
|
||||||
'parent': u'trial-balance',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Analytics",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, trial-balance
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Accounts Manager",
|
||||||
u'name': u'trial-balance'
|
"doctype": "Page Role"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Page Role
|
"role": "Accounts User",
|
||||||
{
|
"doctype": "Page Role"
|
||||||
u'doctype': u'Page Role',
|
}
|
||||||
'role': u'Analytics'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts Manager'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Accounts User'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,43 +1,32 @@
|
|||||||
# Page, voucher-import-tool
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-10-02 18:51:49',
|
"creation": "2012-10-02 18:51:49",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:04:18',
|
"modified": "2012-10-04 17:04:18"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Voucher Import Tool",
|
||||||
# These values are common for all Page
|
"module": "Accounts",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "voucher-import-tool",
|
||||||
'module': u'Accounts',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'voucher-import-tool',
|
{
|
||||||
'standard': u'Yes',
|
"parent": "voucher-import-tool",
|
||||||
'title': u'Voucher Import Tool'
|
"name": "__common__",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"role": "Accounts Manager",
|
||||||
{
|
"parentfield": "roles"
|
||||||
u'doctype': u'Page Role',
|
},
|
||||||
u'name': u'__common__',
|
{
|
||||||
'parent': u'voucher-import-tool',
|
"name": "voucher-import-tool",
|
||||||
'parentfield': u'roles',
|
"doctype": "Page"
|
||||||
'parenttype': u'Page',
|
},
|
||||||
'role': u'Accounts Manager'
|
{
|
||||||
},
|
"doctype": "Page Role"
|
||||||
|
}
|
||||||
# Page, voucher-import-tool
|
|
||||||
{
|
|
||||||
u'doctype': u'Page',
|
|
||||||
u'name': u'voucher-import-tool'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, accounts_payable
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-05-14 18:05:41',
|
"creation": "2012-05-14 18:05:41",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-17 10:51:41',
|
"modified": "2012-10-17 10:51:41"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{\"GL Entry\\u0001Voucher Type\":[\"\"],\"GL Entry\\u0001Is Cancelled\":[\"\"],\"GL Entry\\u0001Is Opening\":[\"\"],\"GL Entry\\u0001Fiscal Year\":[\"\"],\"Purchase Invoice\\u0001Aging Based On\":[\"Aging Date\"],\"GL Entry\\u0001Range 1\":\"30\",\"GL Entry\\u0001Range 2\":\"45\",\"GL Entry\\u0001Range 3\":\"60\",\"GL Entry\\u0001Range 4\":\"90\"}",
|
||||||
'columns': u'GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Accounts Payable',
|
"doc_type": "GL Entry",
|
||||||
'doc_type': u'GL Entry',
|
"name": "__common__",
|
||||||
u'doctype': u'Search Criteria',
|
"sort_by": "`tabGL Entry`.`name`",
|
||||||
'filters': u'{"GL Entry\\u0001Voucher Type":[""],"GL Entry\\u0001Is Cancelled":[""],"GL Entry\\u0001Is Opening":[""],"GL Entry\\u0001Fiscal Year":[""],"Purchase Invoice\\u0001Aging Based On":["Aging Date"],"GL Entry\\u0001Range 1":"30","GL Entry\\u0001Range 2":"45","GL Entry\\u0001Range 3":"60","GL Entry\\u0001Range 4":"90"}',
|
"page_len": 50,
|
||||||
'module': u'Accounts',
|
"criteria_name": "Accounts Payable",
|
||||||
u'name': u'__common__',
|
"columns": "GL Entry\u0001Posting Date,GL Entry\u0001Account,GL Entry\u0001Against Voucher,GL Entry\u0001Voucher No"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabGL Entry`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "accounts_payable",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, accounts_payable
|
|
||||||
{
|
|
||||||
u'doctype': u'Search Criteria',
|
|
||||||
u'name': u'accounts_payable'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,32 +1,25 @@
|
|||||||
# Search Criteria, accounts_receivable
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "ASC",
|
||||||
{
|
"filters": "{'GL Entry\u0001Is Cancelled':'No','GL Entry\u0001Fiscal Year':'','GL Entry\u0001Company':'','GL Entry\u0001Range 1':'30','GL Entry\u0001Range 2':'45','GL Entry\u0001Range 3':'60','GL Entry\u0001Range 4':'90'}",
|
||||||
'columns': u'GL Entry\x01Posting Date,GL Entry\x01Transaction Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Accounts Receivable',
|
"doc_type": "GL Entry",
|
||||||
'doc_type': u'GL Entry',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabGL Entry`.`name`",
|
||||||
'filters': u"{'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'}",
|
"criteria_name": "Accounts Receivable",
|
||||||
'module': u'Accounts',
|
"columns": "GL Entry\u0001Posting Date,GL Entry\u0001Transaction Date,GL Entry\u0001Account,GL Entry\u0001Against Voucher,GL Entry\u0001Voucher No"
|
||||||
'name': '__common__',
|
},
|
||||||
'sort_by': u'`tabGL Entry`.`name`',
|
{
|
||||||
'sort_order': u'ASC',
|
"name": "accounts_receivable",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, accounts_receivable
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'accounts_receivable'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,36 +1,29 @@
|
|||||||
# Search Criteria, bank_clearance_report
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"description": "Bank Clearance report",
|
||||||
|
"parent_doc_type": "Journal Voucher",
|
||||||
# These values are common for all Search Criteria
|
"module": "Accounts",
|
||||||
{
|
"standard": "Yes",
|
||||||
'columns': u'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',
|
"sort_order": "DESC",
|
||||||
'criteria_name': u'Bank Clearance report',
|
"filters": "{'Journal Voucher\u0001Submitted':1,'Journal Voucher\u0001Voucher Type':'','Journal Voucher\u0001Is Opening':'','Journal Voucher\u0001Fiscal Year':'','Journal Voucher\u0001Company':'','Journal Voucher\u0001TDS Applicable':'','Journal Voucher\u0001TDS Category':''}",
|
||||||
'description': u'Bank Clearance report',
|
"dis_filters": "fiscal_year",
|
||||||
'dis_filters': u'fiscal_year',
|
"doc_type": "Journal Voucher Detail",
|
||||||
'doc_type': u'Journal Voucher Detail',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'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':''}",
|
"sort_by": "ID",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Bank Clearance report",
|
||||||
'page_len': 50,
|
"columns": "Journal Voucher\u0001ID,Journal Voucher Detail\u0001Account,Journal Voucher Detail\u0001Debit,Journal Voucher Detail\u0001Credit,Journal Voucher\u0001Clearance Date,Journal Voucher\u0001Cheque No,Journal Voucher\u0001Cheque Date,Journal Voucher\u0001Voucher Date,Journal Voucher\u0001Posting Date,Journal Voucher Detail\u0001Against Payable,Journal Voucher Detail\u0001Against Receivable"
|
||||||
'parent_doc_type': u'Journal Voucher',
|
},
|
||||||
'sort_by': u'ID',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "bank_clearance_report",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, bank_clearance_report
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'bank_clearance_report'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,36 +1,29 @@
|
|||||||
# Search Criteria, bank_reconciliation_statement
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"parent_doc_type": "Journal Voucher",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'add_cond': u"(`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')",
|
"filters": "{'Journal Voucher\u0001Submitted':1,'Journal Voucher\u0001Voucher Type':'','Journal Voucher\u0001Is Opening':'','Journal Voucher\u0001Company':'','Journal Voucher\u0001TDS Applicable':'','Journal Voucher\u0001TDS Category':''}",
|
||||||
'columns': u'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',
|
"dis_filters": "clearance_date\nfiscal_year",
|
||||||
'criteria_name': u'Bank Reconciliation Statement',
|
"doc_type": "Journal Voucher Detail",
|
||||||
'dis_filters': u'clearance_date\nfiscal_year',
|
"name": "__common__",
|
||||||
'doc_type': u'Journal Voucher Detail',
|
"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')",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Journal Voucher\x01Submitted':1,'Journal Voucher\x01Voucher Type':'','Journal Voucher\x01Is Opening':'','Journal Voucher\x01Company':'','Journal Voucher\x01TDS Applicable':'','Journal Voucher\x01TDS Category':''}",
|
"sort_by": "`tabJournal Voucher`.`name`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Bank Reconciliation Statement",
|
||||||
'page_len': 50,
|
"columns": "Journal Voucher\u0001ID,Journal Voucher\u0001Posting Date,Journal Voucher\u0001Cheque No,Journal Voucher\u0001Cheque Date,Journal Voucher\u0001Clearance Date,Journal Voucher Detail\u0001Account,Journal Voucher Detail\u0001Debit,Journal Voucher Detail\u0001Credit,Journal Voucher Detail\u0001Against Account"
|
||||||
'parent_doc_type': u'Journal Voucher',
|
},
|
||||||
'sort_by': u'`tabJournal Voucher`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "bank_reconciliation_statement",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, bank_reconciliation_statement
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'bank_reconciliation_statement'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, budget_variance_report
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "harshada@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'harshada@webnotestech.com'
|
{
|
||||||
},
|
"parent_doc_type": "Cost Center",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"doctype": "Search Criteria",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'criteria_name': u'Budget Variance Report',
|
"filters": "{'Budget Detail\u0001Fiscal Year':''}",
|
||||||
'doc_type': u'Budget Detail',
|
"standard": "Yes",
|
||||||
'doctype': 'Search Criteria',
|
"doc_type": "Budget Detail",
|
||||||
'filters': u"{'Budget Detail\x01Fiscal Year':''}",
|
"name": "__common__",
|
||||||
'module': u'Accounts',
|
"sort_by": "`tabCost Center`.`lft`",
|
||||||
'name': '__common__',
|
"page_len": 50,
|
||||||
'page_len': 50,
|
"criteria_name": "Budget Variance Report"
|
||||||
'parent_doc_type': u'Cost Center',
|
},
|
||||||
'sort_by': u'`tabCost Center`.`lft`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "budget_variance_report",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, budget_variance_report
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'budget_variance_report'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,36 +1,29 @@
|
|||||||
# Search Criteria, business_associate_commission_report
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "saumil@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'saumil@webnotestech.com'
|
{
|
||||||
},
|
"add_col": "SUM(`tabSales Invoice`.`total_commission`) AS 'Total Commission'\nSUM(`tabSales Invoice`.`net_total`) AS 'Net Total'\n((SUM(`tabSales Invoice`.`total_commission`) / SUM(`tabSales Invoice`.`net_total`)) * 100) AS 'Average Commission Rate'",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'add_col': u"SUM(`tabSales Invoice`.`total_commission`) AS 'Total Commission'\nSUM(`tabSales Invoice`.`net_total`) AS 'Net Total'\n((SUM(`tabSales Invoice`.`total_commission`) / SUM(`tabSales Invoice`.`net_total`)) * 100) AS 'Average Commission Rate'",
|
"filters": "{'Sales Invoice\u0001Submitted':1}",
|
||||||
'add_cond': u'`tabSales Invoice`.`net_total` > 0\n`tabSales Invoice`.`total_commission` > 0',
|
"description": "Track total commission given to your Business Associate",
|
||||||
'columns': u'Sales Invoice\x01Business Associate',
|
"doc_type": "Sales Invoice",
|
||||||
'criteria_name': u'Business Associate Commission Report',
|
"name": "__common__",
|
||||||
'description': u'Track total commission given to your Business Associate',
|
"add_cond": "`tabSales Invoice`.`net_total` > 0\n`tabSales Invoice`.`total_commission` > 0",
|
||||||
'doc_type': u'Sales Invoice',
|
"doctype": "Search Criteria",
|
||||||
'doctype': 'Search Criteria',
|
"group_by": "`tabSales Invoice`.sales_partner",
|
||||||
'filters': u"{'Sales Invoice\x01Submitted':1}",
|
"page_len": 50,
|
||||||
'group_by': u'`tabSales Invoice`.sales_partner',
|
"criteria_name": "Business Associate Commission Report",
|
||||||
'module': u'Accounts',
|
"columns": "Sales Invoice\u0001Business Associate"
|
||||||
'name': '__common__',
|
},
|
||||||
'page_len': 50,
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "business_associate_commission_report",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, business_associate_commission_report
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'business_associate_commission_report'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, collection_report
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"parent_doc_type": "Journal Voucher",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"doctype": "Search Criteria",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'columns': u'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',
|
"filters": "{'Journal Voucher\u0001Saved':1,'Journal Voucher\u0001Submitted':1,'Journal Voucher\u0001Voucher Type':'','Journal Voucher\u0001Is Opening':'','Journal Voucher\u0001Company':'','Journal Voucher\u0001TDS Applicable':'','Journal Voucher\u0001TDS Category':'','GL Entry\u0001Range 1':'30','GL Entry\u0001Range 2':'45','GL Entry\u0001Range 3':'60','GL Entry\u0001Range 4':'90'}",
|
||||||
'criteria_name': u'Collection Report',
|
"standard": "Yes",
|
||||||
'doc_type': u'Journal Voucher Detail',
|
"doc_type": "Journal Voucher Detail",
|
||||||
'doctype': 'Search Criteria',
|
"name": "__common__",
|
||||||
'filters': u"{'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'}",
|
"sort_by": "`tabJournal Voucher`.`name`",
|
||||||
'module': u'Accounts',
|
"criteria_name": "Collection Report",
|
||||||
'name': '__common__',
|
"columns": "Journal Voucher\u0001ID,Journal Voucher\u0001Posting Date,Journal Voucher\u0001Company,Journal Voucher\u0001Cheque No,Journal Voucher\u0001Cheque Date,Journal Voucher Detail\u0001Account,Journal Voucher Detail\u0001Credit,Journal Voucher Detail\u0001Against Receivable,Journal Voucher Detail\u0001Is Advance"
|
||||||
'parent_doc_type': u'Journal Voucher',
|
},
|
||||||
'sort_by': u'`tabJournal Voucher`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "collection_report",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, collection_report
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'collection_report'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, cost_center_wise_expense
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "swarnalata@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:50',
|
"creation": "2012-04-03 12:49:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'swarnalata@webnotestech.com'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{'GL Entry\u0001Voucher Type':'','GL Entry\u0001Is Cancelled':'','GL Entry\u0001Fiscal Year':'','GL Entry\u0001Company':''}",
|
||||||
'criteria_name': u'Cost Center wise Expense',
|
"doctype": "Search Criteria",
|
||||||
'dis_filters': u'fiscal_year',
|
"dis_filters": "fiscal_year",
|
||||||
'doc_type': u'GL Entry',
|
"doc_type": "GL Entry",
|
||||||
'doctype': 'Search Criteria',
|
"name": "__common__",
|
||||||
'filters': u"{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
|
"sort_by": "`tabGL Entry`.`name`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Cost Center wise Expense"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabGL Entry`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "cost_center_wise_expense",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, cost_center_wise_expense
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'cost_center_wise_expense'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,32 +1,25 @@
|
|||||||
# Search Criteria, general_ledger
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"sort_order": "DESC",
|
||||||
# These values are common for all Search Criteria
|
"filters": "{'GL Entry\u0001From Posting Date\u0001lower':'','GL Entry\u0001To Posting Date\u0001upper':'','GL Entry\u0001Voucher Type':'','GL Entry\u0001Is Cancelled':'No','GL Entry\u0001Is Opening':'','GL Entry\u0001Fiscal Year':'','GL Entry\u0001Company':''}",
|
||||||
{
|
"standard": "Yes",
|
||||||
'criteria_name': u'General Ledger',
|
"doc_type": "GL Entry",
|
||||||
'doc_type': u'GL Entry',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'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':''}",
|
"sort_by": "`tabGL Entry`.`name`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "General Ledger"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabGL Entry`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "general_ledger",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, general_ledger
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'general_ledger'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,34 +1,27 @@
|
|||||||
# Search Criteria, invoices-overdue
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{'Sales Invoice\u0001Saved':1,'Sales Invoice\u0001Submitted':1,'Sales Invoice\u0001Is Opening':'','Sales Invoice\u0001Fiscal Year':''}",
|
||||||
'add_cond': u'`tabSales Invoice`.due_date<now()\n`tabSales Invoice`.outstanding_amount!=0\n`tabSales Invoice`.docstatus=1',
|
"doc_type": "Sales Invoice",
|
||||||
'columns': u'Sales Invoice\x01ID,Sales Invoice\x01Debit To,Sales Invoice\x01Voucher Date,Sales Invoice\x01Due Date,Sales Invoice\x01Outstanding Amount',
|
"name": "__common__",
|
||||||
'criteria_name': u'Invoices-Overdue',
|
"add_cond": "`tabSales Invoice`.due_date<now()\n`tabSales Invoice`.outstanding_amount!=0\n`tabSales Invoice`.docstatus=1",
|
||||||
'doc_type': u'Sales Invoice',
|
"doctype": "Search Criteria",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabSales Invoice`.`name`",
|
||||||
'filters': u"{'Sales Invoice\x01Saved':1,'Sales Invoice\x01Submitted':1,'Sales Invoice\x01Is Opening':'','Sales Invoice\x01Fiscal Year':''}",
|
"page_len": 50,
|
||||||
'module': u'Accounts',
|
"criteria_name": "Invoices-Overdue",
|
||||||
'name': '__common__',
|
"columns": "Sales Invoice\u0001ID,Sales Invoice\u0001Debit To,Sales Invoice\u0001Voucher Date,Sales Invoice\u0001Due Date,Sales Invoice\u0001Outstanding Amount"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabSales Invoice`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "invoices-overdue",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
# Search Criteria, invoices-overdue
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'invoices-overdue'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,36 +1,29 @@
|
|||||||
# Search Criteria, itemwise_purchase_register
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"description": "Itemwise Purchase Register",
|
||||||
|
"parent_doc_type": "Purchase Invoice",
|
||||||
# These values are common for all Search Criteria
|
"module": "Accounts",
|
||||||
{
|
"standard": "Yes",
|
||||||
'columns': u'Purchase Invoice\x01ID,Purchase Invoice\x01Credit To,Purchase Invoice\x01Company,Purchase Invoice Item\x01Item,Purchase Invoice Item\x01Item Name,Purchase Invoice Item\x01Expense Head,Purchase Invoice Item\x01Cost Center,Purchase Invoice Item\x01Qty,Purchase Invoice Item\x01Rate (Default Curr.),Purchase Invoice Item\x01Amount (Default Curr.)',
|
"sort_order": "DESC",
|
||||||
'criteria_name': u'Itemwise Purchase Register',
|
"filters": "{'Purchase Invoice\u0001Submitted':1,'Purchase Invoice\u0001Is Opening':'No','Purchase Invoice\u0001Company':'','Purchase Invoice\u0001Fiscal Year':''}",
|
||||||
'description': u'Itemwise Purchase Register',
|
"dis_filters": "fiscal_year",
|
||||||
'dis_filters': u'fiscal_year',
|
"doc_type": "Purchase Invoice Item",
|
||||||
'doc_type': u'Purchase Invoice Item',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Purchase Invoice\x01Submitted':1,'Purchase Invoice\x01Is Opening':'No','Purchase Invoice\x01Company':'','Purchase Invoice\x01Fiscal Year':''}",
|
"sort_by": "`tabPurchase Invoice`.`name`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Itemwise Purchase Register",
|
||||||
'page_len': 50,
|
"columns": "Purchase Invoice\u0001ID,Purchase Invoice\u0001Credit To,Purchase Invoice\u0001Company,Purchase Invoice Item\u0001Item,Purchase Invoice Item\u0001Item Name,Purchase Invoice Item\u0001Expense Head,Purchase Invoice Item\u0001Cost Center,Purchase Invoice Item\u0001Qty,Purchase Invoice Item\u0001Rate (Default Curr.),Purchase Invoice Item\u0001Amount (Default Curr.)"
|
||||||
'parent_doc_type': u'Purchase Invoice',
|
},
|
||||||
'sort_by': u'`tabPurchase Invoice`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "itemwise_purchase_register",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, itemwise_purchase_register
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'itemwise_purchase_register'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,34 +1,27 @@
|
|||||||
# Search Criteria, itemwise_sales_register
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"parent_doc_type": "Sales Invoice",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'columns': u'Sales Invoice Item\x01Item,Sales Invoice Item\x01Item Name,Sales Invoice Item\x01Item Group,Sales Invoice\x01ID,Sales Invoice\x01Voucher Date,Sales Invoice\x01Posting Date,Sales Invoice\x01Debit To,Sales Invoice Item\x01Cost Center,Sales Invoice\x01Territory,Sales Invoice Item\x01Income Account,Sales Invoice Item\x01Qty,Sales Invoice Item\x01Basic Rate*,Sales Invoice Item\x01Amount*',
|
"filters": "{'Sales Invoice\u0001Submitted':1,'Sales Invoice\u0001From Posting Date\u0001lower':'','Sales Invoice\u0001To Posting Date\u0001upper':'','Sales Invoice\u0001Is Opening':'','Sales Invoice\u0001Company':'','Sales Invoice\u0001Fiscal Year':''}",
|
||||||
'criteria_name': u'Itemwise Sales Register',
|
"doc_type": "Sales Invoice Item",
|
||||||
'doc_type': u'Sales Invoice Item',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Sales Invoice\x01Submitted':1,'Sales Invoice\x01From Posting Date\x01lower':'','Sales Invoice\x01To Posting Date\x01upper':'','Sales Invoice\x01Is Opening':'','Sales Invoice\x01Company':'','Sales Invoice\x01Fiscal Year':''}",
|
"sort_by": "`tabSales Invoice Item`.`income_account`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Itemwise Sales Register",
|
||||||
'page_len': 50,
|
"columns": "Sales Invoice Item\u0001Item,Sales Invoice Item\u0001Item Name,Sales Invoice Item\u0001Item Group,Sales Invoice\u0001ID,Sales Invoice\u0001Voucher Date,Sales Invoice\u0001Posting Date,Sales Invoice\u0001Debit To,Sales Invoice Item\u0001Cost Center,Sales Invoice\u0001Territory,Sales Invoice Item\u0001Income Account,Sales Invoice Item\u0001Qty,Sales Invoice Item\u0001Basic Rate*,Sales Invoice Item\u0001Amount*"
|
||||||
'parent_doc_type': u'Sales Invoice',
|
},
|
||||||
'sort_by': u'`tabSales Invoice Item`.`income_account`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "itemwise_sales_register",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, itemwise_sales_register
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'itemwise_sales_register'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,32 +1,25 @@
|
|||||||
# Search Criteria, monthly_transaction_summary
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{'DocType\u0001Period':'Monthly'}",
|
||||||
'columns': u'Profile\x01ID',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Monthly Transaction Summary',
|
"doc_type": "Profile",
|
||||||
'doc_type': u'Profile',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabProfile`.`name`",
|
||||||
'filters': u"{'DocType\x01Period':'Monthly'}",
|
"criteria_name": "Monthly Transaction Summary",
|
||||||
'module': u'Accounts',
|
"columns": "Profile\u0001ID"
|
||||||
'name': '__common__',
|
},
|
||||||
'sort_by': u'`tabProfile`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "monthly_transaction_summary",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
# Search Criteria, monthly_transaction_summary
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'monthly_transaction_summary'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, payment_receipt_report
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "jai@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'jai@webnotestech.com'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{'GL Entry\u0001Voucher Type':'','GL Entry\u0001Is Cancelled':'','GL Entry\u0001Is Opening':'','GL Entry\u0001Fiscal Year':''}",
|
||||||
'columns': u'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',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Payment Receipt Report',
|
"doc_type": "GL Entry",
|
||||||
'doc_type': u'GL Entry',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabGL Entry`.`name`",
|
||||||
'filters': u"{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
|
"page_len": 50,
|
||||||
'module': u'Accounts',
|
"criteria_name": "Payment Receipt Report",
|
||||||
'name': '__common__',
|
"columns": "GL Entry\u0001ID,GL Entry\u0001Owner,GL Entry\u0001Posting Date,GL Entry\u0001Account,GL Entry\u0001Cost Center,GL Entry\u0001Against Voucher,GL Entry\u0001Voucher Type,GL Entry\u0001Voucher No,GL Entry\u0001Remarks,GL Entry\u0001Is Cancelled,GL Entry\u0001Is Opening,GL Entry\u0001Fiscal Year,GL Entry\u0001Company"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabGL Entry`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "payment_receipt_report",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, payment_receipt_report
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'payment_receipt_report'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,31 +1,24 @@
|
|||||||
# Search Criteria, purchase_register
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:52',
|
"creation": "2012-04-03 12:49:52",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:52',
|
"modified": "2012-04-03 12:49:52"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"doc_type": "Purchase Invoice",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all Search Criteria
|
"add_cond": "`tabPurchase Invoice`.is_opening != 'Yes'\n`tabPurchase Invoice`.name not like 'OP/%'",
|
||||||
{
|
"module": "Accounts",
|
||||||
'add_cond': u"`tabPurchase Invoice`.is_opening != 'Yes'\n`tabPurchase Invoice`.name not like 'OP/%'",
|
"standard": "Yes",
|
||||||
'columns': u'Purchase Invoice\x01ID,Purchase Invoice\x01Voucher Date,Purchase Invoice\x01Posting Date,Purchase Invoice\x01Credit To,Purchase Invoice\x01Expense Head',
|
"filters": "{'Purchase Invoice\u0001Submitted':1}",
|
||||||
'criteria_name': u'Purchase Register',
|
"doctype": "Search Criteria",
|
||||||
'doc_type': u'Purchase Invoice',
|
"criteria_name": "Purchase Register",
|
||||||
'doctype': 'Search Criteria',
|
"columns": "Purchase Invoice\u0001ID,Purchase Invoice\u0001Voucher Date,Purchase Invoice\u0001Posting Date,Purchase Invoice\u0001Credit To,Purchase Invoice\u0001Expense Head"
|
||||||
'filters': u"{'Purchase Invoice\x01Submitted':1}",
|
},
|
||||||
'module': u'Accounts',
|
{
|
||||||
'name': '__common__',
|
"name": "purchase_register",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, purchase_register
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'purchase_register'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,37 +1,30 @@
|
|||||||
# Search Criteria, sales_register
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 17:36:48',
|
"creation": "2012-04-11 17:36:48",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-18 17:41:46',
|
"modified": "2012-04-18 17:41:46"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"add_col": "`tabAccount`.`parent_account` AS 'Parent Account'\n`tabCustomer`.`territory` AS 'Territory'\n`tabCustomer`.`customer_details` AS 'Customer Details'",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'add_col': u"`tabAccount`.`parent_account` AS 'Parent Account'\n`tabCustomer`.`territory` AS 'Territory'\n`tabCustomer`.`customer_details` AS 'Customer Details'",
|
"add_tab": "`tabAccount`\n`tabCustomer`",
|
||||||
'add_cond': u"ifnull(`tabSales Invoice`.`is_opening`, 'No') = 'No'\n`tabAccount`.name =`tabSales Invoice`.debit_to\n`tabCustomer`.`name` = `tabAccount`.`master_name`",
|
"dis_filters": "fiscal_year",
|
||||||
'add_tab': u'`tabAccount`\n`tabCustomer`',
|
"doc_type": "Sales Invoice",
|
||||||
'columns': u'Sales Invoice\x01ID,Sales Invoice\x01Posting Date,Sales Invoice\x01Debit To',
|
"name": "__common__",
|
||||||
'criteria_name': u'Sales Register',
|
"filters": "{'Sales Invoice\u0001Submitted':1,'Sales Invoice\u0001Is Opening':''}",
|
||||||
'dis_filters': u'fiscal_year',
|
"add_cond": "ifnull(`tabSales Invoice`.`is_opening`, 'No') = 'No'\n`tabAccount`.name =`tabSales Invoice`.debit_to\n`tabCustomer`.`name` = `tabAccount`.`master_name`",
|
||||||
'doc_type': u'Sales Invoice',
|
"doctype": "Search Criteria",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`Parent Account`",
|
||||||
'filters': u"{'Sales Invoice\x01Submitted':1,'Sales Invoice\x01Is Opening':''}",
|
"page_len": 50,
|
||||||
'module': u'Accounts',
|
"criteria_name": "Sales Register",
|
||||||
'name': '__common__',
|
"columns": "Sales Invoice\u0001ID,Sales Invoice\u0001Posting Date,Sales Invoice\u0001Debit To"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`Parent Account`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "sales_register",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, sales_register
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'sales_register'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,33 +1,26 @@
|
|||||||
# Search Criteria, trend_analyzer
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "saumil@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-23 12:46:00',
|
"creation": "2012-04-23 12:46:00",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-05-04 12:49:43',
|
"modified": "2012-05-04 12:49:43"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'saumil@webnotestech.com'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{}",
|
||||||
'columns': u'Profile\x01ID,Profile\x01Owner',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Trend Analyzer',
|
"doc_type": "Profile",
|
||||||
'doc_type': u'Profile',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabProfile`.`name`",
|
||||||
'filters': u'{}',
|
"page_len": 50,
|
||||||
'module': u'Accounts',
|
"criteria_name": "Trend Analyzer",
|
||||||
'name': '__common__',
|
"columns": "Profile\u0001ID,Profile\u0001Owner"
|
||||||
'page_len': 50,
|
},
|
||||||
'sort_by': u'`tabProfile`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "trend_analyzer",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, trend_analyzer
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'trend_analyzer'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,34 +1,27 @@
|
|||||||
# Search Criteria, voucher_wise_tax_details
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:53',
|
"creation": "2012-04-03 12:49:53",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:53',
|
"modified": "2012-04-03 12:49:53"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"parent_doc_type": "Delivery Note",
|
||||||
|
"module": "Accounts",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'columns': u'Sales Taxes and Charges\x01Type,Sales Taxes and Charges\x01Account Head,Sales Taxes and Charges\x01Cost Center,Sales Taxes and Charges\x01Description,Sales Taxes and Charges\x01Rate,Sales Taxes and Charges\x01Amount*,Sales Taxes and Charges\x01Total*',
|
"filters": "{'Delivery Note\u0001Submitted':1,'Delivery Note\u0001Status':'','Delivery Note\u0001Fiscal Year':''}",
|
||||||
'criteria_name': u'Voucher wise tax details',
|
"doc_type": "Sales Taxes and Charges",
|
||||||
'doc_type': u'Sales Taxes and Charges',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Delivery Note\x01Submitted':1,'Delivery Note\x01Status':'','Delivery Note\x01Fiscal Year':''}",
|
"sort_by": "`tabSales Taxes and Charges`.`parent`",
|
||||||
'module': u'Accounts',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Voucher wise tax details",
|
||||||
'page_len': 50,
|
"columns": "Sales Taxes and Charges\u0001Type,Sales Taxes and Charges\u0001Account Head,Sales Taxes and Charges\u0001Cost Center,Sales Taxes and Charges\u0001Description,Sales Taxes and Charges\u0001Rate,Sales Taxes and Charges\u0001Amount*,Sales Taxes and Charges\u0001Total*"
|
||||||
'parent_doc_type': u'Delivery Note',
|
},
|
||||||
'sort_by': u'`tabSales Taxes and Charges`.`parent`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "voucher_wise_tax_details",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, voucher_wise_tax_details
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'voucher_wise_tax_details'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,32 +1,25 @@
|
|||||||
# Search Criteria, yearly_transaction_summary
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:53',
|
"creation": "2012-04-03 12:49:53",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:53',
|
"modified": "2012-04-03 12:49:53"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"module": "Accounts",
|
||||||
|
"standard": "Yes",
|
||||||
# These values are common for all Search Criteria
|
"sort_order": "DESC",
|
||||||
{
|
"filters": "{'DocType\u0001Fiscal Year':'2009-2010','DocType\u0001Company':'Alpha Company','DocType\u0001Period':'Monthly'}",
|
||||||
'columns': u'Profile\x01ID',
|
"doctype": "Search Criteria",
|
||||||
'criteria_name': u'Yearly Transaction Summary',
|
"doc_type": "Profile",
|
||||||
'doc_type': u'Profile',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"sort_by": "`tabProfile`.`name`",
|
||||||
'filters': u"{'DocType\x01Fiscal Year':'2009-2010','DocType\x01Company':'Alpha Company','DocType\x01Period':'Monthly'}",
|
"criteria_name": "Yearly Transaction Summary",
|
||||||
'module': u'Accounts',
|
"columns": "Profile\u0001ID"
|
||||||
'name': '__common__',
|
},
|
||||||
'sort_by': u'`tabProfile`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "yearly_transaction_summary",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
# Search Criteria, yearly_transaction_summary
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'yearly_transaction_summary'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,160 +1,125 @@
|
|||||||
# DocType Mapper, Purchase Request-Purchase Order
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-08-08 17:09:34',
|
"creation": "2010-08-08 17:09:34",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-07-02 11:12:28',
|
"modified": "2012-07-02 11:12:28"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Purchase Request-Purchase Order",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Purchase Request-Purchase Order',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Purchase Request-Purchase Order",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Purchase Request-Purchase Order',
|
"to_doctype": "Purchase Order",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Buying",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Purchase Request"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Purchase Request-Purchase Order",
|
||||||
'from_doctype': u'Purchase Request',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Buying',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Purchase Order'
|
"match_id": 0,
|
||||||
},
|
"to_field": "company",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Purchase Request-Purchase Order
|
"from_field": "company",
|
||||||
{
|
"checking_operator": "="
|
||||||
'doctype': u'DocType Mapper',
|
},
|
||||||
'name': u'Purchase Request-Purchase Order'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "prevdoc_doctype",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'=',
|
"from_field": "parenttype"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'company',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 0,
|
"match_id": 1,
|
||||||
'to_field': u'company'
|
"to_field": "prevdoc_docname",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "parent"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'parenttype',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "prevdoc_detail_docname",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'prevdoc_doctype'
|
"from_field": "name"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "stock_uom",
|
||||||
'from_field': u'parent',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "uom"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'prevdoc_docname'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "conversion_factor",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "eval:flt(1)"
|
||||||
'from_field': u'name',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 1,
|
"map": "Yes",
|
||||||
'to_field': u'prevdoc_detail_docname'
|
"match_id": 1,
|
||||||
},
|
"to_field": "stock_qty",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'uom',
|
"map": "Yes",
|
||||||
'map': u'Yes',
|
"match_id": 1,
|
||||||
'match_id': 1,
|
"to_field": "qty",
|
||||||
'to_field': u'stock_uom'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
|
||||||
|
},
|
||||||
# Field Mapper Detail
|
{
|
||||||
{
|
"map": "Yes",
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 1,
|
||||||
'from_field': u'eval:flt(1)',
|
"to_field": "schedule_date",
|
||||||
'map': u'Yes',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 1,
|
"from_field": "schedule_date"
|
||||||
'to_field': u'conversion_factor'
|
},
|
||||||
},
|
{
|
||||||
|
"map": "No",
|
||||||
# Field Mapper Detail
|
"match_id": 0,
|
||||||
{
|
"to_field": "transaction_date",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Field Mapper Detail",
|
||||||
'from_field': u'eval:flt(obj.qty) - flt(obj.ordered_qty)',
|
"from_field": "transaction_date",
|
||||||
'map': u'Yes',
|
"checking_operator": ">="
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'stock_qty'
|
{
|
||||||
},
|
"reference_key": "prevdoc_docname",
|
||||||
|
"match_id": 0,
|
||||||
# Field Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"from_table": "Purchase Request",
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_table": "Purchase Order",
|
||||||
'from_field': u'eval:flt(obj.qty) - flt(obj.ordered_qty)',
|
"validation_logic": "docstatus = 1"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 1,
|
{
|
||||||
'to_field': u'qty'
|
"match_id": 1,
|
||||||
},
|
"reference_doctype_key": "prevdoc_doctype",
|
||||||
|
"to_field": "po_details",
|
||||||
# Field Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"from_field": "indent_details",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_table": "Purchase Request Item",
|
||||||
'from_field': u'schedule_date',
|
"to_table": "Purchase Order Item",
|
||||||
'map': u'Yes',
|
"validation_logic": "qty > ifnull(ordered_qty,0) and docstatus =1"
|
||||||
'match_id': 1,
|
}
|
||||||
'to_field': u'schedule_date'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Field Mapper Detail
|
|
||||||
{
|
|
||||||
'checking_operator': u'>=',
|
|
||||||
'doctype': u'Field Mapper Detail',
|
|
||||||
'from_field': u'transaction_date',
|
|
||||||
'map': u'No',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_field': u'transaction_date'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Purchase Request',
|
|
||||||
'match_id': 0,
|
|
||||||
'reference_key': u'prevdoc_docname',
|
|
||||||
'to_table': u'Purchase Order',
|
|
||||||
'validation_logic': u'docstatus = 1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'indent_details',
|
|
||||||
'from_table': u'Purchase Request Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'reference_doctype_key': u'prevdoc_doctype',
|
|
||||||
'to_field': u'po_details',
|
|
||||||
'to_table': u'Purchase Order Item',
|
|
||||||
'validation_logic': u'qty > ifnull(ordered_qty,0) and docstatus =1'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,115 +1,90 @@
|
|||||||
# DocType Mapper, Purchase Request-Supplier Quotation
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-08-02 18:36:26',
|
"creation": "2012-08-02 18:36:26",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-08-03 12:34:09',
|
"modified": "2012-08-03 12:34:09"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Purchase Request-Supplier Quotation",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Purchase Request-Supplier Quotation',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Purchase Request-Supplier Quotation",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Purchase Request-Supplier Quotation',
|
"to_doctype": "Supplier Quotation",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Buying",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Purchase Request"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Purchase Request-Supplier Quotation",
|
||||||
'from_doctype': u'Purchase Request',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Buying',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Supplier Quotation'
|
"match_id": 0,
|
||||||
},
|
"to_field": "company",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Purchase Request-Supplier Quotation
|
"from_field": "company",
|
||||||
{
|
"checking_operator": "="
|
||||||
'doctype': u'DocType Mapper',
|
},
|
||||||
'name': u'Purchase Request-Supplier Quotation'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"to_field": "prevdoc_doctype",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'=',
|
"from_field": "parenttype"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'company',
|
{
|
||||||
'map': u'Yes',
|
"map": "Yes",
|
||||||
'match_id': 0,
|
"match_id": 1,
|
||||||
'to_field': u'company'
|
"to_field": "prevdoc_docname",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"from_field": "parent"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'parenttype',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "prevdoc_detail_docname",
|
||||||
'match_id': 1,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'prevdoc_doctype'
|
"from_field": "name"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "No",
|
||||||
{
|
"match_id": 0,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "transaction_date",
|
||||||
'from_field': u'parent',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "transaction_date",
|
||||||
'match_id': 1,
|
"checking_operator": ">="
|
||||||
'to_field': u'prevdoc_docname'
|
},
|
||||||
},
|
{
|
||||||
|
"reference_key": "prevdoc_docname",
|
||||||
# Field Mapper Detail
|
"match_id": 0,
|
||||||
{
|
"doctype": "Table Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_table": "Purchase Request",
|
||||||
'from_field': u'name',
|
"to_table": "Supplier Quotation",
|
||||||
'map': u'Yes',
|
"validation_logic": "docstatus = 1"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'prevdoc_detail_docname'
|
{
|
||||||
},
|
"match_id": 1,
|
||||||
|
"reference_doctype_key": "prevdoc_doctype",
|
||||||
# Field Mapper Detail
|
"to_field": "quotation_items",
|
||||||
{
|
"doctype": "Table Mapper Detail",
|
||||||
'checking_operator': u'>=',
|
"from_field": "indent_details",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_table": "Purchase Request Item",
|
||||||
'from_field': u'transaction_date',
|
"to_table": "Supplier Quotation Item",
|
||||||
'map': u'No',
|
"validation_logic": "docstatus =1"
|
||||||
'match_id': 0,
|
}
|
||||||
'to_field': u'transaction_date'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Purchase Request',
|
|
||||||
'match_id': 0,
|
|
||||||
'reference_key': u'prevdoc_docname',
|
|
||||||
'to_table': u'Supplier Quotation',
|
|
||||||
'validation_logic': u'docstatus = 1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'indent_details',
|
|
||||||
'from_table': u'Purchase Request Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'reference_doctype_key': u'prevdoc_doctype',
|
|
||||||
'to_field': u'quotation_items',
|
|
||||||
'to_table': u'Supplier Quotation Item',
|
|
||||||
'validation_logic': u'docstatus =1'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,116 +1,91 @@
|
|||||||
# DocType Mapper, Sales Order-Purchase Request
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2011-05-20 10:07:55',
|
"creation": "2011-05-20 10:07:55",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Sales Order-Purchase Request",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"parentfield": "table_mapper_details"
|
||||||
'name': '__common__',
|
},
|
||||||
'parent': u'Sales Order-Purchase Request',
|
{
|
||||||
'parentfield': u'table_mapper_details',
|
"name": "__common__",
|
||||||
'parenttype': u'DocType Mapper'
|
"parent": "Sales Order-Purchase Request",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Sales Order-Purchase Request',
|
"to_doctype": "Purchase Request",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Buying",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Sales Order"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': 'DocType Mapper',
|
"name": "Sales Order-Purchase Request",
|
||||||
'from_doctype': u'Sales Order',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Buying',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "No",
|
||||||
'to_doctype': u'Purchase Request'
|
"match_id": 0,
|
||||||
},
|
"to_field": "transaction_date",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Sales Order-Purchase Request
|
"from_field": "transaction_date",
|
||||||
{
|
"checking_operator": ">="
|
||||||
'doctype': 'DocType Mapper',
|
},
|
||||||
'name': u'Sales Order-Purchase Request'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 0,
|
||||||
# Field Mapper Detail
|
"to_field": "company",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'>=',
|
"from_field": "company",
|
||||||
'doctype': u'Field Mapper Detail',
|
"checking_operator": "="
|
||||||
'from_field': u'transaction_date',
|
},
|
||||||
'map': u'No',
|
{
|
||||||
'match_id': 0,
|
"map": "Yes",
|
||||||
'to_field': u'transaction_date'
|
"match_id": 1,
|
||||||
},
|
"to_field": "sales_order_no",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "parent"
|
||||||
{
|
},
|
||||||
'checking_operator': u'=',
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'company',
|
"match_id": 1,
|
||||||
'map': u'Yes',
|
"to_field": "uom",
|
||||||
'match_id': 0,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'company'
|
"from_field": "stock_uom"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 1,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "warehouse",
|
||||||
'from_field': u'parent',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "reserved_warehouse"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': u'sales_order_no'
|
{
|
||||||
},
|
"reference_key": "prevdoc_detail_docname",
|
||||||
|
"match_id": 1,
|
||||||
# Field Mapper Detail
|
"reference_doctype_key": "prevdoc_doctype",
|
||||||
{
|
"to_field": "indent_details",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Table Mapper Detail",
|
||||||
'from_field': u'stock_uom',
|
"from_field": "sales_order_details",
|
||||||
'map': u'Yes',
|
"from_table": "Sales Order Item",
|
||||||
'match_id': 1,
|
"to_table": "Purchase Request Item",
|
||||||
'to_field': u'uom'
|
"validation_logic": "docstatus=1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"reference_key": "prevdoc_docname",
|
||||||
{
|
"match_id": 0,
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Table Mapper Detail",
|
||||||
'from_field': u'reserved_warehouse',
|
"from_table": "Sales Order",
|
||||||
'map': u'Yes',
|
"to_table": "Purchase Request",
|
||||||
'match_id': 1,
|
"validation_logic": "docstatus = 1"
|
||||||
'to_field': u'warehouse'
|
}
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'sales_order_details',
|
|
||||||
'from_table': u'Sales Order Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'reference_doctype_key': u'prevdoc_doctype',
|
|
||||||
'reference_key': u'prevdoc_detail_docname',
|
|
||||||
'to_field': u'indent_details',
|
|
||||||
'to_table': u'Purchase Request Item',
|
|
||||||
'validation_logic': u'docstatus=1'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Sales Order',
|
|
||||||
'match_id': 0,
|
|
||||||
'reference_key': u'prevdoc_docname',
|
|
||||||
'to_table': u'Purchase Request',
|
|
||||||
'validation_logic': u'docstatus = 1'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,169 +1,132 @@
|
|||||||
# DocType Mapper, Supplier Quotation-Purchase Order
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-08-03 12:33:04',
|
"creation": "2012-08-03 12:33:04",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-08-06 16:45:56',
|
"modified": "2012-08-06 16:45:56"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Supplier Quotation-Purchase Order",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': u'Table Mapper Detail',
|
"validation_logic": "docstatus = 1",
|
||||||
'name': '__common__',
|
"parentfield": "table_mapper_details"
|
||||||
'parent': u'Supplier Quotation-Purchase Order',
|
},
|
||||||
'parentfield': u'table_mapper_details',
|
{
|
||||||
'parenttype': u'DocType Mapper',
|
"name": "__common__",
|
||||||
'validation_logic': u'docstatus = 1'
|
"parent": "Supplier Quotation-Purchase Order",
|
||||||
},
|
"doctype": "Field Mapper Detail",
|
||||||
|
"parenttype": "DocType Mapper",
|
||||||
# These values are common for all Field Mapper Detail
|
"parentfield": "field_mapper_details"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Supplier Quotation-Purchase Order',
|
"to_doctype": "Purchase Order",
|
||||||
'parentfield': u'field_mapper_details',
|
"module": "Buying",
|
||||||
'parenttype': u'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"ref_doc_submitted": 1,
|
||||||
|
"from_doctype": "Supplier Quotation"
|
||||||
# These values are common for all DocType Mapper
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocType Mapper',
|
"name": "Supplier Quotation-Purchase Order",
|
||||||
'from_doctype': u'Supplier Quotation',
|
"doctype": "DocType Mapper"
|
||||||
'module': u'Buying',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'ref_doc_submitted': 1,
|
"map": "Yes",
|
||||||
'to_doctype': u'Purchase Order'
|
"match_id": 0,
|
||||||
},
|
"to_field": "company",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# DocType Mapper, Supplier Quotation-Purchase Order
|
"from_field": "company",
|
||||||
{
|
"checking_operator": "="
|
||||||
'doctype': u'DocType Mapper',
|
},
|
||||||
'name': u'Supplier Quotation-Purchase Order'
|
{
|
||||||
},
|
"map": "No",
|
||||||
|
"match_id": 0,
|
||||||
# Field Mapper Detail
|
"to_field": "transaction_date",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'checking_operator': u'=',
|
"from_field": "transaction_date",
|
||||||
'doctype': u'Field Mapper Detail',
|
"checking_operator": ">="
|
||||||
'from_field': u'company',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 0,
|
"map": "Yes",
|
||||||
'to_field': u'company'
|
"match_id": 0,
|
||||||
},
|
"to_field": "conversion_rate",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "conversion_rate"
|
||||||
{
|
},
|
||||||
'checking_operator': u'>=',
|
{
|
||||||
'doctype': u'Field Mapper Detail',
|
"map": "Yes",
|
||||||
'from_field': u'transaction_date',
|
"match_id": 0,
|
||||||
'map': u'No',
|
"to_field": "net_total",
|
||||||
'match_id': 0,
|
"doctype": "Field Mapper Detail",
|
||||||
'to_field': u'transaction_date'
|
"from_field": "net_total"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"map": "Yes",
|
||||||
{
|
"match_id": 0,
|
||||||
'doctype': u'Field Mapper Detail',
|
"to_field": "total_tax",
|
||||||
'from_field': u'conversion_rate',
|
"doctype": "Field Mapper Detail",
|
||||||
'map': u'Yes',
|
"from_field": "total_tax"
|
||||||
'match_id': 0,
|
},
|
||||||
'to_field': u'conversion_rate'
|
{
|
||||||
},
|
"map": "Yes",
|
||||||
|
"match_id": 0,
|
||||||
# Field Mapper Detail
|
"to_field": "grand_total",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': u'Field Mapper Detail',
|
"from_field": "grand_total"
|
||||||
'from_field': u'net_total',
|
},
|
||||||
'map': u'Yes',
|
{
|
||||||
'match_id': 0,
|
"map": "Yes",
|
||||||
'to_field': u'net_total'
|
"match_id": 1,
|
||||||
},
|
"to_field": "supplier_quotation",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_field": "parent"
|
||||||
{
|
},
|
||||||
'doctype': u'Field Mapper Detail',
|
{
|
||||||
'from_field': u'total_tax',
|
"map": "Yes",
|
||||||
'map': u'Yes',
|
"match_id": 1,
|
||||||
'match_id': 0,
|
"to_field": "supplier_quotation_item",
|
||||||
'to_field': u'total_tax'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"from_field": "name"
|
||||||
|
},
|
||||||
# Field Mapper Detail
|
{
|
||||||
{
|
"map": "Yes",
|
||||||
'doctype': u'Field Mapper Detail',
|
"match_id": 1,
|
||||||
'from_field': u'grand_total',
|
"to_field": "stock_uom",
|
||||||
'map': u'Yes',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 0,
|
"from_field": "uom"
|
||||||
'to_field': u'grand_total'
|
},
|
||||||
},
|
{
|
||||||
|
"map": "Yes",
|
||||||
# Field Mapper Detail
|
"match_id": 1,
|
||||||
{
|
"to_field": "conversion_factor",
|
||||||
'doctype': u'Field Mapper Detail',
|
"doctype": "Field Mapper Detail",
|
||||||
'from_field': u'parent',
|
"from_field": "eval:flt(1)"
|
||||||
'map': u'Yes',
|
},
|
||||||
'match_id': 1,
|
{
|
||||||
'to_field': u'supplier_quotation'
|
"reference_key": "prevdoc_docname",
|
||||||
},
|
"match_id": 0,
|
||||||
|
"doctype": "Table Mapper Detail",
|
||||||
# Field Mapper Detail
|
"from_table": "Supplier Quotation",
|
||||||
{
|
"to_table": "Purchase Order"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'name',
|
{
|
||||||
'map': u'Yes',
|
"match_id": 1,
|
||||||
'match_id': 1,
|
"reference_doctype_key": "prevdoc_doctype",
|
||||||
'to_field': u'supplier_quotation_item'
|
"to_field": "po_details",
|
||||||
},
|
"doctype": "Table Mapper Detail",
|
||||||
|
"from_field": "quotation_details",
|
||||||
# Field Mapper Detail
|
"from_table": "Supplier Quotation Item",
|
||||||
{
|
"to_table": "Purchase Order Item"
|
||||||
'doctype': u'Field Mapper Detail',
|
},
|
||||||
'from_field': u'uom',
|
{
|
||||||
'map': u'Yes',
|
"match_id": 2,
|
||||||
'match_id': 1,
|
"to_field": "purchase_tax_details",
|
||||||
'to_field': u'stock_uom'
|
"doctype": "Table Mapper Detail",
|
||||||
},
|
"from_field": "purchase_tax_details",
|
||||||
|
"from_table": "Purchase Taxes and Charges",
|
||||||
# Field Mapper Detail
|
"to_table": "Purchase Taxes and Charges"
|
||||||
{
|
}
|
||||||
'doctype': u'Field Mapper Detail',
|
|
||||||
'from_field': u'eval:flt(1)',
|
|
||||||
'map': u'Yes',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': u'conversion_factor'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_table': u'Supplier Quotation',
|
|
||||||
'match_id': 0,
|
|
||||||
'reference_key': u'prevdoc_docname',
|
|
||||||
'to_table': u'Purchase Order'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'quotation_details',
|
|
||||||
'from_table': u'Supplier Quotation Item',
|
|
||||||
'match_id': 1,
|
|
||||||
'reference_doctype_key': u'prevdoc_doctype',
|
|
||||||
'to_field': u'po_details',
|
|
||||||
'to_table': u'Purchase Order Item'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail',
|
|
||||||
'from_field': u'purchase_tax_details',
|
|
||||||
'from_table': u'Purchase Taxes and Charges',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': u'purchase_tax_details',
|
|
||||||
'to_table': u'Purchase Taxes and Charges'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
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
@@ -1,31 +1,24 @@
|
|||||||
# DocType, Purchase Common
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:51',
|
"creation": "2012-03-27 14:35:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:51',
|
"modified": "2012-03-27 14:35:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all DocType
|
"colour": "White:FFF",
|
||||||
{
|
"module": "Buying",
|
||||||
'colour': u'White:FFF',
|
"show_in_menu": 0,
|
||||||
'doctype': 'DocType',
|
"version": 187,
|
||||||
'issingle': 1,
|
"server_code_error": " ",
|
||||||
'module': u'Buying',
|
"doctype": "DocType",
|
||||||
'name': '__common__',
|
"issingle": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "Purchase Common",
|
||||||
'version': 187
|
"doctype": "DocType"
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocType, Purchase Common
|
|
||||||
{
|
|
||||||
'doctype': 'DocType',
|
|
||||||
'name': u'Purchase Common'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -299,7 +299,11 @@ class DocType(TransactionBase):
|
|||||||
|
|
||||||
def add_bom(self, d):
|
def add_bom(self, d):
|
||||||
#----- fetching default bom from Bill of Materials instead of Item Master --
|
#----- fetching default bom from Bill of Materials instead of Item Master --
|
||||||
bom_det = sql("select t1.item, t2.item_code, t2.qty_consumed_per_unit, t2.moving_avg_rate, t2.value_as_per_mar, t2.stock_uom, t2.name, t2.parent from `tabBOM` t1, `tabBOM Item` t2 where t2.parent = t1.name and t1.item = '%s' and ifnull(t1.is_default,0) = 1 and t1.docstatus = 1" % d.item_code)
|
bom_det = sql("""select t1.item, t2.item_code, t2.qty_consumed_per_unit,
|
||||||
|
t2.moving_avg_rate, t2.value_as_per_mar, t2.stock_uom, t2.name, t2.parent
|
||||||
|
from `tabBOM` t1, `tabBOM Item` t2
|
||||||
|
where t2.parent = t1.name and t1.item = %s
|
||||||
|
and ifnull(t1.is_default,0) = 1 and t1.docstatus = 1""", (d.item_code,))
|
||||||
|
|
||||||
if not bom_det:
|
if not bom_det:
|
||||||
msgprint("No default BOM exists for item: %s" % d.item_code)
|
msgprint("No default BOM exists for item: %s" % d.item_code)
|
||||||
|
|||||||
@@ -263,12 +263,12 @@
|
|||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Date",
|
"oldfieldtype": "Date",
|
||||||
|
"search_index": 0,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Purchase Request Date",
|
"label": "Purchase Request Date",
|
||||||
"oldfieldname": "prevdoc_date",
|
"oldfieldname": "prevdoc_date",
|
||||||
"fieldname": "prevdoc_date",
|
"fieldname": "prevdoc_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"search_index": 0,
|
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
@@ -326,11 +326,11 @@
|
|||||||
"label": "Item Group",
|
"label": "Item Group",
|
||||||
"oldfieldname": "item_group",
|
"oldfieldname": "item_group",
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
|
"options": "Item Group",
|
||||||
"fieldname": "item_group",
|
"fieldname": "item_group",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"search_index": 0,
|
"search_index": 0,
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"options": "Item Group",
|
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -361,11 +361,11 @@
|
|||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"default": "0.00",
|
"default": "0.00",
|
||||||
|
"no_copy": 1,
|
||||||
"oldfieldtype": "Currency",
|
"oldfieldtype": "Currency",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Billed Quantity",
|
"label": "Billed Quantity",
|
||||||
"oldfieldname": "billed_qty",
|
"oldfieldname": "billed_qty",
|
||||||
"no_copy": 1,
|
|
||||||
"fieldname": "billed_qty",
|
"fieldname": "billed_qty",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
|
|||||||
@@ -1,144 +1,117 @@
|
|||||||
# DocType, Purchase Order Item Supplied
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "dhanalekshmi@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:50',
|
"creation": "2012-03-27 14:35:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:50',
|
"modified": "2012-03-27 14:35:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'dhanalekshmi@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Buying",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocType",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'hide_toolbar': 1,
|
"colour": "White:FFF",
|
||||||
'istable': 1,
|
"show_in_menu": 0,
|
||||||
'module': u'Buying',
|
"version": 1,
|
||||||
'name': '__common__',
|
"hide_toolbar": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Purchase Order Item Supplied",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Purchase Order Item Supplied",
|
||||||
'parent': u'Purchase Order Item Supplied',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"search_index": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Purchase Order Item Supplied
|
"label": "Reference Name",
|
||||||
{
|
"oldfieldname": "reference_name",
|
||||||
'doctype': 'DocType',
|
"fieldname": "reference_name",
|
||||||
'name': u'Purchase Order Item Supplied'
|
"fieldtype": "Data",
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"hidden": 0,
|
||||||
# DocField
|
"permlevel": 1,
|
||||||
{
|
"in_filter": 0
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'reference_name',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Data",
|
||||||
'hidden': 0,
|
"doctype": "DocField",
|
||||||
'in_filter': 0,
|
"label": "BOM Detail No",
|
||||||
'label': u'Reference Name',
|
"oldfieldname": "bom_detail_no",
|
||||||
'oldfieldname': u'reference_name',
|
"fieldname": "bom_detail_no",
|
||||||
'oldfieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'permlevel': 1,
|
"permlevel": 1
|
||||||
'search_index': 0
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Data",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Item Code",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "main_item_code",
|
||||||
'fieldname': u'bom_detail_no',
|
"fieldname": "main_item_code",
|
||||||
'fieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'label': u'BOM Detail No',
|
"permlevel": 1
|
||||||
'oldfieldname': u'bom_detail_no',
|
},
|
||||||
'oldfieldtype': u'Data',
|
{
|
||||||
'permlevel': 1
|
"oldfieldtype": "Data",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Raw Material Item Code",
|
||||||
# DocField
|
"oldfieldname": "rm_item_code",
|
||||||
{
|
"fieldname": "rm_item_code",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Data",
|
||||||
'fieldname': u'main_item_code',
|
"permlevel": 1
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'label': u'Item Code',
|
{
|
||||||
'oldfieldname': u'main_item_code',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Required Qty",
|
||||||
},
|
"oldfieldname": "required_qty",
|
||||||
|
"fieldname": "required_qty",
|
||||||
# DocField
|
"fieldtype": "Currency",
|
||||||
{
|
"permlevel": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'rm_item_code',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Currency",
|
||||||
'label': u'Raw Material Item Code',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'rm_item_code',
|
"label": "Rate",
|
||||||
'oldfieldtype': u'Data',
|
"oldfieldname": "rate",
|
||||||
'permlevel': 1
|
"fieldname": "rate",
|
||||||
},
|
"fieldtype": "Currency",
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'required_qty',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Amount",
|
||||||
'label': u'Required Qty',
|
"oldfieldname": "amount",
|
||||||
'oldfieldname': u'required_qty',
|
"fieldname": "amount",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldtype": "Currency",
|
||||||
'permlevel': 1
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Currency",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Conversion Factor",
|
||||||
'fieldname': u'rate',
|
"oldfieldname": "conversion_factor",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "conversion_factor",
|
||||||
'label': u'Rate',
|
"fieldtype": "Currency",
|
||||||
'oldfieldname': u'rate',
|
"hidden": 1,
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 1
|
||||||
'permlevel': 0
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Data",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Stock Uom",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "stock_uom",
|
||||||
'fieldname': u'amount',
|
"fieldname": "stock_uom",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Data",
|
||||||
'label': u'Amount',
|
"permlevel": 1
|
||||||
'oldfieldname': u'amount',
|
}
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'conversion_factor',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Conversion Factor',
|
|
||||||
'oldfieldname': u'conversion_factor',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'stock_uom',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Stock Uom',
|
|
||||||
'oldfieldname': u'stock_uom',
|
|
||||||
'oldfieldtype': u'Data',
|
|
||||||
'permlevel': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,179 +1,146 @@
|
|||||||
# DocType, Purchase Receipt Item Supplied
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "wasim@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:50',
|
"creation": "2012-03-27 14:35:50",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:50',
|
"modified": "2012-03-27 14:35:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'wasim@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Buying",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"doctype": "DocType",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'hide_toolbar': 0,
|
"colour": "White:FFF",
|
||||||
'istable': 1,
|
"show_in_menu": 0,
|
||||||
'module': u'Buying',
|
"version": 17,
|
||||||
'name': '__common__',
|
"hide_toolbar": 0
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 17
|
"parent": "Purchase Receipt Item Supplied",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Purchase Receipt Item Supplied",
|
||||||
'parent': u'Purchase Receipt Item Supplied',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"search_index": 0,
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Purchase Receipt Item Supplied
|
"label": "Reference Name",
|
||||||
{
|
"oldfieldname": "reference_name",
|
||||||
'doctype': 'DocType',
|
"fieldname": "reference_name",
|
||||||
'name': u'Purchase Receipt Item Supplied'
|
"fieldtype": "Data",
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"hidden": 0,
|
||||||
# DocField
|
"permlevel": 1,
|
||||||
{
|
"in_filter": 0
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'reference_name',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Data",
|
||||||
'hidden': 0,
|
"doctype": "DocField",
|
||||||
'in_filter': 0,
|
"label": "BOM Detail No",
|
||||||
'label': u'Reference Name',
|
"oldfieldname": "bom_detail_no",
|
||||||
'oldfieldname': u'reference_name',
|
"fieldname": "bom_detail_no",
|
||||||
'oldfieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'permlevel': 1,
|
"permlevel": 1
|
||||||
'search_index': 0
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Data",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Item Code",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "main_item_code",
|
||||||
'fieldname': u'bom_detail_no',
|
"fieldname": "main_item_code",
|
||||||
'fieldtype': u'Data',
|
"fieldtype": "Data",
|
||||||
'label': u'BOM Detail No',
|
"permlevel": 1
|
||||||
'oldfieldname': u'bom_detail_no',
|
},
|
||||||
'oldfieldtype': u'Data',
|
{
|
||||||
'permlevel': 1
|
"oldfieldtype": "Data",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Raw Material Item Code",
|
||||||
# DocField
|
"oldfieldname": "rm_item_code",
|
||||||
{
|
"fieldname": "rm_item_code",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Data",
|
||||||
'fieldname': u'main_item_code',
|
"permlevel": 0
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'label': u'Item Code',
|
{
|
||||||
'oldfieldname': u'main_item_code',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Description",
|
||||||
},
|
"oldfieldname": "description",
|
||||||
|
"width": "300px",
|
||||||
# DocField
|
"fieldname": "description",
|
||||||
{
|
"fieldtype": "Data",
|
||||||
'doctype': u'DocField',
|
"permlevel": 1
|
||||||
'fieldname': u'rm_item_code',
|
},
|
||||||
'fieldtype': u'Data',
|
{
|
||||||
'label': u'Raw Material Item Code',
|
"oldfieldtype": "Currency",
|
||||||
'oldfieldname': u'rm_item_code',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Data',
|
"label": "Required Qty",
|
||||||
'permlevel': 0
|
"oldfieldname": "required_qty",
|
||||||
},
|
"fieldname": "required_qty",
|
||||||
|
"fieldtype": "Currency",
|
||||||
# DocField
|
"permlevel": 1
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'description',
|
"oldfieldtype": "Currency",
|
||||||
'fieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'label': u'Description',
|
"label": "Consumed Qty",
|
||||||
'oldfieldname': u'description',
|
"oldfieldname": "consumed_qty",
|
||||||
'oldfieldtype': u'Data',
|
"fieldname": "consumed_qty",
|
||||||
'permlevel': 1,
|
"fieldtype": "Currency",
|
||||||
'width': u'300px'
|
"reqd": 1,
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"oldfieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'required_qty',
|
"label": "Rate",
|
||||||
'fieldtype': u'Currency',
|
"oldfieldname": "rate",
|
||||||
'label': u'Required Qty',
|
"fieldname": "rate",
|
||||||
'oldfieldname': u'required_qty',
|
"fieldtype": "Currency",
|
||||||
'oldfieldtype': u'Currency',
|
"permlevel": 0
|
||||||
'permlevel': 1
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Currency",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Conversion Factor",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "conversion_factor",
|
||||||
'fieldname': u'consumed_qty',
|
"fieldname": "conversion_factor",
|
||||||
'fieldtype': u'Currency',
|
"fieldtype": "Currency",
|
||||||
'label': u'Consumed Qty',
|
"hidden": 1,
|
||||||
'oldfieldname': u'consumed_qty',
|
"permlevel": 1
|
||||||
'oldfieldtype': u'Currency',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'reqd': 1
|
"oldfieldtype": "Currency",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Amount",
|
||||||
# DocField
|
"oldfieldname": "amount",
|
||||||
{
|
"fieldname": "amount",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Currency",
|
||||||
'fieldname': u'rate',
|
"permlevel": 1
|
||||||
'fieldtype': u'Currency',
|
},
|
||||||
'label': u'Rate',
|
{
|
||||||
'oldfieldname': u'rate',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Currency',
|
"doctype": "DocField",
|
||||||
'permlevel': 0
|
"label": "Stock Uom",
|
||||||
},
|
"oldfieldname": "stock_uom",
|
||||||
|
"fieldname": "stock_uom",
|
||||||
# DocField
|
"fieldtype": "Data",
|
||||||
{
|
"permlevel": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'conversion_factor',
|
{
|
||||||
'fieldtype': u'Currency',
|
"oldfieldtype": "Currency",
|
||||||
'hidden': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Conversion Factor',
|
"label": "Current Stock",
|
||||||
'oldfieldname': u'conversion_factor',
|
"oldfieldname": "current_stock",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldname": "current_stock",
|
||||||
'permlevel': 1
|
"fieldtype": "Currency",
|
||||||
},
|
"permlevel": 1
|
||||||
|
}
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'amount',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Amount',
|
|
||||||
'oldfieldname': u'amount',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'stock_uom',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Stock Uom',
|
|
||||||
'oldfieldname': u'stock_uom',
|
|
||||||
'oldfieldtype': u'Data',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'current_stock',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Current Stock',
|
|
||||||
'oldfieldname': u'current_stock',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,261 +1,222 @@
|
|||||||
# DocType, Purchase Request Item
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 13:17:40',
|
"creation": "2012-04-11 13:17:40",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-12 14:52:49',
|
"modified": "2012-04-12 14:52:49"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Buying",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'autoname': u'IDTD/.#####',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"autoname": "IDTD/.#####",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Buying',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 37
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 37
|
"parent": "Purchase Request Item",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "Purchase Request Item",
|
||||||
'parent': u'Purchase Request Item',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"print_hide": 0,
|
||||||
|
"no_copy": 1,
|
||||||
# DocType, Purchase Request Item
|
"oldfieldtype": "Date",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': 'DocType',
|
"label": "Required Date",
|
||||||
'name': u'Purchase Request Item'
|
"oldfieldname": "schedule_date",
|
||||||
},
|
"width": "100px",
|
||||||
|
"fieldname": "schedule_date",
|
||||||
# DocField
|
"fieldtype": "Date",
|
||||||
{
|
"reqd": 1,
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'schedule_date',
|
},
|
||||||
'fieldtype': u'Date',
|
{
|
||||||
'label': u'Required Date',
|
"permlevel": 0,
|
||||||
'no_copy': 1,
|
"oldfieldtype": "Link",
|
||||||
'oldfieldname': u'schedule_date',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Date',
|
"label": "Item Code",
|
||||||
'permlevel': 0,
|
"oldfieldname": "item_code",
|
||||||
'print_hide': 0,
|
"width": "100px",
|
||||||
'reqd': 1,
|
"trigger": "Client",
|
||||||
'width': u'100px'
|
"fieldname": "item_code",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "Item",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'item_code',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'in_filter': 1,
|
"oldfieldtype": "Text",
|
||||||
'label': u'Item Code',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'item_code',
|
"label": "Description",
|
||||||
'oldfieldtype': u'Link',
|
"oldfieldname": "description",
|
||||||
'options': u'Item',
|
"width": "250px",
|
||||||
'permlevel': 0,
|
"fieldname": "description",
|
||||||
'reqd': 1,
|
"fieldtype": "Text",
|
||||||
'search_index': 1,
|
"reqd": 1,
|
||||||
'trigger': u'Client',
|
"permlevel": 0
|
||||||
'width': u'100px'
|
},
|
||||||
},
|
{
|
||||||
|
"print_hide": 0,
|
||||||
# DocField
|
"oldfieldtype": "Link",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Warehouse",
|
||||||
'fieldname': u'description',
|
"oldfieldname": "warehouse",
|
||||||
'fieldtype': u'Text',
|
"width": "100px",
|
||||||
'label': u'Description',
|
"trigger": "Client",
|
||||||
'oldfieldname': u'description',
|
"fieldname": "warehouse",
|
||||||
'oldfieldtype': u'Text',
|
"fieldtype": "Link",
|
||||||
'permlevel': 0,
|
"reqd": 0,
|
||||||
'reqd': 1,
|
"options": "Warehouse",
|
||||||
'width': u'250px'
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"width": "80px",
|
||||||
{
|
"default": "0.00",
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'warehouse',
|
"colour": "White:FFF",
|
||||||
'fieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'label': u'Warehouse',
|
"label": "Quantity",
|
||||||
'oldfieldname': u'warehouse',
|
"oldfieldname": "qty",
|
||||||
'oldfieldtype': u'Link',
|
"no_copy": 0,
|
||||||
'options': u'Warehouse',
|
"trigger": "Client",
|
||||||
'permlevel': 0,
|
"fieldname": "qty",
|
||||||
'print_hide': 0,
|
"fieldtype": "Currency",
|
||||||
'reqd': 0,
|
"reqd": 1,
|
||||||
'trigger': u'Client',
|
"permlevel": 0
|
||||||
'width': u'100px'
|
},
|
||||||
},
|
{
|
||||||
|
"no_copy": 0,
|
||||||
# DocField
|
"oldfieldtype": "Link",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'colour': u'White:FFF',
|
"label": "Stock UOM",
|
||||||
'default': u'0.00',
|
"oldfieldname": "uom",
|
||||||
'doctype': u'DocField',
|
"width": "70px",
|
||||||
'fieldname': u'qty',
|
"options": "UOM",
|
||||||
'fieldtype': u'Currency',
|
"fieldname": "uom",
|
||||||
'label': u'Quantity',
|
"fieldtype": "Link",
|
||||||
'no_copy': 0,
|
"reqd": 1,
|
||||||
'oldfieldname': u'qty',
|
"permlevel": 1
|
||||||
'oldfieldtype': u'Currency',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'reqd': 1,
|
"print_hide": 1,
|
||||||
'trigger': u'Client',
|
"no_copy": 1,
|
||||||
'width': u'80px'
|
"oldfieldtype": "Date",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Lead Time Date",
|
||||||
# DocField
|
"oldfieldname": "lead_time_date",
|
||||||
{
|
"fieldname": "lead_time_date",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Date",
|
||||||
'fieldname': u'uom',
|
"permlevel": 1
|
||||||
'fieldtype': u'Link',
|
},
|
||||||
'label': u'Stock UOM',
|
{
|
||||||
'no_copy': 0,
|
"oldfieldtype": "Data",
|
||||||
'oldfieldname': u'uom',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Link',
|
"label": "Item Name",
|
||||||
'options': u'UOM',
|
"oldfieldname": "item_name",
|
||||||
'permlevel': 1,
|
"width": "100px",
|
||||||
'reqd': 1,
|
"fieldname": "item_name",
|
||||||
'width': u'70px'
|
"fieldtype": "Data",
|
||||||
},
|
"search_index": 1,
|
||||||
|
"reqd": 1,
|
||||||
# DocField
|
"permlevel": 0,
|
||||||
{
|
"in_filter": 1
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'lead_time_date',
|
{
|
||||||
'fieldtype': u'Date',
|
"print_hide": 1,
|
||||||
'label': u'Lead Time Date',
|
"no_copy": 0,
|
||||||
'no_copy': 1,
|
"oldfieldtype": "Link",
|
||||||
'oldfieldname': u'lead_time_date',
|
"colour": "White:FFF",
|
||||||
'oldfieldtype': u'Date',
|
"doctype": "DocField",
|
||||||
'permlevel': 1,
|
"label": "Item Group",
|
||||||
'print_hide': 1
|
"oldfieldname": "item_group",
|
||||||
},
|
"permlevel": 1,
|
||||||
|
"fieldname": "item_group",
|
||||||
# DocField
|
"fieldtype": "Link",
|
||||||
{
|
"search_index": 1,
|
||||||
'doctype': u'DocField',
|
"reqd": 0,
|
||||||
'fieldname': u'item_name',
|
"options": "Item Group",
|
||||||
'fieldtype': u'Data',
|
"in_filter": 1
|
||||||
'in_filter': 1,
|
},
|
||||||
'label': u'Item Name',
|
{
|
||||||
'oldfieldname': u'item_name',
|
"print_hide": 1,
|
||||||
'oldfieldtype': u'Data',
|
"permlevel": 1,
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Link",
|
||||||
'reqd': 1,
|
"doctype": "DocField",
|
||||||
'search_index': 1,
|
"label": "Brand",
|
||||||
'width': u'100px'
|
"oldfieldname": "brand",
|
||||||
},
|
"width": "100px",
|
||||||
|
"fieldname": "brand",
|
||||||
# DocField
|
"fieldtype": "Link",
|
||||||
{
|
"options": "Brand"
|
||||||
'colour': u'White:FFF',
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'item_group',
|
"print_hide": 1,
|
||||||
'fieldtype': u'Link',
|
"no_copy": 1,
|
||||||
'in_filter': 1,
|
"oldfieldtype": "Currency",
|
||||||
'label': u'Item Group',
|
"doctype": "DocField",
|
||||||
'no_copy': 0,
|
"label": "Min Order Qty",
|
||||||
'oldfieldname': u'item_group',
|
"oldfieldname": "min_order_qty",
|
||||||
'oldfieldtype': u'Link',
|
"width": "70px",
|
||||||
'options': u'Item Group',
|
"fieldname": "min_order_qty",
|
||||||
'permlevel': 1,
|
"fieldtype": "Currency",
|
||||||
'print_hide': 1,
|
"reqd": 0,
|
||||||
'reqd': 0,
|
"permlevel": 1
|
||||||
'search_index': 1
|
},
|
||||||
},
|
{
|
||||||
|
"print_hide": 1,
|
||||||
# DocField
|
"no_copy": 1,
|
||||||
{
|
"oldfieldtype": "Currency",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'brand',
|
"label": "Projected Qty",
|
||||||
'fieldtype': u'Link',
|
"oldfieldname": "projected_qty",
|
||||||
'label': u'Brand',
|
"width": "70px",
|
||||||
'oldfieldname': u'brand',
|
"fieldname": "projected_qty",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Currency",
|
||||||
'options': u'Brand',
|
"permlevel": 1
|
||||||
'permlevel': 1,
|
},
|
||||||
'print_hide': 1,
|
{
|
||||||
'width': u'100px'
|
"no_copy": 1,
|
||||||
},
|
"oldfieldtype": "Currency",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Ordered Qty",
|
||||||
{
|
"oldfieldname": "ordered_qty",
|
||||||
'doctype': u'DocField',
|
"fieldname": "ordered_qty",
|
||||||
'fieldname': u'min_order_qty',
|
"fieldtype": "Currency",
|
||||||
'fieldtype': u'Currency',
|
"permlevel": 1
|
||||||
'label': u'Min Order Qty',
|
},
|
||||||
'no_copy': 1,
|
{
|
||||||
'oldfieldname': u'min_order_qty',
|
"print_hide": 1,
|
||||||
'oldfieldtype': u'Currency',
|
"no_copy": 1,
|
||||||
'permlevel': 1,
|
"doctype": "DocField",
|
||||||
'print_hide': 1,
|
"label": "Sales Order No",
|
||||||
'reqd': 0,
|
"permlevel": 1,
|
||||||
'width': u'70px'
|
"fieldname": "sales_order_no",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"options": "Sales Order"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"print_hide": 1,
|
||||||
'fieldname': u'projected_qty',
|
"no_copy": 1,
|
||||||
'fieldtype': u'Currency',
|
"oldfieldtype": "Check",
|
||||||
'label': u'Projected Qty',
|
"allow_on_submit": 1,
|
||||||
'no_copy': 1,
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'projected_qty',
|
"label": "Page Break",
|
||||||
'oldfieldtype': u'Currency',
|
"oldfieldname": "page_break",
|
||||||
'permlevel': 1,
|
"fieldname": "page_break",
|
||||||
'print_hide': 1,
|
"fieldtype": "Check",
|
||||||
'width': u'70px'
|
"permlevel": 0
|
||||||
},
|
}
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'ordered_qty',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Ordered Qty',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'ordered_qty',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'sales_order_no',
|
|
||||||
'fieldtype': u'Link',
|
|
||||||
'label': u'Sales Order No',
|
|
||||||
'no_copy': 1,
|
|
||||||
'options': u'Sales Order',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'allow_on_submit': 1,
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'page_break',
|
|
||||||
'fieldtype': u'Check',
|
|
||||||
'label': u'Page Break',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'page_break',
|
|
||||||
'oldfieldtype': u'Check',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,345 +1,288 @@
|
|||||||
# DocType, Quality Inspection
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:51',
|
"creation": "2012-03-27 14:35:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:45:50',
|
"modified": "2012-03-27 14:45:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"is_submittable": 1,
|
||||||
# These values are common for all DocType
|
"search_fields": "item_code, report_date, purchase_receipt_no, delivery_note_no",
|
||||||
{
|
"module": "Buying",
|
||||||
'_last_update': u'1317365120',
|
"_last_update": "1317365120",
|
||||||
'autoname': u'QAI/.######',
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"print_outline": "Yes",
|
||||||
'doctype': 'DocType',
|
"autoname": "QAI/.######",
|
||||||
'is_submittable': 1,
|
"name": "__common__",
|
||||||
'module': u'Buying',
|
"colour": "White:FFF",
|
||||||
'name': '__common__',
|
"doctype": "DocType",
|
||||||
'print_outline': u'Yes',
|
"show_in_menu": 0,
|
||||||
'search_fields': u'item_code, report_date, purchase_receipt_no, delivery_note_no',
|
"version": 38
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 38
|
"parent": "Quality Inspection",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': u'Quality Inspection',
|
"parent": "Quality Inspection",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"role": "Quality Manager",
|
||||||
# These values are common for all DocPerm
|
"parentfield": "permissions"
|
||||||
{
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'name': '__common__',
|
"name": "Quality Inspection",
|
||||||
'parent': u'Quality Inspection',
|
"doctype": "DocType"
|
||||||
'parentfield': u'permissions',
|
},
|
||||||
'parenttype': u'DocType',
|
{
|
||||||
'read': 1,
|
"permlevel": 1,
|
||||||
'role': u'Quality Manager'
|
"doctype": "DocPerm"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocType, Quality Inspection
|
"amend": 1,
|
||||||
{
|
"create": 1,
|
||||||
'doctype': 'DocType',
|
"doctype": "DocPerm",
|
||||||
'name': u'Quality Inspection'
|
"submit": 1,
|
||||||
},
|
"write": 1,
|
||||||
|
"cancel": 1,
|
||||||
# DocPerm
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 1
|
"no_copy": 0,
|
||||||
},
|
"oldfieldtype": "Section Break",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocPerm
|
"label": "QA Inspection",
|
||||||
{
|
"fieldname": "qa_inspection",
|
||||||
'amend': 1,
|
"fieldtype": "Section Break",
|
||||||
'cancel': 1,
|
"permlevel": 0
|
||||||
'create': 1,
|
},
|
||||||
'doctype': u'DocPerm',
|
{
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Column Break",
|
||||||
'submit': 1,
|
"doctype": "DocField",
|
||||||
'write': 1
|
"width": "50%",
|
||||||
},
|
"fieldname": "column_break0",
|
||||||
|
"fieldtype": "Column Break",
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'qa_inspection',
|
"no_copy": 1,
|
||||||
'fieldtype': u'Section Break',
|
"doctype": "DocField",
|
||||||
'label': u'QA Inspection',
|
"label": "Naming Series",
|
||||||
'no_copy': 0,
|
"permlevel": 0,
|
||||||
'oldfieldtype': u'Section Break',
|
"fieldname": "naming_series",
|
||||||
'permlevel': 0
|
"fieldtype": "Select",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "\nQAI/11-12/"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Select",
|
||||||
'fieldname': u'column_break0',
|
"colour": "White:FFF",
|
||||||
'fieldtype': u'Column Break',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Column Break',
|
"label": "Inspection Type",
|
||||||
'permlevel': 0,
|
"oldfieldname": "inspection_type",
|
||||||
'width': u'50%'
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "inspection_type",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "\nIncoming\nOutgoing\nIn Process",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0,
|
||||||
'fieldname': u'naming_series',
|
"in_filter": 1
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'label': u'Naming Series',
|
{
|
||||||
'no_copy': 1,
|
"search_index": 1,
|
||||||
'options': u'\nQAI/11-12/',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Report Date",
|
||||||
'reqd': 1
|
"oldfieldname": "report_date",
|
||||||
},
|
"fieldname": "report_date",
|
||||||
|
"fieldtype": "Date",
|
||||||
# DocField
|
"oldfieldtype": "Date",
|
||||||
{
|
"reqd": 1,
|
||||||
'colour': u'White:FFF',
|
"permlevel": 0,
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'inspection_type',
|
},
|
||||||
'fieldtype': u'Select',
|
{
|
||||||
'in_filter': 1,
|
"oldfieldtype": "Link",
|
||||||
'label': u'Inspection Type',
|
"colour": "White:FFF",
|
||||||
'oldfieldname': u'inspection_type',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Select',
|
"label": "Item Code",
|
||||||
'options': u'\nIncoming\nOutgoing\nIn Process',
|
"oldfieldname": "item_code",
|
||||||
'permlevel': 0,
|
"permlevel": 0,
|
||||||
'reqd': 1,
|
"trigger": "Client",
|
||||||
'trigger': u'Client'
|
"fieldname": "item_code",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"hidden": 0,
|
||||||
'doctype': u'DocField',
|
"options": "Item",
|
||||||
'fieldname': u'report_date',
|
"in_filter": 1
|
||||||
'fieldtype': u'Date',
|
},
|
||||||
'in_filter': 1,
|
{
|
||||||
'label': u'Report Date',
|
"search_index": 0,
|
||||||
'oldfieldname': u'report_date',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Date',
|
"label": "Sample Size",
|
||||||
'permlevel': 0,
|
"oldfieldname": "sample_size",
|
||||||
'reqd': 1,
|
"fieldname": "sample_size",
|
||||||
'search_index': 1
|
"fieldtype": "Currency",
|
||||||
},
|
"oldfieldtype": "Currency",
|
||||||
|
"reqd": 1,
|
||||||
# DocField
|
"permlevel": 0,
|
||||||
{
|
"in_filter": 0
|
||||||
'colour': u'White:FFF',
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'item_code',
|
"search_index": 0,
|
||||||
'fieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'hidden': 0,
|
"label": "Description",
|
||||||
'in_filter': 1,
|
"oldfieldname": "description",
|
||||||
'label': u'Item Code',
|
"width": "300px",
|
||||||
'oldfieldname': u'item_code',
|
"fieldname": "description",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Small Text",
|
||||||
'options': u'Item',
|
"oldfieldtype": "Small Text",
|
||||||
'permlevel': 0,
|
"permlevel": 0,
|
||||||
'reqd': 1,
|
"in_filter": 1
|
||||||
'search_index': 1,
|
},
|
||||||
'trigger': u'Client'
|
{
|
||||||
},
|
"oldfieldtype": "Column Break",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"width": "50%",
|
||||||
{
|
"fieldname": "column_break1",
|
||||||
'doctype': u'DocField',
|
"fieldtype": "Column Break",
|
||||||
'fieldname': u'sample_size',
|
"permlevel": 0
|
||||||
'fieldtype': u'Currency',
|
},
|
||||||
'in_filter': 0,
|
{
|
||||||
'label': u'Sample Size',
|
"print_hide": 0,
|
||||||
'oldfieldname': u'sample_size',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldtype': u'Currency',
|
"doctype": "DocField",
|
||||||
'permlevel': 0,
|
"label": "Item Serial No",
|
||||||
'reqd': 1,
|
"oldfieldname": "item_serial_no",
|
||||||
'search_index': 0
|
"permlevel": 0,
|
||||||
},
|
"fieldname": "item_serial_no",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"hidden": 0,
|
||||||
{
|
"options": "Serial No"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'description',
|
{
|
||||||
'fieldtype': u'Small Text',
|
"oldfieldtype": "Link",
|
||||||
'in_filter': 1,
|
"doctype": "DocField",
|
||||||
'label': u'Description',
|
"label": "Batch No",
|
||||||
'oldfieldname': u'description',
|
"oldfieldname": "batch_no",
|
||||||
'oldfieldtype': u'Small Text',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"fieldname": "batch_no",
|
||||||
'search_index': 0,
|
"fieldtype": "Link",
|
||||||
'width': u'300px'
|
"options": "Batch"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Link",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'column_break1',
|
"label": "Purchase Receipt No",
|
||||||
'fieldtype': u'Column Break',
|
"oldfieldname": "purchase_receipt_no",
|
||||||
'oldfieldtype': u'Column Break',
|
"permlevel": 0,
|
||||||
'permlevel': 0,
|
"trigger": "Client",
|
||||||
'width': u'50%'
|
"fieldname": "purchase_receipt_no",
|
||||||
},
|
"fieldtype": "Link",
|
||||||
|
"search_index": 1,
|
||||||
# DocField
|
"hidden": 0,
|
||||||
{
|
"options": "Purchase Receipt",
|
||||||
'doctype': u'DocField',
|
"in_filter": 1
|
||||||
'fieldname': u'item_serial_no',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'hidden': 0,
|
"print_hide": 0,
|
||||||
'label': u'Item Serial No',
|
"oldfieldtype": "Link",
|
||||||
'oldfieldname': u'item_serial_no',
|
"colour": "White:FFF",
|
||||||
'oldfieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'options': u'Serial No',
|
"label": "Delivery Note No",
|
||||||
'permlevel': 0,
|
"oldfieldname": "delivery_note_no",
|
||||||
'print_hide': 0
|
"permlevel": 0,
|
||||||
},
|
"fieldname": "delivery_note_no",
|
||||||
|
"fieldtype": "Link",
|
||||||
# DocField
|
"search_index": 1,
|
||||||
{
|
"hidden": 0,
|
||||||
'doctype': u'DocField',
|
"options": "Delivery Note",
|
||||||
'fieldname': u'batch_no',
|
"in_filter": 1
|
||||||
'fieldtype': u'Link',
|
},
|
||||||
'label': u'Batch No',
|
{
|
||||||
'oldfieldname': u'batch_no',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Link',
|
"doctype": "DocField",
|
||||||
'options': u'Batch',
|
"label": "Inspected By",
|
||||||
'permlevel': 0
|
"oldfieldname": "inspected_by",
|
||||||
},
|
"fieldname": "inspected_by",
|
||||||
|
"fieldtype": "Data",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"permlevel": 0
|
||||||
'colour': u'White:FFF',
|
},
|
||||||
'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'purchase_receipt_no',
|
"no_copy": 1,
|
||||||
'fieldtype': u'Link',
|
"oldfieldtype": "Text",
|
||||||
'hidden': 0,
|
"doctype": "DocField",
|
||||||
'in_filter': 1,
|
"label": "Remarks",
|
||||||
'label': u'Purchase Receipt No',
|
"oldfieldname": "remarks",
|
||||||
'oldfieldname': u'purchase_receipt_no',
|
"fieldname": "remarks",
|
||||||
'oldfieldtype': u'Link',
|
"fieldtype": "Text",
|
||||||
'options': u'Purchase Receipt',
|
"permlevel": 0
|
||||||
'permlevel': 0,
|
},
|
||||||
'search_index': 1,
|
{
|
||||||
'trigger': u'Client'
|
"oldfieldtype": "Data",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Verified By",
|
||||||
# DocField
|
"oldfieldname": "verified_by",
|
||||||
{
|
"fieldname": "verified_by",
|
||||||
'colour': u'White:FFF',
|
"fieldtype": "Data",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'delivery_note_no',
|
},
|
||||||
'fieldtype': u'Link',
|
{
|
||||||
'hidden': 0,
|
"print_hide": 1,
|
||||||
'in_filter': 1,
|
"no_copy": 1,
|
||||||
'label': u'Delivery Note No',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldname': u'delivery_note_no',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Link',
|
"label": "Amended From",
|
||||||
'options': u'Delivery Note',
|
"oldfieldname": "amended_from",
|
||||||
'permlevel': 0,
|
"fieldname": "amended_from",
|
||||||
'print_hide': 0,
|
"fieldtype": "Data",
|
||||||
'search_index': 1
|
"permlevel": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"print_hide": 1,
|
||||||
{
|
"no_copy": 1,
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Date",
|
||||||
'fieldname': u'inspected_by',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Amendment Date",
|
||||||
'label': u'Inspected By',
|
"oldfieldname": "amendment_date",
|
||||||
'oldfieldname': u'inspected_by',
|
"fieldname": "amendment_date",
|
||||||
'oldfieldtype': u'Data',
|
"fieldtype": "Date",
|
||||||
'permlevel': 0,
|
"permlevel": 1
|
||||||
'reqd': 1
|
},
|
||||||
},
|
{
|
||||||
|
"oldfieldtype": "Section Break",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Specification Details",
|
||||||
'doctype': u'DocField',
|
"permlevel": 0,
|
||||||
'fieldname': u'remarks',
|
"fieldname": "specification_details",
|
||||||
'fieldtype': u'Text',
|
"fieldtype": "Section Break",
|
||||||
'label': u'Remarks',
|
"options": "Simple"
|
||||||
'no_copy': 1,
|
},
|
||||||
'oldfieldname': u'remarks',
|
{
|
||||||
'oldfieldtype': u'Text',
|
"doctype": "DocField",
|
||||||
'permlevel': 0
|
"options": "get_item_specification_details",
|
||||||
},
|
"fieldname": "get_specification_details",
|
||||||
|
"fieldtype": "Button",
|
||||||
# DocField
|
"label": "Get Specification Details",
|
||||||
{
|
"permlevel": 0
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'verified_by',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Table",
|
||||||
'label': u'Verified By',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'verified_by',
|
"label": "Quality Inspection Readings",
|
||||||
'oldfieldtype': u'Data',
|
"oldfieldname": "qa_specification_details",
|
||||||
'permlevel': 0
|
"permlevel": 0,
|
||||||
},
|
"fieldname": "qa_specification_details",
|
||||||
|
"fieldtype": "Table",
|
||||||
# DocField
|
"options": "Quality Inspection Reading"
|
||||||
{
|
}
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'amended_from',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Amended From',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'amended_from',
|
|
||||||
'oldfieldtype': u'Data',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'amendment_date',
|
|
||||||
'fieldtype': u'Date',
|
|
||||||
'label': u'Amendment Date',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'amendment_date',
|
|
||||||
'oldfieldtype': u'Date',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'specification_details',
|
|
||||||
'fieldtype': u'Section Break',
|
|
||||||
'label': u'Specification Details',
|
|
||||||
'oldfieldtype': u'Section Break',
|
|
||||||
'options': u'Simple',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'get_specification_details',
|
|
||||||
'fieldtype': u'Button',
|
|
||||||
'label': u'Get Specification Details',
|
|
||||||
'options': u'get_item_specification_details',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'qa_specification_details',
|
|
||||||
'fieldtype': u'Table',
|
|
||||||
'label': u'Quality Inspection Readings',
|
|
||||||
'oldfieldname': u'qa_specification_details',
|
|
||||||
'oldfieldtype': u'Table',
|
|
||||||
'options': u'Quality Inspection Reading',
|
|
||||||
'permlevel': 0
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,175 +1,140 @@
|
|||||||
# DocType, Quality Inspection Reading
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-27 14:35:52',
|
"creation": "2012-03-27 14:35:52",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-27 14:35:52',
|
"modified": "2012-03-27 14:35:52"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Tray",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"module": "Buying",
|
||||||
{
|
"server_code_error": " ",
|
||||||
'autoname': u'QASD/.#####',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"autoname": "QASD/.#####",
|
||||||
'doctype': 'DocType',
|
"name": "__common__",
|
||||||
'istable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'Buying',
|
"show_in_menu": 0,
|
||||||
'name': '__common__',
|
"version": 2
|
||||||
'section_style': u'Tray',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 2
|
"parent": "Quality Inspection Reading",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'name': '__common__',
|
{
|
||||||
'parent': u'Quality Inspection Reading',
|
"name": "Quality Inspection Reading",
|
||||||
'parentfield': u'fields',
|
"doctype": "DocType"
|
||||||
'parenttype': u'DocType',
|
},
|
||||||
'permlevel': 0
|
{
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocType, Quality Inspection Reading
|
"label": "Parameter",
|
||||||
{
|
"oldfieldname": "specification",
|
||||||
'doctype': 'DocType',
|
"fieldname": "specification",
|
||||||
'name': u'Quality Inspection Reading'
|
"fieldtype": "Data",
|
||||||
},
|
"reqd": 1
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"oldfieldtype": "Data",
|
||||||
'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'specification',
|
"label": "Acceptance Criteria",
|
||||||
'fieldtype': u'Data',
|
"oldfieldname": "value",
|
||||||
'label': u'Parameter',
|
"fieldname": "value",
|
||||||
'oldfieldname': u'specification',
|
"fieldtype": "Data"
|
||||||
'oldfieldtype': u'Data',
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Reading 1",
|
||||||
{
|
"oldfieldname": "reading_1",
|
||||||
'doctype': u'DocField',
|
"fieldname": "reading_1",
|
||||||
'fieldname': u'value',
|
"fieldtype": "Data"
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'label': u'Acceptance Criteria',
|
{
|
||||||
'oldfieldname': u'value',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Data'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Reading 2",
|
||||||
|
"oldfieldname": "reading_2",
|
||||||
# DocField
|
"fieldname": "reading_2",
|
||||||
{
|
"fieldtype": "Data"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'reading_1',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Data",
|
||||||
'label': u'Reading 1',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'reading_1',
|
"label": "Reading 3",
|
||||||
'oldfieldtype': u'Data'
|
"oldfieldname": "reading_3",
|
||||||
},
|
"fieldname": "reading_3",
|
||||||
|
"fieldtype": "Data"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Data",
|
||||||
'fieldname': u'reading_2',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Reading 4",
|
||||||
'label': u'Reading 2',
|
"oldfieldname": "reading_4",
|
||||||
'oldfieldname': u'reading_2',
|
"fieldname": "reading_4",
|
||||||
'oldfieldtype': u'Data'
|
"fieldtype": "Data"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Data",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Reading 5",
|
||||||
'fieldname': u'reading_3',
|
"oldfieldname": "reading_5",
|
||||||
'fieldtype': u'Data',
|
"fieldname": "reading_5",
|
||||||
'label': u'Reading 3',
|
"fieldtype": "Data"
|
||||||
'oldfieldname': u'reading_3',
|
},
|
||||||
'oldfieldtype': u'Data'
|
{
|
||||||
},
|
"oldfieldtype": "Data",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Reading 6",
|
||||||
{
|
"oldfieldname": "reading_6",
|
||||||
'doctype': u'DocField',
|
"fieldname": "reading_6",
|
||||||
'fieldname': u'reading_4',
|
"fieldtype": "Data"
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'label': u'Reading 4',
|
{
|
||||||
'oldfieldname': u'reading_4',
|
"oldfieldtype": "Data",
|
||||||
'oldfieldtype': u'Data'
|
"doctype": "DocField",
|
||||||
},
|
"label": "Reading 7",
|
||||||
|
"oldfieldname": "reading_7",
|
||||||
# DocField
|
"fieldname": "reading_7",
|
||||||
{
|
"fieldtype": "Data"
|
||||||
'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'reading_5',
|
{
|
||||||
'fieldtype': u'Data',
|
"oldfieldtype": "Data",
|
||||||
'label': u'Reading 5',
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'reading_5',
|
"label": "Reading 8",
|
||||||
'oldfieldtype': u'Data'
|
"oldfieldname": "reading_8",
|
||||||
},
|
"fieldname": "reading_8",
|
||||||
|
"fieldtype": "Data"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'doctype': u'DocField',
|
"oldfieldtype": "Data",
|
||||||
'fieldname': u'reading_6',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Data',
|
"label": "Reading 9",
|
||||||
'label': u'Reading 6',
|
"oldfieldname": "reading_9",
|
||||||
'oldfieldname': u'reading_6',
|
"fieldname": "reading_9",
|
||||||
'oldfieldtype': u'Data'
|
"fieldtype": "Data"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"oldfieldtype": "Data",
|
||||||
{
|
"doctype": "DocField",
|
||||||
'doctype': u'DocField',
|
"label": "Reading 10",
|
||||||
'fieldname': u'reading_7',
|
"oldfieldname": "reading_10",
|
||||||
'fieldtype': u'Data',
|
"fieldname": "reading_10",
|
||||||
'label': u'Reading 7',
|
"fieldtype": "Data"
|
||||||
'oldfieldname': u'reading_7',
|
},
|
||||||
'oldfieldtype': u'Data'
|
{
|
||||||
},
|
"default": "Accepted",
|
||||||
|
"oldfieldtype": "Select",
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"label": "Status",
|
||||||
'doctype': u'DocField',
|
"oldfieldname": "status",
|
||||||
'fieldname': u'reading_8',
|
"fieldname": "status",
|
||||||
'fieldtype': u'Data',
|
"fieldtype": "Select",
|
||||||
'label': u'Reading 8',
|
"options": "Accepted\nRejected"
|
||||||
'oldfieldname': u'reading_8',
|
}
|
||||||
'oldfieldtype': u'Data'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'reading_9',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Reading 9',
|
|
||||||
'oldfieldname': u'reading_9',
|
|
||||||
'oldfieldtype': u'Data'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'reading_10',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Reading 10',
|
|
||||||
'oldfieldname': u'reading_10',
|
|
||||||
'oldfieldtype': u'Data'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'default': u'Accepted',
|
|
||||||
'doctype': u'DocField',
|
|
||||||
'fieldname': u'status',
|
|
||||||
'fieldtype': u'Select',
|
|
||||||
'label': u'Status',
|
|
||||||
'oldfieldname': u'status',
|
|
||||||
'oldfieldtype': u'Select',
|
|
||||||
'options': u'Accepted\nRejected'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"creation": "2012-08-06 11:15:46",
|
"creation": "2012-08-06 11:15:46",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"modified": "2012-08-02 18:04:35"
|
"modified": "2012-12-10 18:30:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
@@ -697,7 +697,7 @@
|
|||||||
"doctype": "DocPerm",
|
"doctype": "DocPerm",
|
||||||
"submit": 1,
|
"submit": 1,
|
||||||
"write": 1,
|
"write": 1,
|
||||||
"role": "Production Manager",
|
"role": "Manufacturing Manager",
|
||||||
"cancel": 1,
|
"cancel": 1,
|
||||||
"permlevel": 0
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -160,11 +160,11 @@
|
|||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Warehouse",
|
"label": "Warehouse",
|
||||||
"oldfieldname": "warehouse",
|
"oldfieldname": "warehouse",
|
||||||
"options": "Warehouse",
|
|
||||||
"fieldname": "warehouse",
|
"fieldname": "warehouse",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"reqd": 0,
|
"reqd": 0,
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
|
"options": "Warehouse",
|
||||||
"permlevel": 0
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -222,12 +222,12 @@
|
|||||||
{
|
{
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
"oldfieldtype": "Date",
|
"oldfieldtype": "Date",
|
||||||
|
"search_index": 0,
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"label": "Purchase Request Date",
|
"label": "Purchase Request Date",
|
||||||
"oldfieldname": "prevdoc_date",
|
"oldfieldname": "prevdoc_date",
|
||||||
"fieldname": "prevdoc_date",
|
"fieldname": "prevdoc_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"search_index": 0,
|
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
@@ -265,11 +265,11 @@
|
|||||||
"label": "Item Group",
|
"label": "Item Group",
|
||||||
"oldfieldname": "item_group",
|
"oldfieldname": "item_group",
|
||||||
"permlevel": 1,
|
"permlevel": 1,
|
||||||
|
"options": "Item Group",
|
||||||
"fieldname": "item_group",
|
"fieldname": "item_group",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"search_index": 0,
|
"search_index": 0,
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"options": "Item Group",
|
|
||||||
"in_filter": 1
|
"in_filter": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,28 +1,21 @@
|
|||||||
# Page, buying-home
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-02-21 13:22:54',
|
"creation": "2012-02-21 13:22:54",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-02-21 13:22:54',
|
"modified": "2012-02-21 13:22:54"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Buying Home",
|
||||||
# These values are common for all Page
|
"module": "Buying",
|
||||||
{
|
"doctype": "Page",
|
||||||
'doctype': 'Page',
|
"page_name": "buying-home",
|
||||||
'module': u'Buying',
|
"standard": "Yes"
|
||||||
'name': '__common__',
|
},
|
||||||
'page_name': u'buying-home',
|
{
|
||||||
'standard': u'Yes',
|
"name": "buying-home",
|
||||||
'title': u'Buying Home'
|
"doctype": "Page"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page, buying-home
|
|
||||||
{
|
|
||||||
'doctype': 'Page',
|
|
||||||
'name': u'buying-home'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,49 +1,36 @@
|
|||||||
# Page, purchase-analytics
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-09-21 20:15:16',
|
"creation": "2012-09-21 20:15:16",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-04 17:24:17',
|
"modified": "2012-10-04 17:24:17"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Purchase Analytics",
|
||||||
# These values are common for all Page
|
"module": "Buying",
|
||||||
{
|
"doctype": "Page",
|
||||||
u'doctype': u'Page',
|
"page_name": "purchase-analytics",
|
||||||
'module': u'Buying',
|
"standard": "Yes"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'page_name': u'purchase-analytics',
|
{
|
||||||
'standard': u'Yes',
|
"name": "__common__",
|
||||||
'title': u'Purchase Analytics'
|
"parent": "purchase-analytics",
|
||||||
},
|
"doctype": "Page Role",
|
||||||
|
"parenttype": "Page",
|
||||||
# These values are common for all Page Role
|
"parentfield": "roles"
|
||||||
{
|
},
|
||||||
u'doctype': u'Page Role',
|
{
|
||||||
u'name': u'__common__',
|
"name": "purchase-analytics",
|
||||||
'parent': u'purchase-analytics',
|
"doctype": "Page"
|
||||||
'parentfield': u'roles',
|
},
|
||||||
'parenttype': u'Page'
|
{
|
||||||
},
|
"role": "Analytics",
|
||||||
|
"doctype": "Page Role"
|
||||||
# Page, purchase-analytics
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'Page',
|
"role": "Purchase Manager",
|
||||||
u'name': u'purchase-analytics'
|
"doctype": "Page Role"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Analytics'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Page Role
|
|
||||||
{
|
|
||||||
u'doctype': u'Page Role',
|
|
||||||
'role': u'Purchase Manager'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,26 +1,19 @@
|
|||||||
# Report, Supplier Quotations
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-08-07 14:52:42',
|
"creation": "2012-08-07 14:52:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-12-03 17:10:41',
|
"modified": "2012-12-03 17:10:41"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"ref_doctype": "Supplier Quotation",
|
||||||
# These values are common for all Report
|
"doctype": "Report",
|
||||||
{
|
"json": "{\"filters\":[[\"Supplier Quotation\",\"supplier\",\"like\",\"%%\"],[\"Supplier Quotation Item\",\"item_code\",\"like\",\"%%\"]],\"columns\":[[\"name\",\"Supplier Quotation\"],[\"supplier\",\"Supplier Quotation\"],[\"item_code\",\"Supplier Quotation Item\"],[\"description\",\"Supplier Quotation Item\"],[\"qty\",\"Supplier Quotation Item\"],[\"currency\",\"Supplier Quotation\"],[\"import_rate\",\"Supplier Quotation Item\"],[\"import_amount\",\"Supplier Quotation Item\"]],\"sort_by\":\"modified\",\"sort_order\":\"desc\",\"sort_by_next\":\"name\",\"sort_order_next\":\"desc\"}"
|
||||||
'doctype': 'Report',
|
},
|
||||||
'json': u'{"filters":[["Supplier Quotation","supplier","like","%%"],["Supplier Quotation Item","item_code","like","%%"]],"columns":[["name","Supplier Quotation"],["supplier","Supplier Quotation"],["item_code","Supplier Quotation Item"],["description","Supplier Quotation Item"],["qty","Supplier Quotation Item"],["currency","Supplier Quotation"],["import_rate","Supplier Quotation Item"],["import_amount","Supplier Quotation Item"]],"sort_by":"modified","sort_order":"desc","sort_by_next":"name","sort_order_next":"desc"}',
|
{
|
||||||
'name': '__common__',
|
"name": "Supplier Quotations",
|
||||||
'ref_doctype': u'Supplier Quotation'
|
"doctype": "Report"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Report, Supplier Quotations
|
|
||||||
{
|
|
||||||
'doctype': 'Report',
|
|
||||||
'name': u'Supplier Quotations'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,34 +1,27 @@
|
|||||||
# Search Criteria, itemwise_purchase_details
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 13:16:55',
|
"creation": "2012-04-11 13:16:55",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-13 11:15:06',
|
"modified": "2012-04-13 11:15:06"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"parent_doc_type": "Purchase Order",
|
||||||
|
"module": "Buying",
|
||||||
# These values are common for all Search Criteria
|
"standard": "Yes",
|
||||||
{
|
"sort_order": "DESC",
|
||||||
'columns': u'Purchase Order\x01ID,Purchase Order\x01Purchase Order Date,Purchase Order Item\x01Item Code,Purchase Order Item\x01Item Name,Purchase Order Item\x01Quantity,Purchase Order Item\x01Stock UOM,Purchase Order Item\x01Rate ,Purchase Order Item\x01Amount,Purchase Order\x01Net Total*,Purchase Order\x01Grand Total',
|
"filters": "{\"Purchase Order\\u0001Submitted\":1,\"Purchase Order\\u0001Status\":[],\"Purchase Order\\u0001Fiscal Year\":[]}",
|
||||||
'criteria_name': u'Itemwise Purchase Details',
|
"doc_type": "Purchase Order Item",
|
||||||
'doc_type': u'Purchase Order Item',
|
"name": "__common__",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u'{"Purchase Order\\u0001Submitted":1,"Purchase Order\\u0001Status":[],"Purchase Order\\u0001Fiscal Year":[]}',
|
"sort_by": "`tabPurchase Order`.`transaction_date`",
|
||||||
'module': u'Buying',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Itemwise Purchase Details",
|
||||||
'page_len': 50,
|
"columns": "Purchase Order\u0001ID,Purchase Order\u0001Purchase Order Date,Purchase Order Item\u0001Item Code,Purchase Order Item\u0001Item Name,Purchase Order Item\u0001Quantity,Purchase Order Item\u0001Stock UOM,Purchase Order Item\u0001Rate ,Purchase Order Item\u0001Amount,Purchase Order\u0001Net Total*,Purchase Order\u0001Grand Total"
|
||||||
'parent_doc_type': u'Purchase Order',
|
},
|
||||||
'sort_by': u'`tabPurchase Order`.`transaction_date`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "itemwise_purchase_details",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, itemwise_purchase_details
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'itemwise_purchase_details'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,37 +1,30 @@
|
|||||||
# Search Criteria, pending_po_items_to_bill
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "dhanalekshmi@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:51',
|
"creation": "2012-04-03 12:49:51",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:51',
|
"modified": "2012-04-03 12:49:51"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'dhanalekshmi@webnotestech.com'
|
{
|
||||||
},
|
"add_col": "(CASE WHEN (`tabPurchase Order Item`.qty- ifnull(`tabPurchase Order Item`.billed_qty, 0) > 0 ) THEN (`tabPurchase Order Item`.qty-ifnull(`tabPurchase Order Item`.billed_qty, 0) ) ELSE 0 END) AS \"Pending To Bill\"",
|
||||||
|
"parent_doc_type": "Purchase Order",
|
||||||
# These values are common for all Search Criteria
|
"module": "Buying",
|
||||||
{
|
"standard": "Yes",
|
||||||
'add_col': u'(CASE WHEN (`tabPurchase Order Item`.qty- ifnull(`tabPurchase Order Item`.billed_qty, 0) > 0 ) THEN (`tabPurchase Order Item`.qty-ifnull(`tabPurchase Order Item`.billed_qty, 0) ) ELSE 0 END) AS "Pending To Bill"',
|
"sort_order": "DESC",
|
||||||
'add_cond': u'(`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 or `tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.billed_qty, 0) > 0)\n`tabPurchase Order`.status != "Stopped"',
|
"filters": "{'Purchase Order\u0001Saved':1,'Purchase Order\u0001Submitted':1,'Purchase Order\u0001Status':'','Purchase Order\u0001Fiscal Year':''}",
|
||||||
'columns': u'Purchase Order\x01ID,Purchase Order\x01Supplier,Purchase Order\x01Supplier Name,Purchase Order\x01Status,Purchase Order\x01PO Date,Purchase Order\x01Fiscal Year,Purchase Order Item\x01Purchase Request No,Purchase Order Item\x01Item Code,Purchase Order Item\x01Item Name,Purchase Order Item\x01Description,Purchase Order Item\x01Quantity,Purchase Order Item\x01UOM,Purchase Order Item\x01Received Qty',
|
"description": "Pending PO Items To Bill",
|
||||||
'criteria_name': u'Pending PO Items To Bill',
|
"doc_type": "Purchase Order Item",
|
||||||
'description': u'Pending PO Items To Bill',
|
"name": "__common__",
|
||||||
'doc_type': u'Purchase Order Item',
|
"add_cond": "(`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 or `tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.billed_qty, 0) > 0)\n`tabPurchase Order`.status != \"Stopped\"",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Purchase Order\x01Saved':1,'Purchase Order\x01Submitted':1,'Purchase Order\x01Status':'','Purchase Order\x01Fiscal Year':''}",
|
"sort_by": "`tabPurchase Order`.`name`",
|
||||||
'module': u'Buying',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Pending PO Items To Bill",
|
||||||
'page_len': 50,
|
"columns": "Purchase Order\u0001ID,Purchase Order\u0001Supplier,Purchase Order\u0001Supplier Name,Purchase Order\u0001Status,Purchase Order\u0001PO Date,Purchase Order\u0001Fiscal Year,Purchase Order Item\u0001Purchase Request No,Purchase Order Item\u0001Item Code,Purchase Order Item\u0001Item Name,Purchase Order Item\u0001Description,Purchase Order Item\u0001Quantity,Purchase Order Item\u0001UOM,Purchase Order Item\u0001Received Qty"
|
||||||
'parent_doc_type': u'Purchase Order',
|
},
|
||||||
'sort_by': u'`tabPurchase Order`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "pending_po_items_to_bill",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, pending_po_items_to_bill
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'pending_po_items_to_bill'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,37 +1,30 @@
|
|||||||
# Search Criteria, pending_po_items_to_receive
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "dhanalekshmi@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-03 12:49:52',
|
"creation": "2012-04-03 12:49:52",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:52',
|
"modified": "2012-04-03 12:49:52"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'dhanalekshmi@webnotestech.com'
|
{
|
||||||
},
|
"add_col": "`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) AS \"Pending Quantity To Receive\"\n(`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0)) * `tabPurchase Order Item`.purchase_rate AS \"Pending Amount To Receive\"",
|
||||||
|
"parent_doc_type": "Purchase Order",
|
||||||
# These values are common for all Search Criteria
|
"module": "Buying",
|
||||||
{
|
"standard": "Yes",
|
||||||
'add_col': u'`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) AS "Pending Quantity To Receive"\n(`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0)) * `tabPurchase Order Item`.purchase_rate AS "Pending Amount To Receive"',
|
"sort_order": "DESC",
|
||||||
'add_cond': u'`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 \n`tabPurchase Order`.status != "Stopped"',
|
"filters": "{'Purchase Order\u0001Saved':1,'Purchase Order\u0001Submitted':1,'Purchase Order\u0001Status':'','Purchase Order\u0001Fiscal Year':''}",
|
||||||
'columns': u'Purchase Order\x01ID,Purchase Order\x01Supplier,Purchase Order\x01Supplier Name,Purchase Order\x01Status,Purchase Order\x01PO Date,Purchase Order\x01Fiscal Year,Purchase Order Item\x01Purchase Request No,Purchase Order Item\x01Item Code,Purchase Order Item\x01Item Name,Purchase Order Item\x01Description,Purchase Order Item\x01Quantity,Purchase Order Item\x01UOM,Purchase Order Item\x01Received Qty',
|
"description": "Pending PO Items To Receive",
|
||||||
'criteria_name': u'Pending PO Items To Receive',
|
"doc_type": "Purchase Order Item",
|
||||||
'description': u'Pending PO Items To Receive',
|
"name": "__common__",
|
||||||
'doc_type': u'Purchase Order Item',
|
"add_cond": "`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 \n`tabPurchase Order`.status != \"Stopped\"",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u"{'Purchase Order\x01Saved':1,'Purchase Order\x01Submitted':1,'Purchase Order\x01Status':'','Purchase Order\x01Fiscal Year':''}",
|
"sort_by": "`tabPurchase Order`.`name`",
|
||||||
'module': u'Buying',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Pending PO Items To Receive",
|
||||||
'page_len': 50,
|
"columns": "Purchase Order\u0001ID,Purchase Order\u0001Supplier,Purchase Order\u0001Supplier Name,Purchase Order\u0001Status,Purchase Order\u0001PO Date,Purchase Order\u0001Fiscal Year,Purchase Order Item\u0001Purchase Request No,Purchase Order Item\u0001Item Code,Purchase Order Item\u0001Item Name,Purchase Order Item\u0001Description,Purchase Order Item\u0001Quantity,Purchase Order Item\u0001UOM,Purchase Order Item\u0001Received Qty"
|
||||||
'parent_doc_type': u'Purchase Order',
|
},
|
||||||
'sort_by': u'`tabPurchase Order`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "pending_po_items_to_receive",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, pending_po_items_to_receive
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'pending_po_items_to_receive'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,39 +1,32 @@
|
|||||||
# Search Criteria, purchase_in_transit
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-04-11 13:16:55',
|
"creation": "2012-04-11 13:16:55",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-13 12:06:15',
|
"modified": "2012-04-13 12:06:15"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"add_col": "`tabPurchase Receipt`.`posting_date` AS 'PR Posting Date'",
|
||||||
|
"parent_doc_type": "Purchase Invoice",
|
||||||
# These values are common for all Search Criteria
|
"module": "Buying",
|
||||||
{
|
"standard": "Yes",
|
||||||
'add_col': u"`tabPurchase Receipt`.`posting_date` AS 'PR Posting Date'",
|
"sort_order": "DESC",
|
||||||
'add_cond': u"`tabPurchase Invoice Item`.`purchase_receipt` = `tabPurchase Receipt`.`name`\n`tabPurchase Receipt`.`posting_date` >= '%(pr_posting_date)s'\n`tabPurchase Receipt`.`posting_date` <= '%(pr_posting_date1)s'\n`tabPurchase Receipt`.`posting_date` > `tabPurchase Invoice`.`posting_date`",
|
"filters": "{\"Purchase Invoice\\u0001Submitted\":1,\"Purchase Invoice\\u0001Is Opening\":[\"\"],\"Purchase Invoice\\u0001Fiscal Year\":[\"\"]}",
|
||||||
'add_tab': u'`tabPurchase Receipt`',
|
"dis_filters": "`tabPurchase Receipt`.`pr_posting_date`",
|
||||||
'columns': u'Purchase Invoice\x01ID,Purchase Invoice\x01Posting Date,Purchase Invoice\x01Credit To,Purchase Invoice Item\x01Qty,Purchase Invoice Item\x01Amount,Purchase Invoice Item\x01Pur Order,Purchase Invoice Item\x01Pur Receipt',
|
"description": "List of PR whose posting date is after PV posting date",
|
||||||
'criteria_name': u'Purchase in Transit',
|
"doc_type": "Purchase Invoice Item",
|
||||||
'description': u'List of PR whose posting date is after PV posting date',
|
"name": "__common__",
|
||||||
'dis_filters': u'`tabPurchase Receipt`.`pr_posting_date`',
|
"add_tab": "`tabPurchase Receipt`",
|
||||||
'doc_type': u'Purchase Invoice Item',
|
"add_cond": "`tabPurchase Invoice Item`.`purchase_receipt` = `tabPurchase Receipt`.`name`\n`tabPurchase Receipt`.`posting_date` >= '%(pr_posting_date)s'\n`tabPurchase Receipt`.`posting_date` <= '%(pr_posting_date1)s'\n`tabPurchase Receipt`.`posting_date` > `tabPurchase Invoice`.`posting_date`",
|
||||||
'doctype': 'Search Criteria',
|
"doctype": "Search Criteria",
|
||||||
'filters': u'{"Purchase Invoice\\u0001Submitted":1,"Purchase Invoice\\u0001Is Opening":[""],"Purchase Invoice\\u0001Fiscal Year":[""]}',
|
"sort_by": "`tabPurchase Invoice`.`name`",
|
||||||
'module': u'Buying',
|
"page_len": 50,
|
||||||
'name': '__common__',
|
"criteria_name": "Purchase in Transit",
|
||||||
'page_len': 50,
|
"columns": "Purchase Invoice\u0001ID,Purchase Invoice\u0001Posting Date,Purchase Invoice\u0001Credit To,Purchase Invoice Item\u0001Qty,Purchase Invoice Item\u0001Amount,Purchase Invoice Item\u0001Pur Order,Purchase Invoice Item\u0001Pur Receipt"
|
||||||
'parent_doc_type': u'Purchase Invoice',
|
},
|
||||||
'sort_by': u'`tabPurchase Invoice`.`name`',
|
{
|
||||||
'sort_order': u'DESC',
|
"name": "purchase_in_transit",
|
||||||
'standard': u'Yes'
|
"doctype": "Search Criteria"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Search Criteria, purchase_in_transit
|
|
||||||
{
|
|
||||||
'doctype': 'Search Criteria',
|
|
||||||
'name': u'purchase_in_transit'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,105 +1,80 @@
|
|||||||
# DocType, Feed
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-07-03 13:29:42',
|
"creation": "2012-07-03 13:29:42",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-10-15 15:23:02',
|
"modified": "2012-10-15 15:23:02"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'Administrator'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"name": "__common__",
|
||||||
# These values are common for all DocType
|
"colour": "White:FFF",
|
||||||
{
|
"module": "Home",
|
||||||
'autoname': u'_FEED.#####',
|
"doctype": "DocType",
|
||||||
'colour': u'White:FFF',
|
"version": 1,
|
||||||
u'doctype': u'DocType',
|
"autoname": "_FEED.#####",
|
||||||
'module': u'Home',
|
"show_in_menu": 0
|
||||||
u'name': u'__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Feed",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "fields"
|
||||||
u'doctype': u'DocField',
|
},
|
||||||
u'name': u'__common__',
|
{
|
||||||
'parent': u'Feed',
|
"parent": "Feed",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType',
|
"name": "__common__",
|
||||||
'permlevel': 0
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"role": "System Manager",
|
||||||
# These values are common for all DocPerm
|
"permlevel": 0,
|
||||||
{
|
"parentfield": "permissions"
|
||||||
u'doctype': u'DocPerm',
|
},
|
||||||
u'name': u'__common__',
|
{
|
||||||
'parent': u'Feed',
|
"name": "Feed",
|
||||||
'parentfield': u'permissions',
|
"doctype": "DocType"
|
||||||
'parenttype': u'DocType',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'read': 1,
|
"doctype": "DocField",
|
||||||
'role': u'System Manager'
|
"fieldname": "feed_type",
|
||||||
},
|
"fieldtype": "Select",
|
||||||
|
"label": "Feed Type"
|
||||||
# DocType, Feed
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocType',
|
"doctype": "DocField",
|
||||||
u'name': u'Feed'
|
"fieldname": "doc_type",
|
||||||
},
|
"fieldtype": "Data",
|
||||||
|
"label": "Doc Type"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'feed_type',
|
"fieldname": "doc_name",
|
||||||
'fieldtype': u'Select',
|
"fieldtype": "Data",
|
||||||
'label': u'Feed Type'
|
"label": "Doc Name"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# DocField
|
"doctype": "DocField",
|
||||||
{
|
"fieldname": "subject",
|
||||||
u'doctype': u'DocField',
|
"fieldtype": "Data",
|
||||||
'fieldname': u'doc_type',
|
"label": "Subject"
|
||||||
'fieldtype': u'Data',
|
},
|
||||||
'label': u'Doc Type'
|
{
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"fieldname": "color",
|
||||||
# DocField
|
"fieldtype": "Data",
|
||||||
{
|
"label": "Color"
|
||||||
u'doctype': u'DocField',
|
},
|
||||||
'fieldname': u'doc_name',
|
{
|
||||||
'fieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'label': u'Doc Name'
|
"fieldname": "full_name",
|
||||||
},
|
"fieldtype": "Data",
|
||||||
|
"label": "Full Name"
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"doctype": "DocPerm"
|
||||||
'fieldname': u'subject',
|
}
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Subject'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'color',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Color'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'full_name',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'label': u'Full Name'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
u'doctype': u'DocPerm'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
# Page, activity
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-02-29 11:59:13',
|
"creation": "2012-02-29 11:59:13",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-02-29 12:11:46',
|
"modified": "2012-02-29 12:11:46"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Activity",
|
||||||
# These values are common for all Page
|
"module": "Home",
|
||||||
{
|
"doctype": "Page",
|
||||||
'doctype': 'Page',
|
"page_name": "activity",
|
||||||
'module': u'Home',
|
"standard": "Yes"
|
||||||
'name': '__common__',
|
},
|
||||||
'page_name': u'activity',
|
{
|
||||||
'standard': u'Yes',
|
"name": "activity",
|
||||||
'title': u'Activity'
|
"doctype": "Page"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page, activity
|
|
||||||
{
|
|
||||||
'doctype': 'Page',
|
|
||||||
'name': u'activity'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,28 +1,21 @@
|
|||||||
# Page, attributions
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-03-01 12:30:42',
|
"creation": "2012-03-01 12:30:42",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-03-01 12:30:42',
|
"modified": "2012-03-01 12:30:42"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Attributions",
|
||||||
# These values are common for all Page
|
"module": "Home",
|
||||||
{
|
"doctype": "Page",
|
||||||
'doctype': 'Page',
|
"page_name": "attributions",
|
||||||
'module': u'Home',
|
"standard": "Yes"
|
||||||
'name': '__common__',
|
},
|
||||||
'page_name': u'attributions',
|
{
|
||||||
'standard': u'Yes',
|
"name": "attributions",
|
||||||
'title': u'Attributions'
|
"doctype": "Page"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page, attributions
|
|
||||||
{
|
|
||||||
'doctype': 'Page',
|
|
||||||
'name': u'attributions'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
.sprite-hr{ background-position: 0 -439px; width: 40px; height: 32px; }
|
.sprite-hr{ background-position: 0 -439px; width: 40px; height: 32px; }
|
||||||
.sprite-kb{ background-position: 0 -521px; width: 24px; height: 39px; }
|
.sprite-kb{ background-position: 0 -521px; width: 24px; height: 39px; }
|
||||||
.sprite-messages{ background-position: 0 -610px; width: 40px; height: 26px; }
|
.sprite-messages{ background-position: 0 -610px; width: 40px; height: 26px; }
|
||||||
.sprite-production{ background-position: 0 -686px; width: 40px; height: 33px; }
|
.sprite-manufacturing{ background-position: 0 -686px; width: 40px; height: 33px; }
|
||||||
.sprite-project{ background-position: 0 -769px; width: 40px; height: 22px; }
|
.sprite-project{ background-position: 0 -769px; width: 40px; height: 22px; }
|
||||||
.sprite-report{ background-position: 0 -841px; width: 29px; height: 40px; }
|
.sprite-report{ background-position: 0 -841px; width: 29px; height: 40px; }
|
||||||
.sprite-selling{ background-position: 0 -931px; width: 34px; height: 40px; }
|
.sprite-selling{ background-position: 0 -931px; width: 34px; height: 40px; }
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
.sprite-support{ margin-top: 8px; margin-left: 8px; }
|
.sprite-support{ margin-top: 8px; margin-left: 8px; }
|
||||||
.sprite-hr{ margin-top: 12px; margin-left: 8px; }
|
.sprite-hr{ margin-top: 12px; margin-left: 8px; }
|
||||||
.sprite-project{ margin-top: 16px; margin-left: 8px; }
|
.sprite-project{ margin-top: 16px; margin-left: 8px; }
|
||||||
.sprite-production{ margin-top: 10px; margin-left: 8px; }
|
.sprite-manufacturing{ margin-top: 10px; margin-left: 8px; }
|
||||||
.sprite-website{ margin-top: 8px; margin-left: 8px; }
|
.sprite-website{ margin-top: 8px; margin-left: 8px; }
|
||||||
.sprite-setting{ margin-top: 8px; margin-left: 8px; }
|
.sprite-setting{ margin-top: 8px; margin-left: 8px; }
|
||||||
.sprite-report{ margin-top: 8px; margin-left: 14px; }
|
.sprite-report{ margin-top: 8px; margin-left: 14px; }
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ erpnext.desktop.render = function() {
|
|||||||
'Support': { sprite: 'support', label: 'Support'},
|
'Support': { sprite: 'support', label: 'Support'},
|
||||||
'HR': { sprite: 'hr', label: 'Human<br />Resources'},
|
'HR': { sprite: 'hr', label: 'Human<br />Resources'},
|
||||||
'Projects': { sprite: 'project', label: 'Projects'},
|
'Projects': { sprite: 'project', label: 'Projects'},
|
||||||
'Production': { sprite: 'production', label: 'Production'},
|
'Manufacturing': { sprite: 'manufacturing', label: 'Manufacturing'},
|
||||||
'Website': { sprite: 'website', label: 'Website'},
|
'Website': { sprite: 'website', label: 'Website'},
|
||||||
'Activity': { sprite: 'feed', label: 'Activity'},
|
'Activity': { sprite: 'feed', label: 'Activity'},
|
||||||
'Setup': { sprite: 'setting', label: 'Setup'},
|
'Setup': { sprite: 'setting', label: 'Setup'},
|
||||||
|
|||||||
@@ -1,28 +1,21 @@
|
|||||||
# Page, desktop
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "Administrator",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2012-02-24 11:37:43',
|
"creation": "2012-02-24 11:37:43",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-02-24 11:37:43',
|
"modified": "2012-02-24 11:37:43"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'Administrator'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"title": "Desktop",
|
||||||
# These values are common for all Page
|
"module": "Home",
|
||||||
{
|
"doctype": "Page",
|
||||||
'doctype': 'Page',
|
"page_name": "desktop",
|
||||||
'module': u'Home',
|
"standard": "Yes"
|
||||||
'name': '__common__',
|
},
|
||||||
'page_name': u'desktop',
|
{
|
||||||
'standard': u'Yes',
|
"name": "desktop",
|
||||||
'title': u'Desktop'
|
"doctype": "Page"
|
||||||
},
|
}
|
||||||
|
|
||||||
# Page, desktop
|
|
||||||
{
|
|
||||||
'doctype': 'Page',
|
|
||||||
'name': u'desktop'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,47 +1,36 @@
|
|||||||
# DocType Mapper, Appraisal Template-Appraisal
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "ashwini@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-09-01 15:47:59',
|
"creation": "2010-09-01 15:47:59",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2012-04-03 12:49:50',
|
"modified": "2012-04-03 12:49:50"
|
||||||
'modified_by': u'Administrator',
|
},
|
||||||
'owner': u'ashwini@webnotestech.com'
|
{
|
||||||
},
|
"match_id": 0,
|
||||||
|
"parent": "Appraisal Template-Appraisal",
|
||||||
# These values are common for all Table Mapper Detail
|
"from_field": "kra_sheet",
|
||||||
{
|
"doctype": "Table Mapper Detail",
|
||||||
'doctype': u'Table Mapper Detail',
|
"to_table": "Appraisal Goal",
|
||||||
'from_field': u'kra_sheet',
|
"name": "__common__",
|
||||||
'from_table': u'Appraisal Template Goal',
|
"to_field": "appraisal_details",
|
||||||
'match_id': 0,
|
"parenttype": "DocType Mapper",
|
||||||
'name': '__common__',
|
"from_table": "Appraisal Template Goal",
|
||||||
'parent': u'Appraisal Template-Appraisal',
|
"validation_logic": "name is not Null",
|
||||||
'parentfield': u'table_mapper_details',
|
"parentfield": "table_mapper_details"
|
||||||
'parenttype': u'DocType Mapper',
|
},
|
||||||
'to_field': u'appraisal_details',
|
{
|
||||||
'to_table': u'Appraisal Goal',
|
"name": "__common__",
|
||||||
'validation_logic': u'name is not Null'
|
"to_doctype": "Appraisal",
|
||||||
},
|
"module": "HR",
|
||||||
|
"doctype": "DocType Mapper",
|
||||||
# These values are common for all DocType Mapper
|
"from_doctype": "Appraisal Template"
|
||||||
{
|
},
|
||||||
'doctype': 'DocType Mapper',
|
{
|
||||||
'from_doctype': u'Appraisal Template',
|
"name": "Appraisal Template-Appraisal",
|
||||||
'module': u'HR',
|
"doctype": "DocType Mapper"
|
||||||
'name': '__common__',
|
},
|
||||||
'to_doctype': u'Appraisal'
|
{
|
||||||
},
|
"doctype": "Table Mapper Detail"
|
||||||
|
}
|
||||||
# DocType Mapper, Appraisal Template-Appraisal
|
|
||||||
{
|
|
||||||
'doctype': 'DocType Mapper',
|
|
||||||
'name': u'Appraisal Template-Appraisal'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': u'Table Mapper Detail'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,131 +1,100 @@
|
|||||||
# DocType Mapper, Salary Structure-Salary Slip
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "harshada@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
'creation': '2010-12-14 10:33:11',
|
"creation": "2010-12-14 10:33:11",
|
||||||
'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
'modified': '2011-09-15 15:04:44',
|
"modified": "2011-09-15 15:04:44"
|
||||||
'modified_by': 'Administrator',
|
},
|
||||||
'owner': 'harshada@webnotestech.com'
|
{
|
||||||
},
|
"name": "__common__",
|
||||||
|
"parent": "Salary Structure-Salary Slip",
|
||||||
# These values are common for all Table Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"parenttype": "DocType Mapper",
|
||||||
'doctype': 'Table Mapper Detail',
|
"validation_logic": "name is not null",
|
||||||
'name': '__common__',
|
"parentfield": "table_mapper_details"
|
||||||
'parent': 'Salary Structure-Salary Slip',
|
},
|
||||||
'parentfield': 'table_mapper_details',
|
{
|
||||||
'parenttype': 'DocType Mapper',
|
"map": "Yes",
|
||||||
'validation_logic': 'name is not null'
|
"name": "__common__",
|
||||||
},
|
"parent": "Salary Structure-Salary Slip",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# These values are common for all Field Mapper Detail
|
"parenttype": "DocType Mapper",
|
||||||
{
|
"parentfield": "field_mapper_details"
|
||||||
'doctype': 'Field Mapper Detail',
|
},
|
||||||
'map': 'Yes',
|
{
|
||||||
'name': '__common__',
|
"name": "__common__",
|
||||||
'parent': 'Salary Structure-Salary Slip',
|
"to_doctype": "Salary Slip",
|
||||||
'parentfield': 'field_mapper_details',
|
"module": "HR",
|
||||||
'parenttype': 'DocType Mapper'
|
"doctype": "DocType Mapper",
|
||||||
},
|
"from_doctype": "Salary Structure"
|
||||||
|
},
|
||||||
# These values are common for all DocType Mapper
|
{
|
||||||
{
|
"name": "Salary Structure-Salary Slip",
|
||||||
'doctype': 'DocType Mapper',
|
"doctype": "DocType Mapper"
|
||||||
'from_doctype': 'Salary Structure',
|
},
|
||||||
'module': 'HR',
|
{
|
||||||
'name': '__common__',
|
"to_field": "gross_pay",
|
||||||
'to_doctype': 'Salary Slip'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"match_id": 0,
|
||||||
|
"from_field": "total_earning"
|
||||||
# DocType Mapper, Salary Structure-Salary Slip
|
},
|
||||||
{
|
{
|
||||||
'doctype': 'DocType Mapper',
|
"to_field": "e_amount",
|
||||||
'name': 'Salary Structure-Salary Slip'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"match_id": 1,
|
||||||
|
"from_field": "modified_value"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': 'Field Mapper Detail',
|
"to_field": "d_amount",
|
||||||
'from_field': 'total_earning',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 0,
|
"match_id": 2,
|
||||||
'to_field': 'gross_pay'
|
"from_field": "d_modified_amt"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"to_field": "e_modified_amount",
|
||||||
{
|
"doctype": "Field Mapper Detail",
|
||||||
'doctype': 'Field Mapper Detail',
|
"match_id": 1,
|
||||||
'from_field': 'modified_value',
|
"from_field": "modified_value"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': 'e_amount'
|
{
|
||||||
},
|
"to_field": "e_depends_on_lwp",
|
||||||
|
"doctype": "Field Mapper Detail",
|
||||||
# Field Mapper Detail
|
"match_id": 1,
|
||||||
{
|
"from_field": "depend_on_lwp"
|
||||||
'doctype': 'Field Mapper Detail',
|
},
|
||||||
'from_field': 'd_modified_amt',
|
{
|
||||||
'match_id': 2,
|
"to_field": "d_modified_amount",
|
||||||
'to_field': 'd_amount'
|
"doctype": "Field Mapper Detail",
|
||||||
},
|
"match_id": 2,
|
||||||
|
"from_field": "d_modified_amt"
|
||||||
# Field Mapper Detail
|
},
|
||||||
{
|
{
|
||||||
'doctype': 'Field Mapper Detail',
|
"to_field": "d_depends_on_lwp",
|
||||||
'from_field': 'modified_value',
|
"doctype": "Field Mapper Detail",
|
||||||
'match_id': 1,
|
"match_id": 2,
|
||||||
'to_field': 'e_modified_amount'
|
"from_field": "depend_on_lwp"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
# Field Mapper Detail
|
"to_table": "Salary Slip",
|
||||||
{
|
"doctype": "Table Mapper Detail",
|
||||||
'doctype': 'Field Mapper Detail',
|
"match_id": 0,
|
||||||
'from_field': 'depend_on_lwp',
|
"from_table": "Salary Structure"
|
||||||
'match_id': 1,
|
},
|
||||||
'to_field': 'e_depends_on_lwp'
|
{
|
||||||
},
|
"match_id": 1,
|
||||||
|
"to_field": "earning_details",
|
||||||
# Field Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"from_field": "earning_details",
|
||||||
'doctype': 'Field Mapper Detail',
|
"from_table": "Salary Structure Earning",
|
||||||
'from_field': 'd_modified_amt',
|
"to_table": "Salary Slip Earning"
|
||||||
'match_id': 2,
|
},
|
||||||
'to_field': 'd_modified_amount'
|
{
|
||||||
},
|
"match_id": 2,
|
||||||
|
"to_field": "deduction_details",
|
||||||
# Field Mapper Detail
|
"doctype": "Table Mapper Detail",
|
||||||
{
|
"from_field": "deduction_details",
|
||||||
'doctype': 'Field Mapper Detail',
|
"from_table": "Salary Structure Deduction",
|
||||||
'from_field': 'depend_on_lwp',
|
"to_table": "Salary Slip Deduction"
|
||||||
'match_id': 2,
|
}
|
||||||
'to_field': 'd_depends_on_lwp'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': 'Table Mapper Detail',
|
|
||||||
'from_table': 'Salary Structure',
|
|
||||||
'match_id': 0,
|
|
||||||
'to_table': 'Salary Slip'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': 'Table Mapper Detail',
|
|
||||||
'from_field': 'earning_details',
|
|
||||||
'from_table': 'Salary Structure Earning',
|
|
||||||
'match_id': 1,
|
|
||||||
'to_field': 'earning_details',
|
|
||||||
'to_table': 'Salary Slip Earning'
|
|
||||||
},
|
|
||||||
|
|
||||||
# Table Mapper Detail
|
|
||||||
{
|
|
||||||
'doctype': 'Table Mapper Detail',
|
|
||||||
'from_field': 'deduction_details',
|
|
||||||
'from_table': 'Salary Structure Deduction',
|
|
||||||
'match_id': 2,
|
|
||||||
'to_field': 'deduction_details',
|
|
||||||
'to_table': 'Salary Slip Deduction'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,350 +1,293 @@
|
|||||||
# DocType, Appraisal
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "ashwini@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-11-16 10:33:39',
|
"creation": "2012-11-16 10:33:39",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-11-16 15:22:59',
|
"modified": "2012-11-16 15:22:59"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'ashwini@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"is_submittable": 1,
|
||||||
# These values are common for all DocType
|
"search_fields": "status, employee, employee_name",
|
||||||
{
|
"module": "HR",
|
||||||
'_last_update': u'1316075905',
|
"doctype": "DocType",
|
||||||
'autoname': u'APRSL.#####',
|
"server_code_error": " ",
|
||||||
'colour': u'White:FFF',
|
"autoname": "APRSL.#####",
|
||||||
u'doctype': u'DocType',
|
"name": "__common__",
|
||||||
'is_submittable': 1,
|
"colour": "White:FFF",
|
||||||
'module': u'HR',
|
"_last_update": "1316075905",
|
||||||
u'name': u'__common__',
|
"show_in_menu": 0,
|
||||||
'search_fields': u'status, employee, employee_name',
|
"version": 1
|
||||||
'section_style': u'Simple',
|
},
|
||||||
'server_code_error': u' ',
|
{
|
||||||
'show_in_menu': 0,
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Appraisal",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
u'name': u'__common__',
|
"name": "__common__",
|
||||||
'parent': u'Appraisal',
|
"parent": "Appraisal",
|
||||||
'parentfield': u'fields',
|
"read": 1,
|
||||||
'parenttype': u'DocType'
|
"doctype": "DocPerm",
|
||||||
},
|
"parenttype": "DocType",
|
||||||
|
"parentfield": "permissions"
|
||||||
# These values are common for all DocPerm
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocPerm',
|
"name": "Appraisal",
|
||||||
u'name': u'__common__',
|
"doctype": "DocType"
|
||||||
'parent': u'Appraisal',
|
},
|
||||||
'parentfield': u'permissions',
|
{
|
||||||
'parenttype': u'DocType',
|
"oldfieldtype": "Section Break",
|
||||||
'read': 1
|
"doctype": "DocField",
|
||||||
},
|
"label": "Employee Details",
|
||||||
|
"fieldname": "employee_details",
|
||||||
# DocType, Appraisal
|
"fieldtype": "Section Break",
|
||||||
{
|
"permlevel": 0
|
||||||
u'doctype': u'DocType',
|
},
|
||||||
u'name': u'Appraisal'
|
{
|
||||||
},
|
"description": "Select template from which you want to get the Goals",
|
||||||
|
"oldfieldtype": "Link",
|
||||||
# DocField
|
"colour": "White:FFF",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "Appraisal Template",
|
||||||
'fieldname': u'employee_details',
|
"oldfieldname": "kra_template",
|
||||||
'fieldtype': u'Section Break',
|
"options": "Appraisal Template",
|
||||||
'label': u'Employee Details',
|
"fieldname": "kra_template",
|
||||||
'oldfieldtype': u'Section Break',
|
"fieldtype": "Link",
|
||||||
'permlevel': 0
|
"reqd": 1,
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"doctype": "DocField",
|
||||||
'colour': u'White:FFF',
|
"description": "Select the Employee for whom you are creating the Appraisal.",
|
||||||
'description': u'Select template from which you want to get the Goals',
|
"search_index": 1,
|
||||||
u'doctype': u'DocField',
|
"colour": "White:FFF",
|
||||||
'fieldname': u'kra_template',
|
"oldfieldtype": "Link",
|
||||||
'fieldtype': u'Link',
|
"label": "For Employee",
|
||||||
'label': u'Appraisal Template',
|
"oldfieldname": "employee",
|
||||||
'oldfieldname': u'kra_template',
|
"permlevel": 0,
|
||||||
'oldfieldtype': u'Link',
|
"trigger": "Client",
|
||||||
'options': u'Appraisal Template',
|
"fieldname": "employee",
|
||||||
'permlevel': 0,
|
"fieldtype": "Link",
|
||||||
'reqd': 1
|
"depends_on": "kra_template",
|
||||||
},
|
"reqd": 1,
|
||||||
|
"options": "Employee",
|
||||||
# DocField
|
"in_filter": 1
|
||||||
{
|
},
|
||||||
'colour': u'White:FFF',
|
{
|
||||||
'depends_on': u'kra_template',
|
"oldfieldtype": "Data",
|
||||||
'description': u'Select the Employee for whom you are creating the Appraisal.',
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "For Employee Name",
|
||||||
'fieldname': u'employee',
|
"oldfieldname": "employee_name",
|
||||||
'fieldtype': u'Link',
|
"fieldname": "employee_name",
|
||||||
'in_filter': 1,
|
"fieldtype": "Data",
|
||||||
'label': u'For Employee',
|
"depends_on": "kra_template",
|
||||||
'oldfieldname': u'employee',
|
"permlevel": 1,
|
||||||
'oldfieldtype': u'Link',
|
"in_filter": 1
|
||||||
'options': u'Employee',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'reqd': 1,
|
"depends_on": "kra_template",
|
||||||
'search_index': 1,
|
"doctype": "DocField",
|
||||||
'trigger': u'Client'
|
"width": "50%",
|
||||||
},
|
"fieldname": "column_break0",
|
||||||
|
"fieldtype": "Column Break",
|
||||||
# DocField
|
"oldfieldtype": "Column Break",
|
||||||
{
|
"permlevel": 0
|
||||||
'depends_on': u'kra_template',
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'employee_name',
|
"permlevel": 1,
|
||||||
'fieldtype': u'Data',
|
"depends_on": "kra_template",
|
||||||
'in_filter': 1,
|
"no_copy": 1,
|
||||||
'label': u'For Employee Name',
|
"search_index": 1,
|
||||||
'oldfieldname': u'employee_name',
|
"colour": "White:FFF",
|
||||||
'oldfieldtype': u'Data',
|
"doctype": "DocField",
|
||||||
'permlevel': 1
|
"label": "Status",
|
||||||
},
|
"oldfieldname": "status",
|
||||||
|
"default": "Draft",
|
||||||
# DocField
|
"fieldname": "status",
|
||||||
{
|
"fieldtype": "Select",
|
||||||
'depends_on': u'kra_template',
|
"oldfieldtype": "Select",
|
||||||
u'doctype': u'DocField',
|
"reqd": 1,
|
||||||
'fieldname': u'column_break0',
|
"options": "\nDraft\nSubmitted\nCompleted\nCancelled",
|
||||||
'fieldtype': u'Column Break',
|
"in_filter": 1
|
||||||
'oldfieldtype': u'Column Break',
|
},
|
||||||
'permlevel': 0,
|
{
|
||||||
'width': u'50%'
|
"oldfieldtype": "Date",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Start Date",
|
||||||
# DocField
|
"oldfieldname": "start_date",
|
||||||
{
|
"fieldname": "start_date",
|
||||||
'colour': u'White:FFF',
|
"fieldtype": "Date",
|
||||||
'default': u'Draft',
|
"depends_on": "kra_template",
|
||||||
'depends_on': u'kra_template',
|
"reqd": 1,
|
||||||
u'doctype': u'DocField',
|
"permlevel": 0,
|
||||||
'fieldname': u'status',
|
"in_filter": 1
|
||||||
'fieldtype': u'Select',
|
},
|
||||||
'in_filter': 1,
|
{
|
||||||
'label': u'Status',
|
"oldfieldtype": "Date",
|
||||||
'no_copy': 1,
|
"doctype": "DocField",
|
||||||
'oldfieldname': u'status',
|
"label": "End Date",
|
||||||
'oldfieldtype': u'Select',
|
"oldfieldname": "end_date",
|
||||||
'options': u'\nDraft\nSubmitted\nCompleted\nCancelled',
|
"fieldname": "end_date",
|
||||||
'permlevel': 1,
|
"fieldtype": "Date",
|
||||||
'reqd': 1,
|
"depends_on": "kra_template",
|
||||||
'search_index': 1
|
"reqd": 1,
|
||||||
},
|
"permlevel": 0,
|
||||||
|
"in_filter": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'depends_on': u'kra_template',
|
"oldfieldtype": "Section Break",
|
||||||
u'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'start_date',
|
"label": "Goals",
|
||||||
'fieldtype': u'Date',
|
"permlevel": 0,
|
||||||
'in_filter': 1,
|
"fieldname": "section_break0",
|
||||||
'label': u'Start Date',
|
"fieldtype": "Section Break",
|
||||||
'oldfieldname': u'start_date',
|
"depends_on": "kra_template",
|
||||||
'oldfieldtype': u'Date',
|
"options": "Simple"
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"oldfieldtype": "Table",
|
||||||
|
"colour": "White:FFF",
|
||||||
# DocField
|
"allow_on_submit": 0,
|
||||||
{
|
"doctype": "DocField",
|
||||||
'depends_on': u'kra_template',
|
"label": "Appraisal Goals",
|
||||||
u'doctype': u'DocField',
|
"oldfieldname": "appraisal_details",
|
||||||
'fieldname': u'end_date',
|
"permlevel": 0,
|
||||||
'fieldtype': u'Date',
|
"fieldname": "appraisal_details",
|
||||||
'in_filter': 1,
|
"fieldtype": "Table",
|
||||||
'label': u'End Date',
|
"options": "Appraisal Goal"
|
||||||
'oldfieldname': u'end_date',
|
},
|
||||||
'oldfieldtype': u'Date',
|
{
|
||||||
'permlevel': 0,
|
"oldfieldtype": "Button",
|
||||||
'reqd': 1
|
"allow_on_submit": 0,
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"label": "Calculate Total Score",
|
||||||
# DocField
|
"permlevel": 0,
|
||||||
{
|
"fieldname": "calculate_total_score",
|
||||||
'depends_on': u'kra_template',
|
"fieldtype": "Button",
|
||||||
u'doctype': u'DocField',
|
"options": "calculate_total"
|
||||||
'fieldname': u'section_break0',
|
},
|
||||||
'fieldtype': u'Section Break',
|
{
|
||||||
'label': u'Goals',
|
"no_copy": 1,
|
||||||
'oldfieldtype': u'Section Break',
|
"oldfieldtype": "Currency",
|
||||||
'options': u'Simple',
|
"doctype": "DocField",
|
||||||
'permlevel': 0
|
"label": "Total Score (Out of 5)",
|
||||||
},
|
"oldfieldname": "total_score",
|
||||||
|
"fieldname": "total_score",
|
||||||
# DocField
|
"fieldtype": "Currency",
|
||||||
{
|
"permlevel": 1
|
||||||
'allow_on_submit': 0,
|
},
|
||||||
'colour': u'White:FFF',
|
{
|
||||||
u'doctype': u'DocField',
|
"depends_on": "kra_template",
|
||||||
'fieldname': u'appraisal_details',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Table',
|
"fieldname": "section_break1",
|
||||||
'label': u'Appraisal Goals',
|
"fieldtype": "Section Break",
|
||||||
'oldfieldname': u'appraisal_details',
|
"permlevel": 0
|
||||||
'oldfieldtype': u'Table',
|
},
|
||||||
'options': u'Appraisal Goal',
|
{
|
||||||
'permlevel': 0
|
"description": "Any other comments, noteworthy effort that should go in the records.",
|
||||||
},
|
"colour": "White:FFF",
|
||||||
|
"doctype": "DocField",
|
||||||
# DocField
|
"label": "Comments",
|
||||||
{
|
"fieldname": "comments",
|
||||||
'allow_on_submit': 0,
|
"fieldtype": "Text",
|
||||||
u'doctype': u'DocField',
|
"permlevel": 0
|
||||||
'fieldname': u'calculate_total_score',
|
},
|
||||||
'fieldtype': u'Button',
|
{
|
||||||
'label': u'Calculate Total Score',
|
"depends_on": "kra_template",
|
||||||
'oldfieldtype': u'Button',
|
"doctype": "DocField",
|
||||||
'options': u'calculate_total',
|
"label": "Other Details",
|
||||||
'permlevel': 0
|
"fieldname": "other_details",
|
||||||
},
|
"fieldtype": "Section Break",
|
||||||
|
"permlevel": 0
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
u'doctype': u'DocField',
|
"oldfieldtype": "Link",
|
||||||
'fieldname': u'total_score',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Company",
|
||||||
'label': u'Total Score (Out of 5)',
|
"oldfieldname": "company",
|
||||||
'no_copy': 1,
|
"permlevel": 0,
|
||||||
'oldfieldname': u'total_score',
|
"fieldname": "company",
|
||||||
'oldfieldtype': u'Currency',
|
"fieldtype": "Select",
|
||||||
'permlevel': 1
|
"reqd": 1,
|
||||||
},
|
"options": "link:Company",
|
||||||
|
"in_filter": 1
|
||||||
# DocField
|
},
|
||||||
{
|
{
|
||||||
'depends_on': u'kra_template',
|
"oldfieldtype": "Select",
|
||||||
u'doctype': u'DocField',
|
"doctype": "DocField",
|
||||||
'fieldname': u'section_break1',
|
"label": "Fiscal Year",
|
||||||
'fieldtype': u'Section Break',
|
"oldfieldname": "fiscal_year",
|
||||||
'permlevel': 0
|
"permlevel": 0,
|
||||||
},
|
"fieldname": "fiscal_year",
|
||||||
|
"fieldtype": "Select",
|
||||||
# DocField
|
"reqd": 1,
|
||||||
{
|
"options": "link:Fiscal Year",
|
||||||
'colour': u'White:FFF',
|
"in_filter": 1
|
||||||
'description': u'Any other comments, noteworthy effort that should go in the records.',
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'comments',
|
"print_hide": 1,
|
||||||
'fieldtype': u'Text',
|
"no_copy": 1,
|
||||||
'label': u'Comments',
|
"oldfieldtype": "Date",
|
||||||
'permlevel': 0
|
"doctype": "DocField",
|
||||||
},
|
"label": "Amendment Date",
|
||||||
|
"oldfieldname": "amendment_date",
|
||||||
# DocField
|
"width": "160px",
|
||||||
{
|
"fieldname": "amendment_date",
|
||||||
'depends_on': u'kra_template',
|
"fieldtype": "Date",
|
||||||
u'doctype': u'DocField',
|
"hidden": 1,
|
||||||
'fieldname': u'other_details',
|
"permlevel": 1,
|
||||||
'fieldtype': u'Section Break',
|
"report_hide": 1
|
||||||
'label': u'Other Details',
|
},
|
||||||
'permlevel': 0
|
{
|
||||||
},
|
"print_hide": 1,
|
||||||
|
"no_copy": 1,
|
||||||
# DocField
|
"oldfieldtype": "Data",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocField',
|
"label": "Amended From",
|
||||||
'fieldname': u'company',
|
"oldfieldname": "amended_from",
|
||||||
'fieldtype': u'Select',
|
"width": "150px",
|
||||||
'in_filter': 1,
|
"fieldname": "amended_from",
|
||||||
'label': u'Company',
|
"fieldtype": "Data",
|
||||||
'oldfieldname': u'company',
|
"hidden": 1,
|
||||||
'oldfieldtype': u'Link',
|
"permlevel": 1,
|
||||||
'options': u'link:Company',
|
"report_hide": 1
|
||||||
'permlevel': 0,
|
},
|
||||||
'reqd': 1
|
{
|
||||||
},
|
"create": 1,
|
||||||
|
"doctype": "DocPerm",
|
||||||
# DocField
|
"submit": 0,
|
||||||
{
|
"write": 1,
|
||||||
u'doctype': u'DocField',
|
"role": "Employee",
|
||||||
'fieldname': u'fiscal_year',
|
"permlevel": 0,
|
||||||
'fieldtype': u'Select',
|
"match": "owner"
|
||||||
'in_filter': 1,
|
},
|
||||||
'label': u'Fiscal Year',
|
{
|
||||||
'oldfieldname': u'fiscal_year',
|
"amend": 1,
|
||||||
'oldfieldtype': u'Select',
|
"create": 1,
|
||||||
'options': u'link:Fiscal Year',
|
"doctype": "DocPerm",
|
||||||
'permlevel': 0,
|
"submit": 1,
|
||||||
'reqd': 1
|
"write": 1,
|
||||||
},
|
"role": "System Manager",
|
||||||
|
"cancel": 1,
|
||||||
# DocField
|
"permlevel": 0
|
||||||
{
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'amendment_date',
|
"amend": 1,
|
||||||
'fieldtype': u'Date',
|
"create": 1,
|
||||||
'hidden': 1,
|
"doctype": "DocPerm",
|
||||||
'label': u'Amendment Date',
|
"submit": 1,
|
||||||
'no_copy': 1,
|
"write": 1,
|
||||||
'oldfieldname': u'amendment_date',
|
"role": "HR User",
|
||||||
'oldfieldtype': u'Date',
|
"cancel": 1,
|
||||||
'permlevel': 1,
|
"permlevel": 0
|
||||||
'print_hide': 1,
|
},
|
||||||
'report_hide': 1,
|
{
|
||||||
'width': u'160px'
|
"role": "All",
|
||||||
},
|
"permlevel": 1,
|
||||||
|
"doctype": "DocPerm"
|
||||||
# DocField
|
}
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'amended_from',
|
|
||||||
'fieldtype': u'Data',
|
|
||||||
'hidden': 1,
|
|
||||||
'label': u'Amended From',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'amended_from',
|
|
||||||
'oldfieldtype': u'Data',
|
|
||||||
'permlevel': 1,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 1,
|
|
||||||
'width': u'150px'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'create': 1,
|
|
||||||
u'doctype': u'DocPerm',
|
|
||||||
'match': u'owner',
|
|
||||||
'permlevel': 0,
|
|
||||||
'role': u'Employee',
|
|
||||||
'submit': 0,
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'amend': 1,
|
|
||||||
'cancel': 1,
|
|
||||||
'create': 1,
|
|
||||||
u'doctype': u'DocPerm',
|
|
||||||
'permlevel': 0,
|
|
||||||
'role': u'System Manager',
|
|
||||||
'submit': 1,
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'amend': 1,
|
|
||||||
'cancel': 1,
|
|
||||||
'create': 1,
|
|
||||||
u'doctype': u'DocPerm',
|
|
||||||
'permlevel': 0,
|
|
||||||
'role': u'HR User',
|
|
||||||
'submit': 1,
|
|
||||||
'write': 1
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
u'doctype': u'DocPerm',
|
|
||||||
'permlevel': 1,
|
|
||||||
'role': u'All'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
@@ -1,98 +1,81 @@
|
|||||||
# DocType, Appraisal Goal
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
# These values are common in all dictionaries
|
"owner": "ashwini@webnotestech.com",
|
||||||
{
|
"docstatus": 0,
|
||||||
u'creation': '2012-07-03 13:30:40',
|
"creation": "2012-07-03 13:30:40",
|
||||||
u'docstatus': 0,
|
"modified_by": "Administrator",
|
||||||
u'modified': '2012-11-15 17:50:24',
|
"modified": "2012-11-15 17:50:24"
|
||||||
u'modified_by': u'Administrator',
|
},
|
||||||
u'owner': u'ashwini@webnotestech.com'
|
{
|
||||||
},
|
"section_style": "Simple",
|
||||||
|
"istable": 1,
|
||||||
# These values are common for all DocType
|
"name": "__common__",
|
||||||
{
|
"colour": "White:FFF",
|
||||||
'autoname': u'APRSLD.#####',
|
"module": "HR",
|
||||||
'colour': u'White:FFF',
|
"server_code_error": " ",
|
||||||
u'doctype': u'DocType',
|
"version": 1,
|
||||||
'istable': 1,
|
"doctype": "DocType",
|
||||||
'module': u'HR',
|
"autoname": "APRSLD.#####"
|
||||||
u'name': u'__common__',
|
},
|
||||||
'section_style': u'Simple',
|
{
|
||||||
'server_code_error': u' ',
|
"name": "__common__",
|
||||||
'version': 1
|
"parent": "Appraisal Goal",
|
||||||
},
|
"doctype": "DocField",
|
||||||
|
"parenttype": "DocType",
|
||||||
# These values are common for all DocField
|
"parentfield": "fields"
|
||||||
{
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
u'name': u'__common__',
|
"name": "Appraisal Goal",
|
||||||
'parent': u'Appraisal Goal',
|
"doctype": "DocType"
|
||||||
'parentfield': u'fields',
|
},
|
||||||
'parenttype': u'DocType'
|
{
|
||||||
},
|
"description": "Key Responsibility Area",
|
||||||
|
"oldfieldtype": "Small Text",
|
||||||
# DocType, Appraisal Goal
|
"colour": "White:FFF",
|
||||||
{
|
"doctype": "DocField",
|
||||||
u'doctype': u'DocType',
|
"label": "Goal",
|
||||||
u'name': u'Appraisal Goal'
|
"oldfieldname": "kra",
|
||||||
},
|
"width": "240px",
|
||||||
|
"fieldname": "kra",
|
||||||
# DocField
|
"fieldtype": "Small Text",
|
||||||
{
|
"reqd": 1,
|
||||||
'colour': u'White:FFF',
|
"permlevel": 0
|
||||||
'description': u'Key Responsibility Area',
|
},
|
||||||
u'doctype': u'DocField',
|
{
|
||||||
'fieldname': u'kra',
|
"oldfieldtype": "Currency",
|
||||||
'fieldtype': u'Small Text',
|
"doctype": "DocField",
|
||||||
'label': u'Goal',
|
"label": "Weightage (%)",
|
||||||
'oldfieldname': u'kra',
|
"oldfieldname": "per_weightage",
|
||||||
'oldfieldtype': u'Small Text',
|
"width": "70px",
|
||||||
'permlevel': 0,
|
"fieldname": "per_weightage",
|
||||||
'reqd': 1,
|
"fieldtype": "Currency",
|
||||||
'width': u'240px'
|
"reqd": 1,
|
||||||
},
|
"permlevel": 0
|
||||||
|
},
|
||||||
# DocField
|
{
|
||||||
{
|
"permlevel": 0,
|
||||||
u'doctype': u'DocField',
|
"no_copy": 1,
|
||||||
'fieldname': u'per_weightage',
|
"oldfieldtype": "Select",
|
||||||
'fieldtype': u'Currency',
|
"colour": "White:FFF",
|
||||||
'label': u'Weightage (%)',
|
"allow_on_submit": 1,
|
||||||
'oldfieldname': u'per_weightage',
|
"doctype": "DocField",
|
||||||
'oldfieldtype': u'Currency',
|
"label": "Score (0-5)",
|
||||||
'permlevel': 0,
|
"oldfieldname": "score",
|
||||||
'reqd': 1,
|
"width": "70px",
|
||||||
'width': u'70px'
|
"trigger": "Client",
|
||||||
},
|
"fieldname": "score",
|
||||||
|
"fieldtype": "Currency",
|
||||||
# DocField
|
"options": "\n0\n1\n2\n3\n4\n5"
|
||||||
{
|
},
|
||||||
'allow_on_submit': 1,
|
{
|
||||||
'colour': u'White:FFF',
|
"no_copy": 1,
|
||||||
u'doctype': u'DocField',
|
"oldfieldtype": "Currency",
|
||||||
'fieldname': u'score',
|
"doctype": "DocField",
|
||||||
'fieldtype': u'Currency',
|
"label": "Score Earned",
|
||||||
'label': u'Score (0-5)',
|
"oldfieldname": "score_earned",
|
||||||
'no_copy': 1,
|
"width": "70px",
|
||||||
'oldfieldname': u'score',
|
"fieldname": "score_earned",
|
||||||
'oldfieldtype': u'Select',
|
"fieldtype": "Currency",
|
||||||
'options': u'\n0\n1\n2\n3\n4\n5',
|
"permlevel": 1
|
||||||
'permlevel': 0,
|
}
|
||||||
'trigger': u'Client',
|
|
||||||
'width': u'70px'
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
u'doctype': u'DocField',
|
|
||||||
'fieldname': u'score_earned',
|
|
||||||
'fieldtype': u'Currency',
|
|
||||||
'label': u'Score Earned',
|
|
||||||
'no_copy': 1,
|
|
||||||
'oldfieldname': u'score_earned',
|
|
||||||
'oldfieldtype': u'Currency',
|
|
||||||
'permlevel': 1,
|
|
||||||
'width': u'70px'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user