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:
commit
879ec66ea3
@ -1,188 +1,147 @@
|
||||
# DocType Mapper, Delivery Note-Sales Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:43"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Delivery Note-Sales Invoice',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Delivery Note-Sales Invoice",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Delivery Note-Sales Invoice',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Delivery Note-Sales Invoice",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Delivery Note',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Sales Invoice'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Sales Invoice",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Delivery Note"
|
||||
},
|
||||
|
||||
# DocType Mapper, Delivery Note-Sales Invoice
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Delivery Note-Sales Invoice'
|
||||
"name": "Delivery Note-Sales Invoice",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'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',
|
||||
'match_id': 1,
|
||||
'to_field': u'qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt)) / flt(obj.basic_rate) or obj.qty"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'delivery_note'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "delivery_note",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'dn_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "dn_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'prevdoc_docname',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'sales_order'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "sales_order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "prevdoc_docname"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'prevdoc_detail_docname',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'so_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "so_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "prevdoc_detail_docname"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: flt(obj.amount) - flt(obj.billed_amt)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: flt(obj.amount) - flt(obj.billed_amt)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'export_amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "export_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'naming_series',
|
||||
'map': u'No',
|
||||
'match_id': 0,
|
||||
'to_field': u'naming_series'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "naming_series",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "naming_series"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'incentives',
|
||||
'map': u'No',
|
||||
'match_id': 3,
|
||||
'to_field': u'incentives'
|
||||
"map": "No",
|
||||
"match_id": 3,
|
||||
"to_field": "incentives",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "incentives"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'serial_no',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'serial_no'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "serial_no",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "serial_no"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'export_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'export_rate'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "export_rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "export_rate",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# 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'
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Delivery Note",
|
||||
"to_table": "Sales Invoice",
|
||||
"validation_logic": "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'
|
||||
"match_id": 1,
|
||||
"to_field": "entries",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "delivery_note_details",
|
||||
"from_table": "Delivery Note Item",
|
||||
"to_table": "Sales Invoice Item",
|
||||
"validation_logic": "(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'
|
||||
"match_id": 2,
|
||||
"to_field": "other_charges",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "other_charges",
|
||||
"from_table": "Sales Taxes and Charges",
|
||||
"to_table": "Sales Taxes and Charges",
|
||||
"validation_logic": "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'
|
||||
"match_id": 3,
|
||||
"to_field": "sales_team",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "sales_team",
|
||||
"from_table": "Sales Team",
|
||||
"to_table": "Sales Team",
|
||||
"validation_logic": "name is not null"
|
||||
}
|
||||
]
|
@ -1,64 +1,49 @@
|
||||
# DocType Mapper, Project-Sales Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:47:59',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
"owner": "ashwini@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-09-01 15:47:59",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_table': u'Project',
|
||||
'match_id': 0,
|
||||
'name': '__common__',
|
||||
'parent': u'Project-Sales Invoice',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper',
|
||||
'to_table': u'Sales Invoice',
|
||||
'validation_logic': u'name is not null'
|
||||
"match_id": 0,
|
||||
"parent": "Project-Sales Invoice",
|
||||
"name": "__common__",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"from_table": "Project",
|
||||
"to_table": "Sales Invoice",
|
||||
"validation_logic": "name is not null",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'customer',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'name': '__common__',
|
||||
'parent': u'Project-Sales Invoice',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper',
|
||||
'to_field': u'customer'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"parent": "Project-Sales Invoice",
|
||||
"name": "__common__",
|
||||
"to_field": "customer",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"checking_operator": "=",
|
||||
"from_field": "customer",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': u'Project',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'to_doctype': u'Sales Invoice'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Sales Invoice",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType Mapper",
|
||||
"from_doctype": "Project"
|
||||
},
|
||||
|
||||
# DocType Mapper, Project-Sales Invoice
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': u'Project-Sales Invoice'
|
||||
"name": "Project-Sales Invoice",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail'
|
||||
"doctype": "Field Mapper Detail"
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail'
|
||||
"doctype": "Table Mapper Detail"
|
||||
}
|
||||
]
|
@ -1,158 +1,123 @@
|
||||
# DocType Mapper, Purchase Order-Purchase Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-08-08 17:09:35',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-08-08 17:09:35",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Order-Purchase Invoice',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Order-Purchase Invoice",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Order-Purchase Invoice',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Order-Purchase Invoice",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Purchase Order',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Purchase Invoice'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Purchase Invoice",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Purchase Order"
|
||||
},
|
||||
|
||||
# DocType Mapper, Purchase Order-Purchase Invoice
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Purchase Order-Purchase Invoice'
|
||||
"name": "Purchase Order-Purchase Invoice",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: flt(obj.qty) - flt(obj.billed_qty)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: flt(obj.qty) - flt(obj.billed_qty)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'purchase_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'rate'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "purchase_rate"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"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',
|
||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'import_amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "import_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'purchase_order'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "purchase_order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'po_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "po_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'naming_series',
|
||||
'map': u'No',
|
||||
'match_id': 0,
|
||||
'to_field': u'naming_series'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "naming_series",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "naming_series"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'total_tax',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'total_tax'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "total_tax",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "total_tax"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'conversion_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'conversion_rate'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "conversion_rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "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'
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Purchase Order",
|
||||
"to_table": "Purchase Invoice",
|
||||
"validation_logic": "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'
|
||||
"match_id": 1,
|
||||
"to_field": "entries",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "po_details",
|
||||
"from_table": "Purchase Order Item",
|
||||
"to_table": "Purchase Invoice Item",
|
||||
"validation_logic": "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'
|
||||
"match_id": 2,
|
||||
"to_field": "purchase_tax_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "purchase_tax_details",
|
||||
"from_table": "Purchase Taxes and Charges",
|
||||
"to_table": "Purchase Taxes and Charges",
|
||||
"validation_logic": "docstatus =1"
|
||||
}
|
||||
]
|
@ -1,185 +1,144 @@
|
||||
# DocType Mapper, Purchase Receipt-Purchase Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-08-08 17:09:35',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-08-08 17:09:35",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Receipt-Purchase Invoice',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Receipt-Purchase Invoice",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Receipt-Purchase Invoice',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Receipt-Purchase Invoice",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Purchase Receipt',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Purchase Invoice'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Purchase Invoice",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Purchase Receipt"
|
||||
},
|
||||
|
||||
# DocType Mapper, Purchase Receipt-Purchase Invoice
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Purchase Receipt-Purchase Invoice'
|
||||
"name": "Purchase Receipt-Purchase Invoice",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: flt(obj.qty) - flt(obj.billed_qty)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: flt(obj.qty) - flt(obj.billed_qty)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'purchase_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'rate'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "purchase_rate"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"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',
|
||||
'from_field': u'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'import_amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "import_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'purchase_receipt'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "purchase_receipt",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'prevdoc_docname',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'purchase_order'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "purchase_order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "prevdoc_docname"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'pr_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "pr_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'prevdoc_detail_docname',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'po_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "po_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "prevdoc_detail_docname"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'naming_series',
|
||||
'map': u'No',
|
||||
'match_id': 0,
|
||||
'to_field': u'naming_series'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "naming_series",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "naming_series"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'net_total',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'net_total'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "net_total",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "net_total"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'grand_total',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'grand_total'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "grand_total",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "grand_total"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'total_tax',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'total_tax'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "total_tax",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "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'
|
||||
"match_id": 1,
|
||||
"to_field": "entries",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "purchase_receipt_details",
|
||||
"from_table": "Purchase Receipt Item",
|
||||
"to_table": "Purchase Invoice Item",
|
||||
"validation_logic": "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'
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Purchase Receipt",
|
||||
"to_table": "Purchase Invoice",
|
||||
"validation_logic": "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'
|
||||
"match_id": 2,
|
||||
"to_field": "purchase_tax_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "purchase_tax_details",
|
||||
"from_table": "Purchase Taxes and Charges",
|
||||
"to_table": "Purchase Taxes and Charges",
|
||||
"validation_logic": "docstatus=1"
|
||||
}
|
||||
]
|
@ -1,190 +1,149 @@
|
||||
# DocType Mapper, Sales Order-Sales Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:42',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:42"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Order-Sales Invoice',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Order-Sales Invoice",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Order-Sales Invoice',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Order-Sales Invoice",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Sales Order',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Sales Invoice'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Sales Invoice",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Sales Order"
|
||||
},
|
||||
|
||||
# DocType Mapper, Sales Order-Sales Invoice
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Sales Order-Sales Invoice'
|
||||
"name": "Sales Order-Sales Invoice",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'customer',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'customer'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "customer",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "customer",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'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',
|
||||
'match_id': 1,
|
||||
'to_field': u'qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt))/flt(obj.basic_rate) or obj.qty"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'sales_order'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "sales_order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'so_detail'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "so_detail",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval:flt(obj.amount) - flt(obj.billed_amt)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval:flt(obj.amount) - flt(obj.billed_amt)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval: (flt(obj.amount) - flt(obj.billed_amt))* flt(obj.export_rate)/flt(obj.basic_rate)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'export_amount'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "export_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval: (flt(obj.amount) - flt(obj.billed_amt))* flt(obj.export_rate)/flt(obj.basic_rate)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'project_name',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'project_name'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "project_name",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "project_name",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'reserved_warehouse',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'warehouse'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "warehouse",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "reserved_warehouse"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'naming_series',
|
||||
'map': u'No',
|
||||
'match_id': 0,
|
||||
'to_field': u'naming_series'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "naming_series",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "naming_series"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'incentives',
|
||||
'map': u'No',
|
||||
'match_id': 3,
|
||||
'to_field': u'incentives'
|
||||
"map": "No",
|
||||
"match_id": 3,
|
||||
"to_field": "incentives",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "incentives"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'export_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'export_rate'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "export_rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "export_rate",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# 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'
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Sales Order",
|
||||
"to_table": "Sales Invoice",
|
||||
"validation_logic": "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'
|
||||
"match_id": 1,
|
||||
"to_field": "entries",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "sales_order_detail",
|
||||
"from_table": "Sales Order Item",
|
||||
"to_table": "Sales Invoice Item",
|
||||
"validation_logic": "(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'
|
||||
"match_id": 2,
|
||||
"to_field": "other_charges",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "other_charges",
|
||||
"from_table": "Sales Taxes and Charges",
|
||||
"to_table": "Sales Taxes and Charges",
|
||||
"validation_logic": "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'
|
||||
"match_id": 3,
|
||||
"to_field": "sales_team",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "sales_team",
|
||||
"from_table": "Sales Team",
|
||||
"to_table": "Sales Team",
|
||||
"validation_logic": "name is not null"
|
||||
}
|
||||
]
|
@ -1,131 +1,112 @@
|
||||
# GL Mapper, Purchase Invoice with write off
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-04-30 19:55:05',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-03 11:08:09',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-30 19:55:05",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-03 11:08:09"
|
||||
},
|
||||
|
||||
# These values are common for all GL Mapper
|
||||
{
|
||||
'doc_type': u'Purchase Invoice with write off',
|
||||
u'doctype': u'GL Mapper',
|
||||
u'name': u'__common__'
|
||||
"doc_type": "Purchase Invoice with write off",
|
||||
"name": "__common__",
|
||||
"doctype": "GL Mapper"
|
||||
},
|
||||
|
||||
# These values are common for all GL Mapper Detail
|
||||
{
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Purchase Invoice with write off',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'GL Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Invoice with write off",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"parenttype": "GL Mapper",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# GL Mapper, Purchase Invoice with write off
|
||||
{
|
||||
u'doctype': u'GL Mapper',
|
||||
u'name': u'Purchase Invoice with write off'
|
||||
"name": "Purchase Invoice with write off",
|
||||
"doctype": "GL Mapper"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'expense_head',
|
||||
'against': u'parent:credit_to',
|
||||
'aging_date': u'parent:aging_date',
|
||||
'company': u'parent:company',
|
||||
'cost_center': u'cost_center',
|
||||
'credit': u'value:0',
|
||||
'debit': u'amount',
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
'fiscal_year': u'parent:fiscal_year',
|
||||
'is_opening': u'parent:is_opening',
|
||||
'posting_date': u'parent:posting_date',
|
||||
'remarks': u'parent:remarks',
|
||||
'table_field': u'entries',
|
||||
'transaction_date': u'parent:voucher_date',
|
||||
'voucher_no': u'parent:name',
|
||||
'voucher_type': u'parent:doctype'
|
||||
"account": "expense_head",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "parent:company",
|
||||
"debit": "amount",
|
||||
"fiscal_year": "parent:fiscal_year",
|
||||
"against": "parent:credit_to",
|
||||
"aging_date": "parent:aging_date",
|
||||
"credit": "value:0",
|
||||
"table_field": "entries",
|
||||
"transaction_date": "parent:voucher_date",
|
||||
"voucher_type": "parent:doctype",
|
||||
"is_opening": "parent:is_opening",
|
||||
"remarks": "parent:remarks",
|
||||
"posting_date": "parent:posting_date",
|
||||
"voucher_no": "parent:name",
|
||||
"cost_center": "cost_center"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'account_head',
|
||||
'against': u'parent:credit_to',
|
||||
'aging_date': u'parent:aging_date',
|
||||
'company': u'parent:company',
|
||||
'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",
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
'fiscal_year': u'parent:fiscal_year',
|
||||
'is_opening': u'parent:is_opening',
|
||||
'posting_date': u'parent:posting_date',
|
||||
'remarks': u'parent:remarks',
|
||||
'table_field': u'purchase_tax_details',
|
||||
'transaction_date': u'parent:voucher_date',
|
||||
'voucher_no': u'parent:name',
|
||||
'voucher_type': u'parent:doctype'
|
||||
"account": "account_head",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "parent:company",
|
||||
"debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
||||
"fiscal_year": "parent:fiscal_year",
|
||||
"against": "parent:credit_to",
|
||||
"aging_date": "parent:aging_date",
|
||||
"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",
|
||||
"voucher_type": "parent:doctype",
|
||||
"is_opening": "parent:is_opening",
|
||||
"remarks": "parent:remarks",
|
||||
"posting_date": "parent:posting_date",
|
||||
"voucher_no": "parent:name",
|
||||
"cost_center": "cost_center"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'tax_code',
|
||||
'against': u'credit_to',
|
||||
'aging_date': u'aging_date',
|
||||
'company': u'company',
|
||||
'credit': u'ded_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'
|
||||
"account": "tax_code",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "company",
|
||||
"debit": "value:0",
|
||||
"fiscal_year": "fiscal_year",
|
||||
"against": "credit_to",
|
||||
"aging_date": "aging_date",
|
||||
"credit": "ded_amount",
|
||||
"transaction_date": "voucher_date",
|
||||
"voucher_type": "doctype",
|
||||
"is_opening": "is_opening",
|
||||
"remarks": "remarks",
|
||||
"posting_date": "posting_date",
|
||||
"voucher_no": "name"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'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'
|
||||
"account": "credit_to",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"credit": "total_amount_to_pay",
|
||||
"against_voucher_type": "value:'Purchase Invoice'",
|
||||
"company": "company",
|
||||
"debit": "value:0",
|
||||
"fiscal_year": "fiscal_year",
|
||||
"against": "against_expense_account",
|
||||
"aging_date": "aging_date",
|
||||
"against_voucher": "name",
|
||||
"transaction_date": "voucher_date",
|
||||
"voucher_type": "doctype",
|
||||
"is_opening": "is_opening",
|
||||
"remarks": "remarks",
|
||||
"posting_date": "posting_date",
|
||||
"voucher_no": "name"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"account": "write_off_account",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "company",
|
||||
"debit": "value:0",
|
||||
"fiscal_year": "fiscal_year",
|
||||
"against": "credit_to",
|
||||
"aging_date": "aging_date",
|
||||
"credit": "write_off_amount",
|
||||
"transaction_date": "voucher_date",
|
||||
"voucher_type": "doctype",
|
||||
"is_opening": "is_opening",
|
||||
"remarks": "remarks",
|
||||
"posting_date": "posting_date",
|
||||
"voucher_no": "name",
|
||||
"cost_center": "write_off_cost_center"
|
||||
}
|
||||
]
|
@ -1,112 +1,95 @@
|
||||
# GL Mapper, Purchase Invoice
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-04-30 19:55:04',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-03 11:07:26',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-30 19:55:04",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-03 11:07:26"
|
||||
},
|
||||
|
||||
# These values are common for all GL Mapper
|
||||
{
|
||||
'doc_type': u'Purchase Invoice',
|
||||
u'doctype': u'GL Mapper',
|
||||
u'name': u'__common__'
|
||||
"doc_type": "Purchase Invoice",
|
||||
"name": "__common__",
|
||||
"doctype": "GL Mapper"
|
||||
},
|
||||
|
||||
# These values are common for all GL Mapper Detail
|
||||
{
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Purchase Invoice',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'GL Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Invoice",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"parenttype": "GL Mapper",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# GL Mapper, Purchase Invoice
|
||||
{
|
||||
u'doctype': u'GL Mapper',
|
||||
u'name': u'Purchase Invoice'
|
||||
"name": "Purchase Invoice",
|
||||
"doctype": "GL Mapper"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'expense_head',
|
||||
'against': u'parent:credit_to',
|
||||
'aging_date': u'parent:aging_date',
|
||||
'company': u'parent:company',
|
||||
'cost_center': u'cost_center',
|
||||
'credit': u'value:0',
|
||||
'debit': u'amount',
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
'fiscal_year': u'parent:fiscal_year',
|
||||
'is_opening': u'parent:is_opening',
|
||||
'posting_date': u'parent:posting_date',
|
||||
'remarks': u'parent:remarks',
|
||||
'table_field': u'entries',
|
||||
'transaction_date': u'parent:voucher_date',
|
||||
'voucher_no': u'parent:name',
|
||||
'voucher_type': u'parent:doctype'
|
||||
"account": "expense_head",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "parent:company",
|
||||
"debit": "amount",
|
||||
"fiscal_year": "parent:fiscal_year",
|
||||
"against": "parent:credit_to",
|
||||
"aging_date": "parent:aging_date",
|
||||
"credit": "value:0",
|
||||
"table_field": "entries",
|
||||
"transaction_date": "parent:voucher_date",
|
||||
"voucher_type": "parent:doctype",
|
||||
"is_opening": "parent:is_opening",
|
||||
"remarks": "parent:remarks",
|
||||
"posting_date": "parent:posting_date",
|
||||
"voucher_no": "parent:name",
|
||||
"cost_center": "cost_center"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'account_head',
|
||||
'against': u'parent:credit_to',
|
||||
'aging_date': u'parent:aging_date',
|
||||
'company': u'parent:company',
|
||||
'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",
|
||||
u'doctype': u'GL Mapper Detail',
|
||||
'fiscal_year': u'parent:fiscal_year',
|
||||
'is_opening': u'parent:is_opening',
|
||||
'posting_date': u'parent:posting_date',
|
||||
'remarks': u'parent:remarks',
|
||||
'table_field': u'purchase_tax_details',
|
||||
'transaction_date': u'parent:voucher_date',
|
||||
'voucher_no': u'parent:name',
|
||||
'voucher_type': u'parent:doctype'
|
||||
"account": "account_head",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "parent:company",
|
||||
"debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0",
|
||||
"fiscal_year": "parent:fiscal_year",
|
||||
"against": "parent:credit_to",
|
||||
"aging_date": "parent:aging_date",
|
||||
"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",
|
||||
"voucher_type": "parent:doctype",
|
||||
"is_opening": "parent:is_opening",
|
||||
"remarks": "parent:remarks",
|
||||
"posting_date": "parent:posting_date",
|
||||
"voucher_no": "parent:name",
|
||||
"cost_center": "cost_center"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'account': u'tax_code',
|
||||
'against': u'credit_to',
|
||||
'aging_date': u'aging_date',
|
||||
'company': u'company',
|
||||
'credit': u'ded_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'
|
||||
"account": "tax_code",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"company": "company",
|
||||
"debit": "value:0",
|
||||
"fiscal_year": "fiscal_year",
|
||||
"against": "credit_to",
|
||||
"aging_date": "aging_date",
|
||||
"credit": "ded_amount",
|
||||
"transaction_date": "voucher_date",
|
||||
"voucher_type": "doctype",
|
||||
"is_opening": "is_opening",
|
||||
"remarks": "remarks",
|
||||
"posting_date": "posting_date",
|
||||
"voucher_no": "name"
|
||||
},
|
||||
|
||||
# GL Mapper Detail
|
||||
{
|
||||
'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'
|
||||
"account": "credit_to",
|
||||
"doctype": "GL Mapper Detail",
|
||||
"credit": "total_amount_to_pay",
|
||||
"against_voucher_type": "value:'Purchase Invoice'",
|
||||
"company": "company",
|
||||
"debit": "value:0",
|
||||
"fiscal_year": "fiscal_year",
|
||||
"against": "against_expense_account",
|
||||
"aging_date": "aging_date",
|
||||
"against_voucher": "name",
|
||||
"transaction_date": "voucher_date",
|
||||
"voucher_type": "doctype",
|
||||
"is_opening": "is_opening",
|
||||
"remarks": "remarks",
|
||||
"posting_date": "posting_date",
|
||||
"voucher_no": "name"
|
||||
}
|
||||
]
|
@ -1,28 +1,21 @@
|
||||
# Print Format, Cheque Printing Format
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 13:16:56',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-13 12:24:20',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:16:56",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-13 12:24:20"
|
||||
},
|
||||
|
||||
# These values are common for all Print Format
|
||||
{
|
||||
'doc_type': u'Journal Voucher',
|
||||
'doctype': 'Print Format',
|
||||
'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__',
|
||||
'standard': u'Yes'
|
||||
"doc_type": "Journal Voucher",
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"doctype": "Print Format",
|
||||
"html": "<!-- p.big {line-height: 200%} .noborder td { border: 0px solid #fff; } -->\n<div style=\"position: relative;\">\n<h3><script>doc.company</script><br /> <br /> \n<hr />\nPAYMENT ADVICE</h3>\n<table class=\"noborder\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;\" width=\"50%\">To :<br />\n<script type=\"text/javascript\">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</td>\n<td width=\"50%\">\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"30%\">Voucher No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.name\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Voucher Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.voucher_date)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_no)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<br /> <strong>We are pleased to enclose our cheque in full/part Settlement of your under noted bills</strong> <br /> \n<hr />\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"70%\"> </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>",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Print Format, Cheque Printing Format
|
||||
{
|
||||
'doctype': 'Print Format',
|
||||
'name': u'Cheque Printing Format'
|
||||
"name": "Cheque Printing Format",
|
||||
"doctype": "Print 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
|
||||
{
|
||||
'creation': '2011-12-21 11:08:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-20 12:29:49',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2011-12-21 11:08:55",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-20 12:29:49"
|
||||
},
|
||||
|
||||
# These values are common for all Print Format
|
||||
{
|
||||
'doc_type': u'Sales Invoice',
|
||||
'doctype': 'Print Format',
|
||||
'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__',
|
||||
'standard': u'Yes'
|
||||
"doc_type": "Sales Invoice",
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"doctype": "Print Format",
|
||||
"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",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Print Format, POS Invoice
|
||||
{
|
||||
'doctype': 'Print Format',
|
||||
'name': u'POS Invoice'
|
||||
"name": "POS Invoice",
|
||||
"doctype": "Print Format"
|
||||
}
|
||||
]
|
@ -1,28 +1,21 @@
|
||||
# Print Format, Payment Receipt Voucher
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 13:16:56',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-13 12:24:59',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:16:56",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-13 12:24:59"
|
||||
},
|
||||
|
||||
# These values are common for all Print Format
|
||||
{
|
||||
'doc_type': u'Journal Voucher',
|
||||
'doctype': 'Print Format',
|
||||
'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__',
|
||||
'standard': u'Yes'
|
||||
"doc_type": "Journal Voucher",
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"doctype": "Print Format",
|
||||
"html": "<div style=\"position: relative;\">\n<h3 align=\"center\"><script>doc.company</script>\n</div>\n\n<font size=\"4\">\n<table class='simpletable'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_rec_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style=\"text-align:left\"><b><script>doc.total_amount_in_words</script></b></div><br>\n<div>This receipt is issued subject to realization of the Cheque</div>\n</font>\n<br>\n<table class=\"noborder\">\n<tr>\n<td style = \"text-align = right;\"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Print Format, Payment Receipt Voucher
|
||||
{
|
||||
'doctype': 'Print Format',
|
||||
'name': u'Payment Receipt Voucher'
|
||||
"name": "Payment Receipt Voucher",
|
||||
"doctype": "Print Format"
|
||||
}
|
||||
]
|
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
|
||||
{
|
||||
'creation': '2012-03-27 14:35:40',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:40',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:40",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:40"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1294312169',
|
||||
'allow_copy': 1,
|
||||
'allow_email': 1,
|
||||
'allow_print': 1,
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'hide_heading': 1,
|
||||
'hide_toolbar': 1,
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'read_only': 1,
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 12
|
||||
"section_style": "Simple",
|
||||
"allow_print": 1,
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"read_only": 1,
|
||||
"allow_email": 1,
|
||||
"hide_heading": 1,
|
||||
"issingle": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1294312169",
|
||||
"show_in_menu": 0,
|
||||
"version": 12,
|
||||
"hide_toolbar": 1,
|
||||
"allow_copy": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Bank Reconciliation',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Bank Reconciliation",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Bank Reconciliation',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Bank Reconciliation",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Bank Reconciliation
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Bank Reconciliation'
|
||||
"name": "Bank Reconciliation",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts User',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"amend": 0,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Accounts User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'All'
|
||||
"role": "All",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'head_html',
|
||||
'fieldtype': u'HTML',
|
||||
'label': u'Head HTML',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"label": "Head HTML",
|
||||
"fieldname": "head_html",
|
||||
"fieldtype": "HTML",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': u'Select account head of the bank where cheque was deposited.',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'bank_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Bank Account',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"description": "Select account head of the bank where cheque was deposited.",
|
||||
"doctype": "DocField",
|
||||
"label": "Bank Account",
|
||||
"permlevel": 0,
|
||||
"fieldname": "bank_account",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'from_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'From Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "From Date",
|
||||
"fieldname": "from_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'to_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'To Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "To Date",
|
||||
"fieldname": "to_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'get_non_reconciled_entries',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Get Non Reconciled Entries',
|
||||
'options': u'get_details',
|
||||
'permlevel': 0
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Get Non Reconciled Entries",
|
||||
"permlevel": 0,
|
||||
"fieldname": "get_non_reconciled_entries",
|
||||
"fieldtype": "Button",
|
||||
"options": "get_details"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'entries',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Entries',
|
||||
'options': u'Bank Reconciliation Detail',
|
||||
'permlevel': 0
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Entries",
|
||||
"permlevel": 0,
|
||||
"fieldname": "entries",
|
||||
"fieldtype": "Table",
|
||||
"options": "Bank Reconciliation Detail"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'update_clearance_date',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Update Clearance Date',
|
||||
'options': u'update_details',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"options": "update_details",
|
||||
"fieldname": "update_clearance_date",
|
||||
"fieldtype": "Button",
|
||||
"label": "Update Clearance Date",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Amount',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Total Amount",
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,131 +1,106 @@
|
||||
# DocType, Bank Reconciliation Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:41',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:41",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:41"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'show_in_menu': 0,
|
||||
'version': 5
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"version": 5,
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'no_copy': 0,
|
||||
'parent': u'Bank Reconciliation Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'search_index': 0
|
||||
"name": "__common__",
|
||||
"parent": "Bank Reconciliation Detail",
|
||||
"no_copy": 0,
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Bank Reconciliation Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Bank Reconciliation Detail'
|
||||
"name": "Bank Reconciliation Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_id',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Voucher ID',
|
||||
'oldfieldname': u'voucher_id',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Journal Voucher',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher ID",
|
||||
"oldfieldname": "voucher_id",
|
||||
"permlevel": 0,
|
||||
"fieldname": "voucher_id",
|
||||
"fieldtype": "Link",
|
||||
"options": "Journal Voucher"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_account',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Against Account',
|
||||
'oldfieldname': u'against_account',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Against Account",
|
||||
"oldfieldname": "against_account",
|
||||
"fieldname": "against_account",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': u'The date at which current entry will get or has actually executed.',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'posting_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Posting Date',
|
||||
'oldfieldname': u'posting_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 1
|
||||
"description": "The date at which current entry will get or has actually executed.",
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"oldfieldname": "posting_date",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cheque_number',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Cheque Number',
|
||||
'oldfieldname': u'cheque_number',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Cheque Number",
|
||||
"oldfieldname": "cheque_number",
|
||||
"fieldname": "cheque_number",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cheque_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Cheque Date',
|
||||
'oldfieldname': u'cheque_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Cheque Date",
|
||||
"oldfieldname": "cheque_date",
|
||||
"fieldname": "cheque_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'debit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Debit',
|
||||
'oldfieldname': u'debit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Debit",
|
||||
"oldfieldname": "debit",
|
||||
"fieldname": "debit",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'credit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Credit',
|
||||
'oldfieldname': u'credit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Credit",
|
||||
"oldfieldname": "credit",
|
||||
"fieldname": "credit",
|
||||
"fieldtype": "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
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Clearance Date",
|
||||
"oldfieldname": "clearance_date",
|
||||
"fieldname": "clearance_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,31 +1,24 @@
|
||||
# DocType, Budget Control
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:41',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'nabin@webnotestech.com'
|
||||
"owner": "nabin@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:41",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:41"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 23
|
||||
"section_style": "Simple",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"version": 23,
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1
|
||||
},
|
||||
|
||||
# DocType, Budget Control
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Budget Control'
|
||||
"name": "Budget Control",
|
||||
"doctype": "DocType"
|
||||
}
|
||||
]
|
@ -1,94 +1,77 @@
|
||||
# DocType, Budget Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:41',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:41",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:41"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'CBD/.######',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'show_in_menu': 0,
|
||||
'version': 6
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"version": 6,
|
||||
"autoname": "CBD/.######",
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Budget Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Budget Detail",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Budget Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Budget Detail'
|
||||
"name": "Budget Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Account',
|
||||
'oldfieldname': u'account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Account",
|
||||
"oldfieldname": "account",
|
||||
"trigger": "Client",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'budget_allocated',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Budget Allocated',
|
||||
'oldfieldname': u'budget_allocated',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Budget Allocated",
|
||||
"oldfieldname": "budget_allocated",
|
||||
"fieldname": "budget_allocated",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'actual',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Actual',
|
||||
'oldfieldname': u'actual',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Actual",
|
||||
"oldfieldname": "actual",
|
||||
"fieldname": "actual",
|
||||
"fieldtype": "Currency",
|
||||
"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
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"options": "link:Fiscal Year",
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
}
|
||||
]
|
@ -1,160 +1,129 @@
|
||||
# DocType, Budget Distribution
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-03 13:30:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-11 14:37:30',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-11 14:37:30"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'allow_trash': 1,
|
||||
'autoname': u'field:distribution_id',
|
||||
'colour': u'White:FFF',
|
||||
'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**',
|
||||
'doctype': 'DocType',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'name_case': u'Title Case',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"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**",
|
||||
"module": "Accounts",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"autoname": "field:distribution_id",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"name_case": "Title Case",
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Budget Distribution',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Budget Distribution",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Budget Distribution',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Budget Distribution",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Budget Distribution
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Budget Distribution'
|
||||
"name": "Budget Distribution",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 2,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 2,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"amend": 0,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 2,
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 2,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'Name of the Budget Distribution',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'distribution_id',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Distribution Name',
|
||||
'oldfieldname': u'distribution_id',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"description": "Name of the Budget Distribution",
|
||||
"oldfieldtype": "Data",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Distribution Name",
|
||||
"oldfieldname": "distribution_id",
|
||||
"fieldname": "distribution_id",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 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',
|
||||
'permlevel': 0,
|
||||
'search_index': 1
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"permlevel": 0,
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "link:Fiscal Year",
|
||||
"in_filter": 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
|
||||
"oldfieldtype": "Table",
|
||||
"doctype": "DocField",
|
||||
"label": "Budget Distribution Details",
|
||||
"oldfieldname": "budget_distribution_details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "budget_distribution_details",
|
||||
"fieldtype": "Table",
|
||||
"options": "Budget Distribution Detail"
|
||||
},
|
||||
|
||||
# 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
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Trash Reason",
|
||||
"oldfieldname": "trash_reason",
|
||||
"fieldname": "trash_reason",
|
||||
"fieldtype": "Small Text",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,64 +1,51 @@
|
||||
# DocType, Budget Distribution Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-03 13:30:47',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-11 14:32:16',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:47",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-11 14:32:16"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'BDD/.#####',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Accounts",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"autoname": "BDD/.#####",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Budget Distribution Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Budget Distribution Detail",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Budget Distribution Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Budget Distribution Detail'
|
||||
"name": "Budget Distribution Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'month',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Month',
|
||||
'oldfieldname': u'month',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 2,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Month",
|
||||
"oldfieldname": "month",
|
||||
"fieldname": "month",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 2
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'percentage_allocation',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Percentage Allocation',
|
||||
'oldfieldname': u'percentage_allocation',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Percentage Allocation",
|
||||
"oldfieldname": "percentage_allocation",
|
||||
"fieldname": "percentage_allocation",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,229 +1,181 @@
|
||||
# DocType, C-Form
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2011-12-14 11:40:47',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-06 17:29:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2011-12-14 11:40:47",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-06 17:29:50"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1333712835',
|
||||
'allow_attach': 1,
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'max_attachments': 3,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 19
|
||||
"section_style": "Simple",
|
||||
"allow_attach": 1,
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1333712835",
|
||||
"show_in_menu": 0,
|
||||
"max_attachments": 3,
|
||||
"version": 19
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'C-Form',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "C-Form",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'C-Form',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "C-Form",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, C-Form
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'C-Form'
|
||||
"name": "C-Form",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts User',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "Accounts User",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'All'
|
||||
"role": "All",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Series',
|
||||
'options': u'\nC-FORM/',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Series",
|
||||
"permlevel": 0,
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nC-FORM/"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'c_form_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'C-Form No',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "C-Form No",
|
||||
"fieldname": "c_form_no",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'received_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Received Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Received Date",
|
||||
"fieldname": "received_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'customer',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Customer',
|
||||
'options': u'Customer',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Customer",
|
||||
"permlevel": 0,
|
||||
"fieldname": "customer",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Customer"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break1',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break1",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Company',
|
||||
'options': u'link:Company',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"permlevel": 0,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Select",
|
||||
"label": "Company",
|
||||
"options": "link:Company"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'fiscal_year',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Fiscal Year',
|
||||
'options': u'link:Fiscal Year',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"permlevel": 0,
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Fiscal Year"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'quarter',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Quarter',
|
||||
'options': u'\nI\nII\nIII\nIV',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"permlevel": 0,
|
||||
"fieldname": "quarter",
|
||||
"fieldtype": "Select",
|
||||
"label": "Quarter",
|
||||
"options": "\nI\nII\nIII\nIV"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Amount',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Total Amount",
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'state',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'State',
|
||||
'options': u"link:State\ncountry='India'",
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "State",
|
||||
"permlevel": 0,
|
||||
"fieldname": "state",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:State\ncountry='India'"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'section_break0',
|
||||
'fieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"fieldname": "section_break0",
|
||||
"fieldtype": "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
|
||||
"doctype": "DocField",
|
||||
"permlevel": 0,
|
||||
"fieldname": "invoice_details",
|
||||
"fieldtype": "Table",
|
||||
"label": "Invoice Details",
|
||||
"options": "C-Form Invoice Detail"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_invoiced_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Invoiced Amount',
|
||||
'permlevel': 1,
|
||||
'print_hide': 0
|
||||
"print_hide": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Total Invoiced Amount",
|
||||
"fieldname": "total_invoiced_amount",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'file_list',
|
||||
'fieldtype': u'Text',
|
||||
'hidden': 1,
|
||||
'label': u'File List',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "File List",
|
||||
"fieldname": "file_list",
|
||||
"fieldtype": "Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,91 +1,72 @@
|
||||
# DocType, C-Form Invoice Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:41',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:41",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:41"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 5
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"version": 5,
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'C-Form Invoice Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "C-Form Invoice Detail",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, C-Form Invoice Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'C-Form Invoice Detail'
|
||||
"name": "C-Form Invoice Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'invoice_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Invoice No',
|
||||
'options': u'Sales Invoice',
|
||||
'permlevel': 0,
|
||||
'width': u'160px'
|
||||
"doctype": "DocField",
|
||||
"label": "Invoice No",
|
||||
"width": "160px",
|
||||
"options": "Sales Invoice",
|
||||
"fieldname": "invoice_no",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'invoice_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Invoice Date',
|
||||
'permlevel': 1,
|
||||
'width': u'120px'
|
||||
"doctype": "DocField",
|
||||
"label": "Invoice Date",
|
||||
"width": "120px",
|
||||
"fieldname": "invoice_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'territory',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Territory',
|
||||
'options': u'Territory',
|
||||
'permlevel': 1,
|
||||
'width': u'120px'
|
||||
"doctype": "DocField",
|
||||
"label": "Territory",
|
||||
"width": "120px",
|
||||
"options": "Territory",
|
||||
"fieldname": "territory",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'net_total',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Net Total',
|
||||
'permlevel': 1,
|
||||
'width': u'120px'
|
||||
"doctype": "DocField",
|
||||
"label": "Net Total",
|
||||
"width": "120px",
|
||||
"fieldname": "net_total",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'grand_total',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Grand Total',
|
||||
'permlevel': 1,
|
||||
'width': u'120px'
|
||||
"doctype": "DocField",
|
||||
"label": "Grand Total",
|
||||
"width": "120px",
|
||||
"fieldname": "grand_total",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,134 +1,109 @@
|
||||
# DocType, Fiscal Year
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-03 13:30:47',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-11 14:56:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:47",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-11 14:56:41"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1322549700',
|
||||
'allow_trash': 1,
|
||||
'autoname': u'field:year',
|
||||
'colour': u'White:FFF',
|
||||
'description': u'**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.',
|
||||
'doctype': 'DocType',
|
||||
'document_type': u'Master',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tabbed',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tabbed",
|
||||
"description": "**Fiscal Year** represents a Financial Year. All accounting entries and other major transactions are tracked against **Fiscal Year**.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"autoname": "field:year",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Fiscal Year',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Fiscal Year",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Fiscal Year',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"name": "__common__",
|
||||
"parent": "Fiscal Year",
|
||||
"read": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"cancel": 1,
|
||||
"parenttype": "DocType",
|
||||
"role": "System Manager",
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Fiscal Year
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Fiscal Year'
|
||||
"name": "Fiscal Year",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'submit': 0
|
||||
"amend": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm'
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'year_details',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Fiscal Year Details',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Section Break",
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year Details",
|
||||
"fieldname": "year_details",
|
||||
"fieldtype": "Section Break",
|
||||
"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
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Trash Reason",
|
||||
"oldfieldname": "trash_reason",
|
||||
"fieldname": "trash_reason",
|
||||
"fieldtype": "Small Text",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'For e.g. 2012, 2012-13',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'year',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Year Name',
|
||||
'oldfieldname': u'year',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"description": "For e.g. 2012, 2012-13",
|
||||
"oldfieldtype": "Data",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Year Name",
|
||||
"oldfieldname": "year",
|
||||
"fieldname": "year",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'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
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Year Start Date",
|
||||
"oldfieldname": "year_start_date",
|
||||
"fieldname": "year_start_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# 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
|
||||
"description": "Entries are not allowed against this Fiscal Year if the year is closed.",
|
||||
"default": "No",
|
||||
"oldfieldtype": "Select",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Year Closed",
|
||||
"oldfieldname": "is_fiscal_year_closed",
|
||||
"options": "\nNo\nYes",
|
||||
"fieldname": "is_fiscal_year_closed",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,31 +1,24 @@
|
||||
# DocType, GL Control
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:42',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:42"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 288
|
||||
"section_style": "Simple",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"version": 288,
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1
|
||||
},
|
||||
|
||||
# DocType, GL Control
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'GL Control'
|
||||
"name": "GL Control",
|
||||
"doctype": "DocType"
|
||||
}
|
||||
]
|
@ -1,302 +1,249 @@
|
||||
# DocType, GL Entry
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:42',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:42"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1319016431',
|
||||
'autoname': u'GL.#######',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'in_create': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'search_fields': u'voucher_no,account,posting_date,against_voucher',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 103
|
||||
"section_style": "Simple",
|
||||
"in_create": 1,
|
||||
"search_fields": "voucher_no,account,posting_date,against_voucher",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "GL.#######",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1319016431",
|
||||
"show_in_menu": 0,
|
||||
"version": 103
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'GL Entry',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "GL Entry",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'GL Entry',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1,
|
||||
'write': 0
|
||||
"name": "__common__",
|
||||
"parent": "GL Entry",
|
||||
"read": 1,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"write": 0,
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, GL Entry
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'GL Entry'
|
||||
"name": "GL Entry",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts User',
|
||||
'submit': 0
|
||||
"amend": 0,
|
||||
"cancel": 0,
|
||||
"role": "Accounts User",
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0
|
||||
"amend": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 0,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': u'The date at which current entry will get or has actually executed.',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'posting_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': u'Posting Date',
|
||||
'oldfieldname': u'posting_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'search_index': 1
|
||||
"description": "The date at which current entry will get or has actually executed.",
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"oldfieldname": "posting_date",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"oldfieldtype": "Date",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'description': u'The date at which current entry is made in system.',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'transaction_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Transaction Date',
|
||||
'oldfieldname': u'transaction_date',
|
||||
'oldfieldtype': u'Date'
|
||||
"description": "The date at which current entry is made in system.",
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Transaction Date",
|
||||
"oldfieldname": "transaction_date",
|
||||
"fieldname": "transaction_date",
|
||||
"fieldtype": "Date"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'aging_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': u'Aging Date',
|
||||
'oldfieldname': u'aging_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Aging Date",
|
||||
"oldfieldname": "aging_date",
|
||||
"fieldname": "aging_date",
|
||||
"fieldtype": "Date",
|
||||
"oldfieldtype": "Date",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Account',
|
||||
'oldfieldname': u'account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'search_index': 1
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Account",
|
||||
"oldfieldname": "account",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Account",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Cost Center",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'debit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Debit Amt',
|
||||
'oldfieldname': u'debit',
|
||||
'oldfieldtype': u'Currency'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Debit Amt",
|
||||
"oldfieldname": "debit",
|
||||
"fieldname": "debit",
|
||||
"fieldtype": "Currency"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'credit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Credit Amt',
|
||||
'oldfieldname': u'credit',
|
||||
'oldfieldtype': u'Currency'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Credit Amt",
|
||||
"oldfieldname": "credit",
|
||||
"fieldname": "credit",
|
||||
"fieldtype": "Currency"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against',
|
||||
'fieldtype': u'Text',
|
||||
'in_filter': 1,
|
||||
'label': u'Against',
|
||||
'oldfieldname': u'against',
|
||||
'oldfieldtype': u'Text'
|
||||
"oldfieldtype": "Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Against",
|
||||
"oldfieldname": "against",
|
||||
"fieldname": "against",
|
||||
"fieldtype": "Text",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_voucher',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'Against Voucher',
|
||||
'oldfieldname': u'against_voucher',
|
||||
'oldfieldtype': u'Data',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Against Voucher",
|
||||
"oldfieldname": "against_voucher",
|
||||
"fieldname": "against_voucher",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_voucher_type',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 0,
|
||||
'label': u'Against Voucher Type',
|
||||
'oldfieldname': u'against_voucher_type',
|
||||
'oldfieldtype': u'Data',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Against Voucher Type",
|
||||
"oldfieldname": "against_voucher_type",
|
||||
"fieldname": "against_voucher_type",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_type',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': u'Voucher Type',
|
||||
'oldfieldname': u'voucher_type',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'Journal Voucher\nSales Invoice\nPurchase Invoice',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher Type",
|
||||
"oldfieldname": "voucher_type",
|
||||
"fieldname": "voucher_type",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "Journal Voucher\nSales Invoice\nPurchase Invoice",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_no',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'Voucher No',
|
||||
'oldfieldname': u'voucher_no',
|
||||
'oldfieldtype': u'Data',
|
||||
'search_index': 1
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher No",
|
||||
"oldfieldname": "voucher_no",
|
||||
"fieldname": "voucher_no",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'remarks',
|
||||
'fieldtype': u'Text',
|
||||
'in_filter': 1,
|
||||
'label': u'Remarks',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'remarks',
|
||||
'oldfieldtype': u'Text',
|
||||
'search_index': 0
|
||||
"no_copy": 1,
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Remarks",
|
||||
"oldfieldname": "remarks",
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Text",
|
||||
"oldfieldtype": "Text",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'is_cancelled',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': u'Is Cancelled',
|
||||
'oldfieldname': u'is_cancelled',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'No\nYes',
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Is Cancelled",
|
||||
"oldfieldname": "is_cancelled",
|
||||
"fieldname": "is_cancelled",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "No\nYes",
|
||||
"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
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Is Opening",
|
||||
"oldfieldname": "is_opening",
|
||||
"fieldname": "is_opening",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "No\nYes",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Is Advance",
|
||||
"oldfieldname": "is_advance",
|
||||
"fieldname": "is_advance",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "No\nYes",
|
||||
"in_filter": 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
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "link:Fiscal Year",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Company",
|
||||
"in_filter": 1
|
||||
}
|
||||
]
|
@ -1,187 +1,158 @@
|
||||
# DocType, Journal Voucher Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-05-03 18:41:39',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-02 16:47:37',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-05-03 18:41:39",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-02 16:47:37"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'JVD.######',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Accounts",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"autoname": "JVD.######",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Journal Voucher Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Journal Voucher Detail",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Journal Voucher Detail
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Journal Voucher Detail'
|
||||
"name": "Journal Voucher Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Account',
|
||||
'oldfieldname': u'account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client',
|
||||
'width': u'250px'
|
||||
"permlevel": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Account",
|
||||
"oldfieldname": "account",
|
||||
"width": "250px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'debit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Debit',
|
||||
'oldfieldname': u'debit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Debit",
|
||||
"oldfieldname": "debit",
|
||||
"trigger": "Client",
|
||||
"fieldname": "debit",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'credit',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Credit',
|
||||
'oldfieldname': u'credit',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Credit",
|
||||
"oldfieldname": "credit",
|
||||
"trigger": "Client",
|
||||
"fieldname": "credit",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'permlevel': 0,
|
||||
'search_index': 0,
|
||||
'width': u'180px'
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center",
|
||||
"width": "180px",
|
||||
"options": "Cost Center",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'balance',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Account Balance',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'balance',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Account Balance",
|
||||
"oldfieldname": "balance",
|
||||
"fieldname": "balance",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'against_voucher',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Against Purchase Invoice',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'against_voucher',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Purchase Invoice',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 0,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Against Purchase Invoice",
|
||||
"oldfieldname": "against_voucher",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "against_voucher",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"options": "Purchase Invoice",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'against_invoice',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Against Sales Invoice',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'against_invoice',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Sales Invoice',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 0,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Against Sales Invoice",
|
||||
"oldfieldname": "against_invoice",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "against_invoice",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"options": "Sales Invoice",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'against_jv',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Against Journal Voucher',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'against_jv',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Journal Voucher',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'search_index': 1
|
||||
"print_hide": 0,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Against Journal Voucher",
|
||||
"oldfieldname": "against_jv",
|
||||
"options": "Journal Voucher",
|
||||
"fieldname": "against_jv",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Is Advance",
|
||||
"oldfieldname": "is_advance",
|
||||
"permlevel": 0,
|
||||
"fieldname": "is_advance",
|
||||
"fieldtype": "Select",
|
||||
"options": "No\nYes"
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Against Account",
|
||||
"oldfieldname": "against_account",
|
||||
"fieldname": "against_account",
|
||||
"fieldtype": "Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,31 +1,24 @@
|
||||
# DocType, MIS Control
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:49',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:49',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:49",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:49"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 120
|
||||
"section_style": "Simple",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"version": 120,
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1
|
||||
},
|
||||
|
||||
# DocType, MIS Control
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'MIS Control'
|
||||
"name": "MIS Control",
|
||||
"doctype": "DocType"
|
||||
}
|
||||
]
|
@ -1,51 +1,40 @@
|
||||
# DocType, Multi Ledger Report Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:44",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:44"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 3
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"version": 3,
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account',
|
||||
'name': '__common__',
|
||||
'options': u'Account',
|
||||
'parent': u'Multi Ledger Report Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'300px'
|
||||
"parent": "Multi Ledger Report Detail",
|
||||
"reqd": 1,
|
||||
"name": "__common__",
|
||||
"doctype": "DocField",
|
||||
"label": "Account",
|
||||
"width": "300px",
|
||||
"parenttype": "DocType",
|
||||
"options": "Account",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Multi Ledger Report Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Multi Ledger Report Detail'
|
||||
"name": "Multi Ledger Report Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField'
|
||||
"doctype": "DocField"
|
||||
}
|
||||
]
|
@ -1,274 +1,217 @@
|
||||
# DocType, Payment to Invoice Matching Tool
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:42',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:42"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1316509358',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'document_type': u'Other',
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 1,
|
||||
'version': 37
|
||||
"section_style": "Simple",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1,
|
||||
"document_type": "Other",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1316509358",
|
||||
"show_in_menu": 1,
|
||||
"version": 37
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Payment to Invoice Matching Tool',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Payment to Invoice Matching Tool",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Payment to Invoice Matching Tool',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Payment to Invoice Matching Tool",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Payment to Invoice Matching Tool
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Payment to Invoice Matching Tool'
|
||||
"name": "Payment to Invoice Matching Tool",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts User',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "Accounts User",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'All'
|
||||
"role": "All",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account',
|
||||
'options': u'Account',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"options": "Account",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"label": "Account",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Voucher Type',
|
||||
'options': u'Sales Invoice\nPurchase Invoice\nJournal Voucher',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"options": "Sales Invoice\nPurchase Invoice\nJournal Voucher",
|
||||
"fieldname": "voucher_type",
|
||||
"fieldtype": "Select",
|
||||
"label": "Voucher Type",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Voucher No',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher No",
|
||||
"trigger": "Client",
|
||||
"fieldname": "voucher_no",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break1',
|
||||
'fieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break1",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Amount',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Total Amount",
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'pending_amt_to_reconcile',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Pending Amt To Reconcile',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Pending Amt To Reconcile",
|
||||
"fieldname": "pending_amt_to_reconcile",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'payment_entries',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Payment Entries',
|
||||
'permlevel': 0
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Payment Entries",
|
||||
"fieldname": "payment_entries",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break2',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u"<div class = 'field_description'>Filter payment entries based on date:</div>",
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "<div class = 'field_description'>Filter payment entries based on date:</div>",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break2",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'from_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'From Date',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"label": "From Date",
|
||||
"fieldname": "from_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'to_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'To Date',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"label": "To Date",
|
||||
"fieldname": "to_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break3',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u"<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "<div class = 'field_description'>Filter payment entries based on amount:</div>",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break3",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_greater_than',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amount >=',
|
||||
'permlevel': 0
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount >=",
|
||||
"fieldname": "amt_greater_than",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_less_than',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Amount <=',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"label": "Amount <=",
|
||||
"fieldname": "amt_less_than",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'section_break0',
|
||||
'fieldtype': u'Section Break',
|
||||
'options': u'Simple',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"permlevel": 0,
|
||||
"fieldname": "section_break0",
|
||||
"fieldtype": "Section Break",
|
||||
"options": "Simple"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'pull_payment_entries',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Pull Payment Entries',
|
||||
'options': u'get_payment_entries',
|
||||
'permlevel': 0
|
||||
"doctype": "DocField",
|
||||
"options": "get_payment_entries",
|
||||
"fieldname": "pull_payment_entries",
|
||||
"fieldtype": "Button",
|
||||
"label": "Pull 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
|
||||
"doctype": "DocField",
|
||||
"options": "Payment to Invoice Matching Tool Detail",
|
||||
"fieldname": "ir_payment_details",
|
||||
"fieldtype": "Table",
|
||||
"label": "Payment Entries",
|
||||
"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
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Reconcile HTML",
|
||||
"permlevel": 0,
|
||||
"fieldname": "reconcile_html",
|
||||
"fieldtype": "HTML",
|
||||
"options": "<div class='field_description'>Select Payment Voucher and Amount to Reconcile in the above table and then click Reconcile button</div>"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Reconcile",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "reconcile",
|
||||
"fieldtype": "Button",
|
||||
"options": "reconcile"
|
||||
}
|
||||
]
|
@ -1,131 +1,104 @@
|
||||
# DocType, Payment to Invoice Matching Tool Detail
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:43',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:43",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:43"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 14
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"version": 14,
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Payment to Invoice Matching Tool Detail',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Payment to Invoice Matching Tool Detail",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Payment to Invoice Matching Tool Detail
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Payment to Invoice Matching Tool Detail'
|
||||
"name": "Payment to Invoice Matching Tool Detail",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'selected',
|
||||
'fieldtype': u'Check',
|
||||
'label': u'Select',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'60px'
|
||||
"doctype": "DocField",
|
||||
"label": "Select",
|
||||
"width": "60px",
|
||||
"fieldname": "selected",
|
||||
"fieldtype": "Check",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'voucher_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Voucher No',
|
||||
'options': u'Journal Voucher',
|
||||
'permlevel': 1,
|
||||
'reqd': 0,
|
||||
'width': u'140px'
|
||||
"permlevel": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher No",
|
||||
"width": "140px",
|
||||
"fieldname": "voucher_no",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 0,
|
||||
"options": "Journal Voucher"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_due',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amt Due',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Amt Due",
|
||||
"fieldname": "amt_due",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amt_to_be_reconciled',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amt to be reconciled',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Amt to be reconciled",
|
||||
"fieldname": "amt_to_be_reconciled",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'posting_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Posting Date',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_amt',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Amt',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Total Amt",
|
||||
"fieldname": "total_amt",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'against_account',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Against Account',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Against Account",
|
||||
"fieldname": "against_account",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'remarks',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Remarks',
|
||||
'permlevel': 1,
|
||||
'width': u'200px'
|
||||
"doctype": "DocField",
|
||||
"label": "Remarks",
|
||||
"width": "200px",
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Small Text",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Voucher Detail No",
|
||||
"fieldname": "voucher_detail_no",
|
||||
"fieldtype": "Data",
|
||||
"no_column": 0,
|
||||
"reqd": 0,
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,276 +1,221 @@
|
||||
# DocType, Period Closing Voucher
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-06-11 12:09:52',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-10 14:21:21',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'jai@webnotestech.com'
|
||||
"owner": "jai@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-11 12:09:52",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-10 14:21:21"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1311621379',
|
||||
'autoname': u'PCE/.###',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'is_submittable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'search_fields': u'posting_date, fiscal_year',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"is_submittable": 1,
|
||||
"search_fields": "posting_date, fiscal_year",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "PCE/.###",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1311621379",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Period Closing Voucher',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Period Closing Voucher",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Period Closing Voucher',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Period Closing Voucher",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Period Closing Voucher
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Period Closing Voucher'
|
||||
"name": "Period Closing Voucher",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'System Manager'
|
||||
"role": "System Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
"amend": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"oldfieldtype": "Column Break",
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'transaction_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Transaction Date',
|
||||
'oldfieldname': u'transaction_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Transaction Date",
|
||||
"oldfieldname": "transaction_date",
|
||||
"fieldname": "transaction_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'posting_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Posting Date',
|
||||
'oldfieldname': u'posting_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Posting Date",
|
||||
"oldfieldname": "posting_date",
|
||||
"fieldname": "posting_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'fiscal_year',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Closing Fiscal Year',
|
||||
'oldfieldname': u'fiscal_year',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Fiscal Year',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Closing Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"permlevel": 0,
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Fiscal Year"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'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
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Amended From",
|
||||
"oldfieldname": "amended_from",
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 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
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Amendment Date",
|
||||
"oldfieldname": "amendment_date",
|
||||
"fieldname": "amendment_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Company',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"permlevel": 0,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Company"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break1',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Column Break",
|
||||
"doctype": "DocField",
|
||||
"fieldname": "column_break1",
|
||||
"fieldtype": "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'
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Closing Account Head",
|
||||
"oldfieldname": "closing_account_head",
|
||||
"trigger": "Client",
|
||||
"fieldname": "closing_account_head",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# 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
|
||||
"oldfieldtype": "HTML",
|
||||
"doctype": "DocField",
|
||||
"label": "CoA Help",
|
||||
"permlevel": 0,
|
||||
"fieldname": "coa_help",
|
||||
"fieldtype": "HTML",
|
||||
"options": "<a href=\"#!Accounts Browser/Account\">To manage Account Head, click here</a>"
|
||||
},
|
||||
|
||||
# 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
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Remarks",
|
||||
"oldfieldname": "remarks",
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Small Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Cancel Reason",
|
||||
"oldfieldname": "cancel_reason",
|
||||
"fieldname": "cancel_reason",
|
||||
"fieldtype": "Small Text",
|
||||
"oldfieldtype": "Small Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,282 +1,229 @@
|
||||
# DocType, POS Setting
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-06-11 12:09:53',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-16 16:27:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-11 12:09:53",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-16 16:27:51"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1322549700',
|
||||
'autoname': u'POS/.####',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"autoname": "POS/.####",
|
||||
"show_in_menu": 0,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"server_code_error": " ",
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'POS Setting',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "POS Setting",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'POS Setting',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "POS Setting",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, POS Setting
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'POS Setting'
|
||||
"name": "POS Setting",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'user',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'User',
|
||||
'oldfieldname': u'user',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Profile'
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "User",
|
||||
"oldfieldname": "user",
|
||||
"fieldname": "user",
|
||||
"fieldtype": "Link",
|
||||
"options": "Profile"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'territory',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Territory',
|
||||
'oldfieldname': u'territory',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Territory',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Territory",
|
||||
"oldfieldname": "territory",
|
||||
"fieldname": "territory",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Territory"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Series',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'naming_series',
|
||||
'oldfieldtype': u'Select',
|
||||
'reqd': 1
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Series",
|
||||
"oldfieldname": "naming_series",
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'currency',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Currency',
|
||||
'oldfieldname': u'currency',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Currency',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Currency",
|
||||
"oldfieldname": "currency",
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Currency"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'default': u'1',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'conversion_rate',
|
||||
'fieldtype': u'Float',
|
||||
'label': u'Conversion Rate',
|
||||
'oldfieldname': u'conversion_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'reqd': 1
|
||||
"default": "1",
|
||||
"oldfieldtype": "Currency",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Conversion Rate",
|
||||
"oldfieldname": "conversion_rate",
|
||||
"fieldname": "conversion_rate",
|
||||
"fieldtype": "Float",
|
||||
"reqd": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'price_list_name',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Price List',
|
||||
'oldfieldname': u'price_list_name',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Price List',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List",
|
||||
"oldfieldname": "price_list_name",
|
||||
"fieldname": "price_list_name",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Price List"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Company',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Company"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break'
|
||||
"oldfieldtype": "Column Break",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"doctype": "DocField"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'customer_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Customer Account',
|
||||
'oldfieldname': u'customer_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 0
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Customer Account",
|
||||
"oldfieldname": "customer_account",
|
||||
"fieldname": "customer_account",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 0,
|
||||
"options": "Account"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cash_bank_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cash/Bank Account',
|
||||
'oldfieldname': u'cash_bank_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Cash/Bank Account",
|
||||
"oldfieldname": "cash_bank_account",
|
||||
"fieldname": "cash_bank_account",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'income_account',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Income Account',
|
||||
'oldfieldname': u'income_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Income Account",
|
||||
"oldfieldname": "income_account",
|
||||
"fieldname": "income_account",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'warehouse',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Warehouse',
|
||||
'oldfieldname': u'warehouse',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Warehouse',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Warehouse",
|
||||
"oldfieldname": "warehouse",
|
||||
"fieldname": "warehouse",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Warehouse"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Cost Center"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'charge',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Charge',
|
||||
'oldfieldname': u'charge',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Sales Taxes and Charges Master'
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Charge",
|
||||
"oldfieldname": "charge",
|
||||
"fieldname": "charge",
|
||||
"fieldtype": "Link",
|
||||
"options": "Sales Taxes and Charges Master"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'letter_head',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Letter Head',
|
||||
'oldfieldname': u'letter_head',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'link:Letter Head',
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Letter Head",
|
||||
"oldfieldname": "letter_head",
|
||||
"fieldname": "letter_head",
|
||||
"fieldtype": "Select",
|
||||
"options": "link:Letter Head"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Terms and Conditions",
|
||||
"oldfieldname": "tc_name",
|
||||
"fieldname": "tc_name",
|
||||
"fieldtype": "Link",
|
||||
"options": "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'
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Select Print Heading",
|
||||
"oldfieldname": "select_print_heading",
|
||||
"fieldname": "select_print_heading",
|
||||
"fieldtype": "Select",
|
||||
"options": "link:Print Heading",
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'System Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"write": 1,
|
||||
"create": 1,
|
||||
"role": "System Manager",
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"write": 1,
|
||||
"create": 1,
|
||||
"role": "System Manager",
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts Manager',
|
||||
'write': 1
|
||||
"write": 1,
|
||||
"create": 1,
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
@ -40,12 +40,12 @@
|
||||
},
|
||||
{
|
||||
"oldfieldtype": "Data",
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Item Name",
|
||||
"oldfieldname": "item_name",
|
||||
"fieldname": "item_name",
|
||||
"fieldtype": "Data",
|
||||
"search_index": 0,
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 0
|
||||
@ -140,6 +140,7 @@
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"permlevel": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Expense Head",
|
||||
@ -149,7 +150,6 @@
|
||||
"fieldname": "expense_head",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
@ -200,35 +200,35 @@
|
||||
"label": "Item Group",
|
||||
"oldfieldname": "item_group",
|
||||
"permlevel": 1,
|
||||
"options": "Item Group",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"hidden": 1,
|
||||
"options": "Item Group",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Pur Order",
|
||||
"oldfieldname": "purchase_order",
|
||||
"options": "Purchase Order",
|
||||
"fieldname": "purchase_order",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Order Item",
|
||||
"oldfieldname": "po_detail",
|
||||
"fieldname": "po_detail",
|
||||
"fieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
@ -236,25 +236,25 @@
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Pur Receipt",
|
||||
"oldfieldname": "purchase_receipt",
|
||||
"options": "Purchase Receipt",
|
||||
"fieldname": "purchase_receipt",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "PR Detail",
|
||||
"oldfieldname": "pr_detail",
|
||||
"fieldname": "pr_detail",
|
||||
"fieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
|
@ -1,239 +1,202 @@
|
||||
# DocType, Purchase Taxes and Charges
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-09-18 11:20:24',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-09-28 12:27:43',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'wasim@webnotestech.com'
|
||||
"owner": "wasim@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-09-18 11:20:24",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-09-28 12:27:43"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1322549700',
|
||||
'autoname': u'PVTD.######',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'hide_heading': 1,
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"hide_heading": 1,
|
||||
"autoname": "PVTD.######",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Purchase Taxes and Charges',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Taxes and Charges",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Purchase Taxes and Charges
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Purchase Taxes and Charges'
|
||||
"name": "Purchase Taxes and Charges",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'charge_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Type',
|
||||
'oldfieldname': u'charge_type',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Type",
|
||||
"oldfieldname": "charge_type",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "charge_type",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'account_head',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account Head',
|
||||
'oldfieldname': u'account_head',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Account Head",
|
||||
"oldfieldname": "account_head",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "account_head",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
"options": "Cost Center"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'300px'
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "300px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Rate',
|
||||
'oldfieldname': u'rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Rate",
|
||||
"oldfieldname": "rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "rate",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'tax_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount',
|
||||
'oldfieldname': u'tax_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount",
|
||||
"oldfieldname": "tax_amount",
|
||||
"trigger": "Client",
|
||||
"fieldname": "tax_amount",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'total',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total',
|
||||
'oldfieldname': u'total',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Total",
|
||||
"oldfieldname": "total",
|
||||
"fieldname": "total",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'row_id',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
'label': u'Enter Row',
|
||||
'oldfieldname': u'row_id',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Enter Row",
|
||||
"oldfieldname": "row_id",
|
||||
"trigger": "Client",
|
||||
"fieldname": "row_id",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'default': u'Valuation and Total',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'category',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Consider Tax or Charge for',
|
||||
'oldfieldname': u'category',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'Valuation and Total\nValuation\nTotal',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"default": "Valuation and Total",
|
||||
"oldfieldtype": "Select",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Consider Tax or Charge for",
|
||||
"oldfieldname": "category",
|
||||
"options": "Valuation and Total\nValuation\nTotal",
|
||||
"fieldname": "category",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'default': u'Add',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'add_deduct_tax',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Add or Deduct',
|
||||
'oldfieldname': u'add_deduct_tax',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'Add\nDeduct',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"default": "Add",
|
||||
"oldfieldtype": "Select",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Add or Deduct",
|
||||
"oldfieldname": "add_deduct_tax",
|
||||
"trigger": "Client",
|
||||
"fieldname": "add_deduct_tax",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "Add\nDeduct",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'item_wise_tax_detail',
|
||||
'fieldtype': u'Small Text',
|
||||
'hidden': 1,
|
||||
'label': u'Item Wise Tax Detail ',
|
||||
'oldfieldname': u'item_wise_tax_detail',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Small Text",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Wise Tax Detail ",
|
||||
"oldfieldname": "item_wise_tax_detail",
|
||||
"fieldname": "item_wise_tax_detail",
|
||||
"fieldtype": "Small Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'parenttype',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'in_filter': 1,
|
||||
'label': u'Parenttype',
|
||||
'oldfieldname': u'parenttype',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'search_index': 0
|
||||
"print_hide": 1,
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Parenttype",
|
||||
"oldfieldname": "parenttype",
|
||||
"fieldname": "parenttype",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"description": "Cheating Field\nPlease do not delete ",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Total +Tax",
|
||||
"oldfieldname": "total_tax_amount",
|
||||
"fieldname": "total_tax_amount",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"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
|
||||
"print_hide": 1,
|
||||
"description": "Cheating Field\nPlease do not delete ",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Tax Amount",
|
||||
"oldfieldname": "total_amount",
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"report_hide": 1
|
||||
}
|
||||
]
|
@ -1,149 +1,120 @@
|
||||
# DocType, Purchase Taxes and Charges Master
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-05-15 12:14:32',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-08-17 09:57:04',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'wasim@webnotestech.com'
|
||||
"owner": "wasim@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-05-15 12:14:32",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-08-17 09:57:04"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1325570646',
|
||||
'allow_trash': 1,
|
||||
'autoname': u'field:title',
|
||||
'colour': u'White:FFF',
|
||||
'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.',
|
||||
'doctype': 'DocType',
|
||||
'document_type': u'Master',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"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.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"autoname": "field:title",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1325570646",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Taxes and Charges Master',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Taxes and Charges Master",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Taxes and Charges Master',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Taxes and Charges Master",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Purchase Taxes and Charges Master
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Purchase Taxes and Charges Master'
|
||||
"name": "Purchase Taxes and Charges Master",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'All'
|
||||
"role": "All",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Purchase Manager',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Purchase Manager",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Purchase Master Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Purchase Master Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'title',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'Title',
|
||||
'oldfieldname': u'title',
|
||||
'oldfieldtype': u'Data',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Title",
|
||||
"oldfieldname": "title",
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'is_default',
|
||||
'fieldtype': u'Check',
|
||||
'label': u'Default'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "is_default",
|
||||
"fieldtype": "Check",
|
||||
"label": "Default"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Company',
|
||||
'options': u'Company',
|
||||
'reqd': 1
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Company",
|
||||
"in_filter": 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'
|
||||
"oldfieldtype": "Table",
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Taxes and Charges",
|
||||
"oldfieldname": "purchase_tax_details",
|
||||
"fieldname": "purchase_tax_details",
|
||||
"fieldtype": "Table",
|
||||
"options": "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
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Company",
|
||||
"in_filter": 1
|
||||
}
|
||||
]
|
@ -1,105 +1,86 @@
|
||||
# DocType, Sales Invoice Advance
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:40',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:40',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:40",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:40"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 24
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"version": 24,
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'no_copy': 1,
|
||||
'parent': u'Sales Invoice Advance',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Invoice Advance",
|
||||
"no_copy": 1,
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Sales Invoice Advance
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Sales Invoice Advance'
|
||||
"name": "Sales Invoice Advance",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'journal_voucher',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Journal Voucher',
|
||||
'oldfieldname': u'journal_voucher',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Journal Voucher',
|
||||
'permlevel': 1,
|
||||
'width': u'250px'
|
||||
"permlevel": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Journal Voucher",
|
||||
"oldfieldname": "journal_voucher",
|
||||
"width": "250px",
|
||||
"fieldname": "journal_voucher",
|
||||
"fieldtype": "Link",
|
||||
"options": "Journal Voucher"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'jv_detail_no',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'label': u'Journal Voucher Detail No',
|
||||
'oldfieldname': u'jv_detail_no',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'width': u'120px'
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Journal Voucher Detail No",
|
||||
"oldfieldname": "jv_detail_no",
|
||||
"width": "120px",
|
||||
"fieldname": "jv_detail_no",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'advance_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Advance amount',
|
||||
'oldfieldname': u'advance_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'width': u'120px'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Advance amount",
|
||||
"oldfieldname": "advance_amount",
|
||||
"width": "120px",
|
||||
"fieldname": "advance_amount",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'allocated_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Allocated amount',
|
||||
'oldfieldname': u'allocated_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client',
|
||||
'width': u'120px'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Allocated amount",
|
||||
"oldfieldname": "allocated_amount",
|
||||
"width": "120px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "allocated_amount",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# 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'
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Remarks",
|
||||
"oldfieldname": "remarks",
|
||||
"width": "150px",
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Small Text",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,454 +1,385 @@
|
||||
# DocType, Sales Invoice Item
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-06-08 16:07:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-09 11:00:18',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-08 16:07:55",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-09 11:00:18"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'INVD.######',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Accounts",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"autoname": "INVD.######",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Invoice Item',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Invoice Item",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Sales Invoice Item
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Sales Invoice Item'
|
||||
"name": "Sales Invoice Item",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'barcode',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Barcode',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Barcode",
|
||||
"fieldname": "barcode",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_code',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Item',
|
||||
'oldfieldname': u'item_code',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Item',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'reqd': 0,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Item",
|
||||
"oldfieldname": "item_code",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "item_code",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 0,
|
||||
"options": "Item",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'customer_item_code',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'label': u"Customer's Item Code",
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Customer's Item Code",
|
||||
"fieldname": "customer_item_code",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_name',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 0,
|
||||
'label': u'Item Name',
|
||||
'oldfieldname': u'item_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
"print_hide": 1,
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Item Name",
|
||||
"oldfieldname": "item_name",
|
||||
"fieldname": "item_name",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'200px'
|
||||
"oldfieldtype": "Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "200px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Qty',
|
||||
'oldfieldname': u'qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Qty",
|
||||
"oldfieldname": "qty",
|
||||
"trigger": "Client",
|
||||
"fieldname": "qty",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'stock_uom',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'UOM',
|
||||
'permlevel': 1
|
||||
"doctype": "DocField",
|
||||
"label": "UOM",
|
||||
"fieldname": "stock_uom",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'ref_rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Price List Rate',
|
||||
'oldfieldname': u'ref_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List Rate",
|
||||
"oldfieldname": "ref_rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "ref_rate",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'adj_rate',
|
||||
'fieldtype': u'Float',
|
||||
'label': u'Discount (%)',
|
||||
'oldfieldname': u'adj_rate',
|
||||
'oldfieldtype': u'Float',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Float",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Discount (%)",
|
||||
"oldfieldname": "adj_rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "adj_rate",
|
||||
"fieldtype": "Float",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'export_rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Basic Rate',
|
||||
'oldfieldname': u'export_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Basic Rate",
|
||||
"oldfieldname": "export_rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "export_rate",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'export_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount',
|
||||
'oldfieldname': u'export_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount",
|
||||
"oldfieldname": "export_amount",
|
||||
"fieldname": "export_amount",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'base_ref_rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Price List Rate*',
|
||||
'oldfieldname': u'base_ref_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Price List Rate*",
|
||||
"oldfieldname": "base_ref_rate",
|
||||
"fieldname": "base_ref_rate",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'basic_rate',
|
||||
'fieldtype': u'Currency',
|
||||
'in_filter': 0,
|
||||
'label': u'Basic Rate*',
|
||||
'oldfieldname': u'basic_rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'reqd': 1,
|
||||
'search_index': 0,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Basic Rate*",
|
||||
"oldfieldname": "basic_rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "basic_rate",
|
||||
"fieldtype": "Currency",
|
||||
"search_index": 0,
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount*',
|
||||
'oldfieldname': u'amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'reqd': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount*",
|
||||
"oldfieldname": "amount",
|
||||
"fieldname": "amount",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'warehouse',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 0,
|
||||
'label': u'Warehouse',
|
||||
'oldfieldname': u'warehouse',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Warehouse',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Warehouse",
|
||||
"oldfieldname": "warehouse",
|
||||
"permlevel": 0,
|
||||
"fieldname": "warehouse",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"options": "Warehouse"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'income_account',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Income Account',
|
||||
'oldfieldname': u'income_account',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client',
|
||||
'width': u'120px'
|
||||
"print_hide": 1,
|
||||
"permlevel": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Income Account",
|
||||
"oldfieldname": "income_account",
|
||||
"width": "120px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "income_account",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client',
|
||||
'width': u'120px'
|
||||
"print_hide": 1,
|
||||
"permlevel": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center",
|
||||
"width": "120px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 0,
|
||||
"options": "Cost Center",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'serial_no',
|
||||
'fieldtype': u'Small Text',
|
||||
'in_filter': 1,
|
||||
'label': u'Serial No',
|
||||
'oldfieldname': u'serial_no',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Serial No",
|
||||
"oldfieldname": "serial_no",
|
||||
"fieldname": "serial_no",
|
||||
"fieldtype": "Small Text",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'batch_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Batch No',
|
||||
'options': u'Batch',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Batch No",
|
||||
"options": "Batch",
|
||||
"fieldname": "batch_no",
|
||||
"fieldtype": "Link",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_group',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 1,
|
||||
'in_filter': 1,
|
||||
'label': u'Item Group',
|
||||
'oldfieldname': u'item_group',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Item Group',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Group",
|
||||
"oldfieldname": "item_group",
|
||||
"options": "Item Group",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'brand',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'in_filter': 1,
|
||||
'label': u'Brand Name',
|
||||
'oldfieldname': u'brand',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Brand Name",
|
||||
"oldfieldname": "brand",
|
||||
"fieldname": "brand",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'actual_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Available Qty at Warehouse',
|
||||
'oldfieldname': u'actual_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Available Qty at Warehouse",
|
||||
"oldfieldname": "actual_qty",
|
||||
"fieldname": "actual_qty",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'delivered_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Delivered Qty',
|
||||
'oldfieldname': u'delivered_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Delivered Qty",
|
||||
"oldfieldname": "delivered_qty",
|
||||
"fieldname": "delivered_qty",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'sales_order',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Sales Order',
|
||||
'oldfieldname': u'sales_order',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Sales Order',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"print_hide": 1,
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Order",
|
||||
"oldfieldname": "sales_order",
|
||||
"trigger": "Client",
|
||||
"fieldname": "sales_order",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Sales Order",
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'so_detail',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'in_filter': 1,
|
||||
'label': u'SO Detail ',
|
||||
'oldfieldname': u'so_detail',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'search_index': 1
|
||||
"print_hide": 1,
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "SO Detail ",
|
||||
"oldfieldname": "so_detail",
|
||||
"fieldname": "so_detail",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'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'
|
||||
"print_hide": 1,
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Delivery Note",
|
||||
"oldfieldname": "delivery_note",
|
||||
"trigger": "Client",
|
||||
"fieldname": "delivery_note",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"options": "Delivery Note",
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "DN Detail",
|
||||
"oldfieldname": "dn_detail",
|
||||
"fieldname": "dn_detail",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 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
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Tax Rate",
|
||||
"oldfieldname": "item_tax_rate",
|
||||
"fieldname": "item_tax_rate",
|
||||
"fieldtype": "Small Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Check",
|
||||
"doctype": "DocField",
|
||||
"label": "Clear Pending",
|
||||
"oldfieldname": "clear_pending",
|
||||
"fieldname": "clear_pending",
|
||||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"permlevel": 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"allow_on_submit": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Page Break",
|
||||
"fieldname": "page_break",
|
||||
"fieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"report_hide": 1
|
||||
}
|
||||
]
|
@ -1,223 +1,188 @@
|
||||
# DocType, Sales Taxes and Charges
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-04 16:40:13',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-12 13:50:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-04 16:40:13",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-12 13:50:43"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'INVTD.######',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'hide_heading': 1,
|
||||
'istable': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"autoname": "INVTD.######",
|
||||
"show_in_menu": 0,
|
||||
"hide_heading": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"server_code_error": " ",
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Taxes and Charges',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Taxes and Charges",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Sales Taxes and Charges
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Sales Taxes and Charges'
|
||||
"name": "Sales Taxes and Charges",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'charge_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Type',
|
||||
'oldfieldname': u'charge_type',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Type",
|
||||
"oldfieldname": "charge_type",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "charge_type",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nActual\nOn Net Total\nOn Previous Row Amount\nOn Previous Row Total"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'account_head',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Account Head',
|
||||
'oldfieldname': u'account_head',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Account',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Account Head",
|
||||
"oldfieldname": "account_head",
|
||||
"trigger": "Client",
|
||||
"fieldname": "account_head",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Account",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'cost_center_other_charges',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Cost Center',
|
||||
'oldfieldname': u'cost_center_other_charges',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Cost Center',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Cost Center",
|
||||
"oldfieldname": "cost_center_other_charges",
|
||||
"permlevel": 0,
|
||||
"fieldname": "cost_center_other_charges",
|
||||
"fieldtype": "Link",
|
||||
"options": "Cost Center"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'300px'
|
||||
"oldfieldtype": "Small Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "300px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Rate',
|
||||
'oldfieldname': u'rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Rate",
|
||||
"oldfieldname": "rate",
|
||||
"trigger": "Client",
|
||||
"fieldname": "rate",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'tax_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount',
|
||||
'oldfieldname': u'tax_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount",
|
||||
"oldfieldname": "tax_amount",
|
||||
"trigger": "Client",
|
||||
"fieldname": "tax_amount",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total',
|
||||
'oldfieldname': u'total',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Total",
|
||||
"oldfieldname": "total",
|
||||
"fieldname": "total",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'row_id',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
'label': u'Enter Row',
|
||||
'oldfieldname': u'row_id',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Enter Row",
|
||||
"oldfieldname": "row_id",
|
||||
"trigger": "Client",
|
||||
"fieldname": "row_id",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_wise_tax_detail',
|
||||
'fieldtype': u'Small Text',
|
||||
'hidden': 1,
|
||||
'label': u'Item Wise Tax Detail ',
|
||||
'oldfieldname': u'item_wise_tax_detail',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Small Text",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Wise Tax Detail ",
|
||||
"oldfieldname": "item_wise_tax_detail",
|
||||
"fieldname": "item_wise_tax_detail",
|
||||
"fieldtype": "Small Text",
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'parenttype',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
'in_filter': 1,
|
||||
'label': u'Parenttype',
|
||||
'oldfieldname': u'parenttype',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'search_index': 1
|
||||
"print_hide": 1,
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Parenttype",
|
||||
"oldfieldname": "parenttype",
|
||||
"fieldname": "parenttype",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'Cheating Field\nPlease do not delete ',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'total_tax_amount',
|
||||
'fieldtype': u'Currency',
|
||||
'hidden': 1,
|
||||
'label': u'Total Tax Amount',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'total_tax_amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'report_hide': 1
|
||||
"print_hide": 1,
|
||||
"description": "Cheating Field\nPlease do not delete ",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Total Tax Amount",
|
||||
"oldfieldname": "total_tax_amount",
|
||||
"fieldname": "total_tax_amount",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"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
|
||||
"print_hide": 1,
|
||||
"description": "Cheating Field\nPlease do not delete ",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Total Amount",
|
||||
"oldfieldname": "total_amount",
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"permlevel": 0,
|
||||
"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'
|
||||
"print_hide": 1,
|
||||
"description": "If checked, the tax amount will be considered as already included in the Print Rate / Print Amount",
|
||||
"no_copy": 1,
|
||||
"allow_on_submit": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Is this Tax included in Basic Rate?",
|
||||
"width": "150px",
|
||||
"fieldname": "included_in_print_rate",
|
||||
"fieldtype": "Check",
|
||||
"no_column": 0,
|
||||
"permlevel": 0,
|
||||
"report_hide": 1
|
||||
}
|
||||
]
|
@ -1,173 +1,142 @@
|
||||
# DocType, Sales Taxes and Charges Master
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-03 13:30:46',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-12 13:43:32',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:46",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-12 13:43:32"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1322549700',
|
||||
'allow_trash': 1,
|
||||
'autoname': u'field:title',
|
||||
'colour': u'White:FFF',
|
||||
'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.',
|
||||
'doctype': 'DocType',
|
||||
'document_type': u'Master',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tabbed',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"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.",
|
||||
"module": "Accounts",
|
||||
"doctype": "DocType",
|
||||
"allow_trash": 1,
|
||||
"server_code_error": " ",
|
||||
"document_type": "Master",
|
||||
"autoname": "field:title",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1322549700",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Taxes and Charges Master',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "Sales Taxes and Charges Master",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Taxes and Charges Master',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Sales Taxes and Charges Master",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Sales Taxes and Charges Master
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Sales Taxes and Charges Master'
|
||||
"name": "Sales Taxes and Charges Master",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Sales Master Manager',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Sales Master Manager",
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'Sales User',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Sales User",
|
||||
"cancel": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'create': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Sales User',
|
||||
'submit': 0,
|
||||
'write': 0
|
||||
"amend": 0,
|
||||
"create": 0,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 0,
|
||||
"role": "Sales User",
|
||||
"cancel": 0,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Accounts Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"amend": 0,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Accounts Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'Sales Master Manager',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"amend": 0,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Sales Master Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'title',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'Title',
|
||||
'oldfieldname': u'title',
|
||||
'oldfieldtype': u'Data',
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Title",
|
||||
"oldfieldname": "title",
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'is_default',
|
||||
'fieldtype': u'Check',
|
||||
'label': u'Default'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "is_default",
|
||||
"fieldtype": "Check",
|
||||
"label": "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'
|
||||
"description": "* Will be calculated in the transaction.",
|
||||
"oldfieldtype": "Table",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Taxes and Charges Master",
|
||||
"oldfieldname": "other_charges",
|
||||
"fieldname": "other_charges",
|
||||
"fieldtype": "Table",
|
||||
"options": "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
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"oldfieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"options": "Company",
|
||||
"in_filter": 1
|
||||
}
|
||||
]
|
@ -1,32 +1,25 @@
|
||||
# DocType, Trend Analyzer Control
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:49',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:49',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'saumil@webnotestech.com'
|
||||
"owner": "saumil@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:49",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:49"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'in_create': 1,
|
||||
'issingle': 1,
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'read_only': 1,
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'version': 11
|
||||
"section_style": "Simple",
|
||||
"in_create": 1,
|
||||
"module": "Accounts",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1,
|
||||
"read_only": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"version": 11
|
||||
},
|
||||
|
||||
# DocType, Trend Analyzer Control
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Trend Analyzer Control'
|
||||
"name": "Trend Analyzer Control",
|
||||
"doctype": "DocType"
|
||||
}
|
||||
]
|
@ -1,49 +1,36 @@
|
||||
# Page, Accounts Browser
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-06-14 15:07:28',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 16:57:27',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-14 15:07:28",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 16:57:27"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'Accounts Browser',
|
||||
'show_in_menu': 0,
|
||||
'standard': u'Yes'
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"page_name": "Accounts Browser",
|
||||
"doctype": "Page",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Accounts Browser',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "Accounts Browser",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, Accounts Browser
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'Accounts Browser'
|
||||
"name": "Accounts Browser",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,28 +1,21 @@
|
||||
# Page, accounts-home
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-06-14 15:07:28',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-05 16:30:46',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-14 15:07:28",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-05 16:30:46"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'accounts-home',
|
||||
'standard': u'Yes',
|
||||
'title': u'Accounts Home'
|
||||
"name": "__common__",
|
||||
"title": "Accounts Home",
|
||||
"module": "Accounts",
|
||||
"doctype": "Page",
|
||||
"page_name": "accounts-home",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Page, accounts-home
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'accounts-home'
|
||||
"name": "accounts-home",
|
||||
"doctype": "Page"
|
||||
}
|
||||
]
|
@ -1,55 +1,40 @@
|
||||
# Page, financial-analytics
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-09-18 11:05:48',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:02:43',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-09-18 11:05:48",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:02:43"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'financial-analytics',
|
||||
'standard': u'Yes',
|
||||
'title': u'Financial Analytics'
|
||||
"name": "__common__",
|
||||
"title": "Financial Analytics",
|
||||
"module": "Accounts",
|
||||
"doctype": "Page",
|
||||
"page_name": "financial-analytics",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'financial-analytics',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "financial-analytics",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, financial-analytics
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'financial-analytics'
|
||||
"name": "financial-analytics",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Analytics'
|
||||
"role": "Analytics",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,49 +1,36 @@
|
||||
# Page, Financial Statements
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-06-14 15:07:28',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:04:05',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-14 15:07:28",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:04:05"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'Financial Statements',
|
||||
'show_in_menu': 0,
|
||||
'standard': u'Yes'
|
||||
"name": "__common__",
|
||||
"module": "Accounts",
|
||||
"show_in_menu": 0,
|
||||
"page_name": "Financial Statements",
|
||||
"doctype": "Page",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Financial Statements',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "Financial Statements",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, Financial Statements
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'Financial Statements'
|
||||
"name": "Financial Statements",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,55 +1,40 @@
|
||||
# Page, general-ledger
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-09-14 11:25:48',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:00:09',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-09-14 11:25:48",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:00:09"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'general-ledger',
|
||||
'standard': u'Yes',
|
||||
'title': u'General Ledger'
|
||||
"name": "__common__",
|
||||
"title": "General Ledger",
|
||||
"module": "Accounts",
|
||||
"doctype": "Page",
|
||||
"page_name": "general-ledger",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'general-ledger',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "general-ledger",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, general-ledger
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'general-ledger'
|
||||
"name": "general-ledger",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Analytics'
|
||||
"role": "Analytics",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,55 +1,40 @@
|
||||
# Page, trial-balance
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-09-18 11:05:48',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:01:47',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-09-18 11:05:48",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:01:47"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'trial-balance',
|
||||
'standard': u'Yes',
|
||||
'title': u'Trial Balance'
|
||||
"name": "__common__",
|
||||
"title": "Trial Balance",
|
||||
"module": "Accounts",
|
||||
"doctype": "Page",
|
||||
"page_name": "trial-balance",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'trial-balance',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "trial-balance",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, trial-balance
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'trial-balance'
|
||||
"name": "trial-balance",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Analytics'
|
||||
"role": "Analytics",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts Manager'
|
||||
"role": "Accounts Manager",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Accounts User'
|
||||
"role": "Accounts User",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,43 +1,32 @@
|
||||
# Page, voucher-import-tool
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-10-02 18:51:49',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:04:18',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-10-02 18:51:49",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:04:18"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'voucher-import-tool',
|
||||
'standard': u'Yes',
|
||||
'title': u'Voucher Import Tool'
|
||||
"name": "__common__",
|
||||
"title": "Voucher Import Tool",
|
||||
"module": "Accounts",
|
||||
"doctype": "Page",
|
||||
"page_name": "voucher-import-tool",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'voucher-import-tool',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page',
|
||||
'role': u'Accounts Manager'
|
||||
"parent": "voucher-import-tool",
|
||||
"name": "__common__",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"role": "Accounts Manager",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, voucher-import-tool
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'voucher-import-tool'
|
||||
"name": "voucher-import-tool",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role'
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, accounts_payable
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-05-14 18:05:41',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-17 10:51:41',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-05-14 18:05:41",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-17 10:51:41"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'GL Entry\x01Posting Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
|
||||
'criteria_name': u'Accounts Payable',
|
||||
'doc_type': u'GL Entry',
|
||||
u'doctype': u'Search Criteria',
|
||||
'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"}',
|
||||
'module': u'Accounts',
|
||||
u'name': u'__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabGL Entry`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"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\"}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "GL Entry",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabGL Entry`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Accounts Payable",
|
||||
"columns": "GL Entry\u0001Posting Date,GL Entry\u0001Account,GL Entry\u0001Against Voucher,GL Entry\u0001Voucher No"
|
||||
},
|
||||
|
||||
# Search Criteria, accounts_payable
|
||||
{
|
||||
u'doctype': u'Search Criteria',
|
||||
u'name': u'accounts_payable'
|
||||
"name": "accounts_payable",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,32 +1,25 @@
|
||||
# Search Criteria, accounts_receivable
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'GL Entry\x01Posting Date,GL Entry\x01Transaction Date,GL Entry\x01Account,GL Entry\x01Against Voucher,GL Entry\x01Voucher No',
|
||||
'criteria_name': u'Accounts Receivable',
|
||||
'doc_type': u'GL Entry',
|
||||
'doctype': 'Search Criteria',
|
||||
'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'}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'sort_by': u'`tabGL Entry`.`name`',
|
||||
'sort_order': u'ASC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"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'}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "GL Entry",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabGL Entry`.`name`",
|
||||
"criteria_name": "Accounts Receivable",
|
||||
"columns": "GL Entry\u0001Posting Date,GL Entry\u0001Transaction Date,GL Entry\u0001Account,GL Entry\u0001Against Voucher,GL Entry\u0001Voucher No"
|
||||
},
|
||||
|
||||
# Search Criteria, accounts_receivable
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'accounts_receivable'
|
||||
"name": "accounts_receivable",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,36 +1,29 @@
|
||||
# Search Criteria, bank_clearance_report
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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',
|
||||
'criteria_name': u'Bank Clearance report',
|
||||
'description': u'Bank Clearance report',
|
||||
'dis_filters': u'fiscal_year',
|
||||
'doc_type': u'Journal Voucher Detail',
|
||||
'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':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Journal Voucher',
|
||||
'sort_by': u'ID',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"description": "Bank Clearance report",
|
||||
"parent_doc_type": "Journal Voucher",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"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':''}",
|
||||
"dis_filters": "fiscal_year",
|
||||
"doc_type": "Journal Voucher Detail",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "ID",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Bank Clearance report",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, bank_clearance_report
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'bank_clearance_report'
|
||||
"name": "bank_clearance_report",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,36 +1,29 @@
|
||||
# Search Criteria, bank_reconciliation_statement
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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')",
|
||||
'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',
|
||||
'criteria_name': u'Bank Reconciliation Statement',
|
||||
'dis_filters': u'clearance_date\nfiscal_year',
|
||||
'doc_type': u'Journal Voucher Detail',
|
||||
'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':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Journal Voucher',
|
||||
'sort_by': u'`tabJournal Voucher`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Journal Voucher",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Journal Voucher\u0001Submitted':1,'Journal Voucher\u0001Voucher Type':'','Journal Voucher\u0001Is Opening':'','Journal Voucher\u0001Company':'','Journal Voucher\u0001TDS Applicable':'','Journal Voucher\u0001TDS Category':''}",
|
||||
"dis_filters": "clearance_date\nfiscal_year",
|
||||
"doc_type": "Journal Voucher Detail",
|
||||
"name": "__common__",
|
||||
"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",
|
||||
"sort_by": "`tabJournal Voucher`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Bank Reconciliation Statement",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, bank_reconciliation_statement
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'bank_reconciliation_statement'
|
||||
"name": "bank_reconciliation_statement",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, budget_variance_report
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'harshada@webnotestech.com'
|
||||
"owner": "harshada@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': u'Budget Variance Report',
|
||||
'doc_type': u'Budget Detail',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Budget Detail\x01Fiscal Year':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Cost Center',
|
||||
'sort_by': u'`tabCost Center`.`lft`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Cost Center",
|
||||
"module": "Accounts",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Budget Detail\u0001Fiscal Year':''}",
|
||||
"standard": "Yes",
|
||||
"doc_type": "Budget Detail",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabCost Center`.`lft`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Budget Variance Report"
|
||||
},
|
||||
|
||||
# Search Criteria, budget_variance_report
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'budget_variance_report'
|
||||
"name": "budget_variance_report",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,36 +1,29 @@
|
||||
# Search Criteria, business_associate_commission_report
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'saumil@webnotestech.com'
|
||||
"owner": "saumil@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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'",
|
||||
'add_cond': u'`tabSales Invoice`.`net_total` > 0\n`tabSales Invoice`.`total_commission` > 0',
|
||||
'columns': u'Sales Invoice\x01Business Associate',
|
||||
'criteria_name': u'Business Associate Commission Report',
|
||||
'description': u'Track total commission given to your Business Associate',
|
||||
'doc_type': u'Sales Invoice',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Sales Invoice\x01Submitted':1}",
|
||||
'group_by': u'`tabSales Invoice`.sales_partner',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"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",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Sales Invoice\u0001Submitted':1}",
|
||||
"description": "Track total commission given to your Business Associate",
|
||||
"doc_type": "Sales Invoice",
|
||||
"name": "__common__",
|
||||
"add_cond": "`tabSales Invoice`.`net_total` > 0\n`tabSales Invoice`.`total_commission` > 0",
|
||||
"doctype": "Search Criteria",
|
||||
"group_by": "`tabSales Invoice`.sales_partner",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Business Associate Commission Report",
|
||||
"columns": "Sales Invoice\u0001Business Associate"
|
||||
},
|
||||
|
||||
# Search Criteria, business_associate_commission_report
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'business_associate_commission_report'
|
||||
"name": "business_associate_commission_report",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, collection_report
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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',
|
||||
'criteria_name': u'Collection Report',
|
||||
'doc_type': u'Journal Voucher Detail',
|
||||
'doctype': 'Search Criteria',
|
||||
'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'}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'parent_doc_type': u'Journal Voucher',
|
||||
'sort_by': u'`tabJournal Voucher`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Journal Voucher",
|
||||
"module": "Accounts",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_order": "DESC",
|
||||
"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'}",
|
||||
"standard": "Yes",
|
||||
"doc_type": "Journal Voucher Detail",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabJournal Voucher`.`name`",
|
||||
"criteria_name": "Collection Report",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, collection_report
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'collection_report'
|
||||
"name": "collection_report",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, cost_center_wise_expense
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'swarnalata@webnotestech.com'
|
||||
"owner": "swarnalata@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': u'Cost Center wise Expense',
|
||||
'dis_filters': u'fiscal_year',
|
||||
'doc_type': u'GL Entry',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Fiscal Year':'','GL Entry\x01Company':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabGL Entry`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'GL Entry\u0001Voucher Type':'','GL Entry\u0001Is Cancelled':'','GL Entry\u0001Fiscal Year':'','GL Entry\u0001Company':''}",
|
||||
"doctype": "Search Criteria",
|
||||
"dis_filters": "fiscal_year",
|
||||
"doc_type": "GL Entry",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabGL Entry`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Cost Center wise Expense"
|
||||
},
|
||||
|
||||
# Search Criteria, cost_center_wise_expense
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'cost_center_wise_expense'
|
||||
"name": "cost_center_wise_expense",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,32 +1,25 @@
|
||||
# Search Criteria, general_ledger
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': u'General Ledger',
|
||||
'doc_type': u'GL Entry',
|
||||
'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':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabGL Entry`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"sort_order": "DESC",
|
||||
"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",
|
||||
"doc_type": "GL Entry",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabGL Entry`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "General Ledger"
|
||||
},
|
||||
|
||||
# Search Criteria, general_ledger
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'general_ledger'
|
||||
"name": "general_ledger",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,34 +1,27 @@
|
||||
# Search Criteria, invoices-overdue
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'add_cond': u'`tabSales Invoice`.due_date<now()\n`tabSales Invoice`.outstanding_amount!=0\n`tabSales Invoice`.docstatus=1',
|
||||
'columns': u'Sales Invoice\x01ID,Sales Invoice\x01Debit To,Sales Invoice\x01Voucher Date,Sales Invoice\x01Due Date,Sales Invoice\x01Outstanding Amount',
|
||||
'criteria_name': u'Invoices-Overdue',
|
||||
'doc_type': u'Sales Invoice',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Sales Invoice\x01Saved':1,'Sales Invoice\x01Submitted':1,'Sales Invoice\x01Is Opening':'','Sales Invoice\x01Fiscal Year':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabSales Invoice`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Sales Invoice\u0001Saved':1,'Sales Invoice\u0001Submitted':1,'Sales Invoice\u0001Is Opening':'','Sales Invoice\u0001Fiscal Year':''}",
|
||||
"doc_type": "Sales Invoice",
|
||||
"name": "__common__",
|
||||
"add_cond": "`tabSales Invoice`.due_date<now()\n`tabSales Invoice`.outstanding_amount!=0\n`tabSales Invoice`.docstatus=1",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabSales Invoice`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Invoices-Overdue",
|
||||
"columns": "Sales Invoice\u0001ID,Sales Invoice\u0001Debit To,Sales Invoice\u0001Voucher Date,Sales Invoice\u0001Due Date,Sales Invoice\u0001Outstanding Amount"
|
||||
},
|
||||
|
||||
# Search Criteria, invoices-overdue
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'invoices-overdue'
|
||||
"name": "invoices-overdue",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,36 +1,29 @@
|
||||
# Search Criteria, itemwise_purchase_register
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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.)',
|
||||
'criteria_name': u'Itemwise Purchase Register',
|
||||
'description': u'Itemwise Purchase Register',
|
||||
'dis_filters': u'fiscal_year',
|
||||
'doc_type': u'Purchase Invoice Item',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Purchase Invoice\x01Submitted':1,'Purchase Invoice\x01Is Opening':'No','Purchase Invoice\x01Company':'','Purchase Invoice\x01Fiscal Year':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Purchase Invoice',
|
||||
'sort_by': u'`tabPurchase Invoice`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"description": "Itemwise Purchase Register",
|
||||
"parent_doc_type": "Purchase Invoice",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Purchase Invoice\u0001Submitted':1,'Purchase Invoice\u0001Is Opening':'No','Purchase Invoice\u0001Company':'','Purchase Invoice\u0001Fiscal Year':''}",
|
||||
"dis_filters": "fiscal_year",
|
||||
"doc_type": "Purchase Invoice Item",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabPurchase Invoice`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Itemwise Purchase Register",
|
||||
"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.)"
|
||||
},
|
||||
|
||||
# Search Criteria, itemwise_purchase_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'itemwise_purchase_register'
|
||||
"name": "itemwise_purchase_register",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,34 +1,27 @@
|
||||
# Search Criteria, itemwise_sales_register
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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*',
|
||||
'criteria_name': u'Itemwise Sales Register',
|
||||
'doc_type': u'Sales Invoice Item',
|
||||
'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':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Sales Invoice',
|
||||
'sort_by': u'`tabSales Invoice Item`.`income_account`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Sales Invoice",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"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':''}",
|
||||
"doc_type": "Sales Invoice Item",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabSales Invoice Item`.`income_account`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Itemwise Sales Register",
|
||||
"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*"
|
||||
},
|
||||
|
||||
# Search Criteria, itemwise_sales_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'itemwise_sales_register'
|
||||
"name": "itemwise_sales_register",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,32 +1,25 @@
|
||||
# Search Criteria, monthly_transaction_summary
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'Profile\x01ID',
|
||||
'criteria_name': u'Monthly Transaction Summary',
|
||||
'doc_type': u'Profile',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'DocType\x01Period':'Monthly'}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'sort_by': u'`tabProfile`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'DocType\u0001Period':'Monthly'}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "Profile",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabProfile`.`name`",
|
||||
"criteria_name": "Monthly Transaction Summary",
|
||||
"columns": "Profile\u0001ID"
|
||||
},
|
||||
|
||||
# Search Criteria, monthly_transaction_summary
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'monthly_transaction_summary'
|
||||
"name": "monthly_transaction_summary",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, payment_receipt_report
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'jai@webnotestech.com'
|
||||
"owner": "jai@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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',
|
||||
'criteria_name': u'Payment Receipt Report',
|
||||
'doc_type': u'GL Entry',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'GL Entry\x01Voucher Type':'','GL Entry\x01Is Cancelled':'','GL Entry\x01Is Opening':'','GL Entry\x01Fiscal Year':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabGL Entry`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'GL Entry\u0001Voucher Type':'','GL Entry\u0001Is Cancelled':'','GL Entry\u0001Is Opening':'','GL Entry\u0001Fiscal Year':''}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "GL Entry",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabGL Entry`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Payment Receipt Report",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, payment_receipt_report
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'payment_receipt_report'
|
||||
"name": "payment_receipt_report",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,31 +1,24 @@
|
||||
# Search Criteria, purchase_register
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:52',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:52',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:52",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:52"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'add_cond': u"`tabPurchase Invoice`.is_opening != 'Yes'\n`tabPurchase Invoice`.name not like 'OP/%'",
|
||||
'columns': u'Purchase Invoice\x01ID,Purchase Invoice\x01Voucher Date,Purchase Invoice\x01Posting Date,Purchase Invoice\x01Credit To,Purchase Invoice\x01Expense Head',
|
||||
'criteria_name': u'Purchase Register',
|
||||
'doc_type': u'Purchase Invoice',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Purchase Invoice\x01Submitted':1}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'standard': u'Yes'
|
||||
"doc_type": "Purchase Invoice",
|
||||
"name": "__common__",
|
||||
"add_cond": "`tabPurchase Invoice`.is_opening != 'Yes'\n`tabPurchase Invoice`.name not like 'OP/%'",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"filters": "{'Purchase Invoice\u0001Submitted':1}",
|
||||
"doctype": "Search Criteria",
|
||||
"criteria_name": "Purchase Register",
|
||||
"columns": "Purchase Invoice\u0001ID,Purchase Invoice\u0001Voucher Date,Purchase Invoice\u0001Posting Date,Purchase Invoice\u0001Credit To,Purchase Invoice\u0001Expense Head"
|
||||
},
|
||||
|
||||
# Search Criteria, purchase_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'purchase_register'
|
||||
"name": "purchase_register",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,37 +1,30 @@
|
||||
# Search Criteria, sales_register
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 17:36:48',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-18 17:41:46',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 17:36:48",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-18 17:41:46"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'add_col': u"`tabAccount`.`parent_account` AS 'Parent Account'\n`tabCustomer`.`territory` AS 'Territory'\n`tabCustomer`.`customer_details` AS 'Customer Details'",
|
||||
'add_cond': u"ifnull(`tabSales Invoice`.`is_opening`, 'No') = 'No'\n`tabAccount`.name =`tabSales Invoice`.debit_to\n`tabCustomer`.`name` = `tabAccount`.`master_name`",
|
||||
'add_tab': u'`tabAccount`\n`tabCustomer`',
|
||||
'columns': u'Sales Invoice\x01ID,Sales Invoice\x01Posting Date,Sales Invoice\x01Debit To',
|
||||
'criteria_name': u'Sales Register',
|
||||
'dis_filters': u'fiscal_year',
|
||||
'doc_type': u'Sales Invoice',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Sales Invoice\x01Submitted':1,'Sales Invoice\x01Is Opening':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`Parent Account`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"add_col": "`tabAccount`.`parent_account` AS 'Parent Account'\n`tabCustomer`.`territory` AS 'Territory'\n`tabCustomer`.`customer_details` AS 'Customer Details'",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"add_tab": "`tabAccount`\n`tabCustomer`",
|
||||
"dis_filters": "fiscal_year",
|
||||
"doc_type": "Sales Invoice",
|
||||
"name": "__common__",
|
||||
"filters": "{'Sales Invoice\u0001Submitted':1,'Sales Invoice\u0001Is Opening':''}",
|
||||
"add_cond": "ifnull(`tabSales Invoice`.`is_opening`, 'No') = 'No'\n`tabAccount`.name =`tabSales Invoice`.debit_to\n`tabCustomer`.`name` = `tabAccount`.`master_name`",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`Parent Account`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Sales Register",
|
||||
"columns": "Sales Invoice\u0001ID,Sales Invoice\u0001Posting Date,Sales Invoice\u0001Debit To"
|
||||
},
|
||||
|
||||
# Search Criteria, sales_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'sales_register'
|
||||
"name": "sales_register",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,33 +1,26 @@
|
||||
# Search Criteria, trend_analyzer
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-23 12:46:00',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-05-04 12:49:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'saumil@webnotestech.com'
|
||||
"owner": "saumil@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-23 12:46:00",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-05-04 12:49:43"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'Profile\x01ID,Profile\x01Owner',
|
||||
'criteria_name': u'Trend Analyzer',
|
||||
'doc_type': u'Profile',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u'{}',
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabProfile`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "Profile",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabProfile`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Trend Analyzer",
|
||||
"columns": "Profile\u0001ID,Profile\u0001Owner"
|
||||
},
|
||||
|
||||
# Search Criteria, trend_analyzer
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'trend_analyzer'
|
||||
"name": "trend_analyzer",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,34 +1,27 @@
|
||||
# Search Criteria, voucher_wise_tax_details
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:53',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:53',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:53",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:53"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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*',
|
||||
'criteria_name': u'Voucher wise tax details',
|
||||
'doc_type': u'Sales Taxes and Charges',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Delivery Note\x01Submitted':1,'Delivery Note\x01Status':'','Delivery Note\x01Fiscal Year':''}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Delivery Note',
|
||||
'sort_by': u'`tabSales Taxes and Charges`.`parent`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Delivery Note",
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Delivery Note\u0001Submitted':1,'Delivery Note\u0001Status':'','Delivery Note\u0001Fiscal Year':''}",
|
||||
"doc_type": "Sales Taxes and Charges",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabSales Taxes and Charges`.`parent`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Voucher wise tax details",
|
||||
"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*"
|
||||
},
|
||||
|
||||
# Search Criteria, voucher_wise_tax_details
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'voucher_wise_tax_details'
|
||||
"name": "voucher_wise_tax_details",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,32 +1,25 @@
|
||||
# Search Criteria, yearly_transaction_summary
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:53',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:53',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:53",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:53"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'Profile\x01ID',
|
||||
'criteria_name': u'Yearly Transaction Summary',
|
||||
'doc_type': u'Profile',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'DocType\x01Fiscal Year':'2009-2010','DocType\x01Company':'Alpha Company','DocType\x01Period':'Monthly'}",
|
||||
'module': u'Accounts',
|
||||
'name': '__common__',
|
||||
'sort_by': u'`tabProfile`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"module": "Accounts",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'DocType\u0001Fiscal Year':'2009-2010','DocType\u0001Company':'Alpha Company','DocType\u0001Period':'Monthly'}",
|
||||
"doctype": "Search Criteria",
|
||||
"doc_type": "Profile",
|
||||
"name": "__common__",
|
||||
"sort_by": "`tabProfile`.`name`",
|
||||
"criteria_name": "Yearly Transaction Summary",
|
||||
"columns": "Profile\u0001ID"
|
||||
},
|
||||
|
||||
# Search Criteria, yearly_transaction_summary
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'yearly_transaction_summary'
|
||||
"name": "yearly_transaction_summary",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,160 +1,125 @@
|
||||
# DocType Mapper, Purchase Request-Purchase Order
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-08-08 17:09:34',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-02 11:12:28',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-08-08 17:09:34",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-07-02 11:12:28"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Request-Purchase Order',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Request-Purchase Order",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Request-Purchase Order',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Request-Purchase Order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Purchase Request',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Purchase Order'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Purchase Order",
|
||||
"module": "Buying",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Purchase Request"
|
||||
},
|
||||
|
||||
# DocType Mapper, Purchase Request-Purchase Order
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Purchase Request-Purchase Order'
|
||||
"name": "Purchase Request-Purchase Order",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'company',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'company'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "company",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "company",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parenttype',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_doctype'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_doctype",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parenttype"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_docname'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_docname",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_detail_docname'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_detail_docname",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'uom',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'stock_uom'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "stock_uom",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "uom"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval:flt(1)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'conversion_factor'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "conversion_factor",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval:flt(1)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval:flt(obj.qty) - flt(obj.ordered_qty)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'stock_qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "stock_qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval:flt(obj.qty) - flt(obj.ordered_qty)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'qty'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "qty",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'schedule_date',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'schedule_date'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "schedule_date",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "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'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "transaction_date",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "transaction_date",
|
||||
"checking_operator": ">="
|
||||
},
|
||||
|
||||
# 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'
|
||||
"reference_key": "prevdoc_docname",
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Purchase Request",
|
||||
"to_table": "Purchase Order",
|
||||
"validation_logic": "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'
|
||||
"match_id": 1,
|
||||
"reference_doctype_key": "prevdoc_doctype",
|
||||
"to_field": "po_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "indent_details",
|
||||
"from_table": "Purchase Request Item",
|
||||
"to_table": "Purchase Order Item",
|
||||
"validation_logic": "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
|
||||
{
|
||||
'creation': '2012-08-02 18:36:26',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-08-03 12:34:09',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-08-02 18:36:26",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-08-03 12:34:09"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Request-Supplier Quotation',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Request-Supplier Quotation",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Request-Supplier Quotation',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Request-Supplier Quotation",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Purchase Request',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Supplier Quotation'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Supplier Quotation",
|
||||
"module": "Buying",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Purchase Request"
|
||||
},
|
||||
|
||||
# DocType Mapper, Purchase Request-Supplier Quotation
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Purchase Request-Supplier Quotation'
|
||||
"name": "Purchase Request-Supplier Quotation",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'company',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'company'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "company",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "company",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parenttype',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_doctype'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_doctype",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parenttype"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_docname'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_docname",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'prevdoc_detail_docname'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "prevdoc_detail_docname",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "transaction_date",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "transaction_date",
|
||||
"checking_operator": ">="
|
||||
},
|
||||
|
||||
# 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'
|
||||
"reference_key": "prevdoc_docname",
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Purchase Request",
|
||||
"to_table": "Supplier Quotation",
|
||||
"validation_logic": "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'
|
||||
"match_id": 1,
|
||||
"reference_doctype_key": "prevdoc_doctype",
|
||||
"to_field": "quotation_items",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "indent_details",
|
||||
"from_table": "Purchase Request Item",
|
||||
"to_table": "Supplier Quotation Item",
|
||||
"validation_logic": "docstatus =1"
|
||||
}
|
||||
]
|
@ -1,116 +1,91 @@
|
||||
# DocType Mapper, Sales Order-Purchase Request
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2011-05-20 10:07:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2011-05-20 10:07:55",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Order-Purchase Request',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Order-Purchase Request",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Sales Order-Purchase Request',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Sales Order-Purchase Request",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': u'Sales Order',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Purchase Request'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Purchase Request",
|
||||
"module": "Buying",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Sales Order"
|
||||
},
|
||||
|
||||
# DocType Mapper, Sales Order-Purchase Request
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': u'Sales Order-Purchase Request'
|
||||
"name": "Sales Order-Purchase Request",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "transaction_date",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "transaction_date",
|
||||
"checking_operator": ">="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'company',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'company'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "company",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "company",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'sales_order_no'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "sales_order_no",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'stock_uom',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'uom'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "uom",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "stock_uom"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'reserved_warehouse',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'warehouse'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "warehouse",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "reserved_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'
|
||||
"reference_key": "prevdoc_detail_docname",
|
||||
"match_id": 1,
|
||||
"reference_doctype_key": "prevdoc_doctype",
|
||||
"to_field": "indent_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "sales_order_details",
|
||||
"from_table": "Sales Order Item",
|
||||
"to_table": "Purchase Request Item",
|
||||
"validation_logic": "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'
|
||||
"reference_key": "prevdoc_docname",
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Sales Order",
|
||||
"to_table": "Purchase Request",
|
||||
"validation_logic": "docstatus = 1"
|
||||
}
|
||||
]
|
@ -1,169 +1,132 @@
|
||||
# DocType Mapper, Supplier Quotation-Purchase Order
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-08-03 12:33:04',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-08-06 16:45:56',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-08-03 12:33:04",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-08-06 16:45:56"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Supplier Quotation-Purchase Order',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper',
|
||||
'validation_logic': u'docstatus = 1'
|
||||
"name": "__common__",
|
||||
"parent": "Supplier Quotation-Purchase Order",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"validation_logic": "docstatus = 1",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': u'Supplier Quotation-Purchase Order',
|
||||
'parentfield': u'field_mapper_details',
|
||||
'parenttype': u'DocType Mapper'
|
||||
"name": "__common__",
|
||||
"parent": "Supplier Quotation-Purchase Order",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': u'Supplier Quotation',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': u'Purchase Order'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Purchase Order",
|
||||
"module": "Buying",
|
||||
"doctype": "DocType Mapper",
|
||||
"ref_doc_submitted": 1,
|
||||
"from_doctype": "Supplier Quotation"
|
||||
},
|
||||
|
||||
# DocType Mapper, Supplier Quotation-Purchase Order
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': u'Supplier Quotation-Purchase Order'
|
||||
"name": "Supplier Quotation-Purchase Order",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'checking_operator': u'=',
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'company',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'company'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "company",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "company",
|
||||
"checking_operator": "="
|
||||
},
|
||||
|
||||
# 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'
|
||||
"map": "No",
|
||||
"match_id": 0,
|
||||
"to_field": "transaction_date",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "transaction_date",
|
||||
"checking_operator": ">="
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'conversion_rate',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'conversion_rate'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "conversion_rate",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "conversion_rate"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'net_total',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'net_total'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "net_total",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "net_total"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'total_tax',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'total_tax'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "total_tax",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "total_tax"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'grand_total',
|
||||
'map': u'Yes',
|
||||
'match_id': 0,
|
||||
'to_field': u'grand_total'
|
||||
"map": "Yes",
|
||||
"match_id": 0,
|
||||
"to_field": "grand_total",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "grand_total"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'parent',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'supplier_quotation'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "supplier_quotation",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "parent"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'name',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'supplier_quotation_item'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "supplier_quotation_item",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "name"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'uom',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'stock_uom'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "stock_uom",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "uom"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': u'Field Mapper Detail',
|
||||
'from_field': u'eval:flt(1)',
|
||||
'map': u'Yes',
|
||||
'match_id': 1,
|
||||
'to_field': u'conversion_factor'
|
||||
"map": "Yes",
|
||||
"match_id": 1,
|
||||
"to_field": "conversion_factor",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"from_field": "eval:flt(1)"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"reference_key": "prevdoc_docname",
|
||||
"match_id": 0,
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_table": "Supplier Quotation",
|
||||
"to_table": "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'
|
||||
"match_id": 1,
|
||||
"reference_doctype_key": "prevdoc_doctype",
|
||||
"to_field": "po_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "quotation_details",
|
||||
"from_table": "Supplier Quotation Item",
|
||||
"to_table": "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'
|
||||
"match_id": 2,
|
||||
"to_field": "purchase_tax_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "purchase_tax_details",
|
||||
"from_table": "Purchase Taxes and Charges",
|
||||
"to_table": "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
|
||||
{
|
||||
'creation': '2012-03-27 14:35:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:51"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'issingle': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 187
|
||||
"section_style": "Simple",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Buying",
|
||||
"show_in_menu": 0,
|
||||
"version": 187,
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"issingle": 1
|
||||
},
|
||||
|
||||
# DocType, Purchase Common
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Purchase Common'
|
||||
"name": "Purchase Common",
|
||||
"doctype": "DocType"
|
||||
}
|
||||
]
|
@ -299,7 +299,11 @@ class DocType(TransactionBase):
|
||||
|
||||
def add_bom(self, d):
|
||||
#----- 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:
|
||||
msgprint("No default BOM exists for item: %s" % d.item_code)
|
||||
|
@ -263,12 +263,12 @@
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Request Date",
|
||||
"oldfieldname": "prevdoc_date",
|
||||
"fieldname": "prevdoc_date",
|
||||
"fieldtype": "Date",
|
||||
"search_index": 0,
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
@ -326,11 +326,11 @@
|
||||
"label": "Item Group",
|
||||
"oldfieldname": "item_group",
|
||||
"permlevel": 1,
|
||||
"options": "Item Group",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 0,
|
||||
"hidden": 1,
|
||||
"options": "Item Group",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
@ -361,11 +361,11 @@
|
||||
{
|
||||
"print_hide": 1,
|
||||
"default": "0.00",
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Billed Quantity",
|
||||
"oldfieldname": "billed_qty",
|
||||
"no_copy": 1,
|
||||
"fieldname": "billed_qty",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 0,
|
||||
|
@ -1,144 +1,117 @@
|
||||
# DocType, Purchase Order Item Supplied
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'dhanalekshmi@webnotestech.com'
|
||||
"owner": "dhanalekshmi@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:50"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'hide_toolbar': 1,
|
||||
'istable': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"module": "Buying",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 1,
|
||||
"hide_toolbar": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Order Item Supplied',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Order Item Supplied",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Purchase Order Item Supplied
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Purchase Order Item Supplied'
|
||||
"name": "Purchase Order Item Supplied",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reference_name',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
'in_filter': 0,
|
||||
'label': u'Reference Name',
|
||||
'oldfieldname': u'reference_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Reference Name",
|
||||
"oldfieldname": "reference_name",
|
||||
"fieldname": "reference_name",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"permlevel": 1,
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'bom_detail_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'BOM Detail No',
|
||||
'oldfieldname': u'bom_detail_no',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "BOM Detail No",
|
||||
"oldfieldname": "bom_detail_no",
|
||||
"fieldname": "bom_detail_no",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'main_item_code',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Item Code',
|
||||
'oldfieldname': u'main_item_code',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Code",
|
||||
"oldfieldname": "main_item_code",
|
||||
"fieldname": "main_item_code",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'rm_item_code',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Raw Material Item Code',
|
||||
'oldfieldname': u'rm_item_code',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Raw Material Item Code",
|
||||
"oldfieldname": "rm_item_code",
|
||||
"fieldname": "rm_item_code",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'required_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Required Qty',
|
||||
'oldfieldname': u'required_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Required Qty",
|
||||
"oldfieldname": "required_qty",
|
||||
"fieldname": "required_qty",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Rate',
|
||||
'oldfieldname': u'rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Rate",
|
||||
"oldfieldname": "rate",
|
||||
"fieldname": "rate",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount',
|
||||
'oldfieldname': u'amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount",
|
||||
"oldfieldname": "amount",
|
||||
"fieldname": "amount",
|
||||
"fieldtype": "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
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Conversion Factor",
|
||||
"oldfieldname": "conversion_factor",
|
||||
"fieldname": "conversion_factor",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"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
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Stock Uom",
|
||||
"oldfieldname": "stock_uom",
|
||||
"fieldname": "stock_uom",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,179 +1,146 @@
|
||||
# DocType, Purchase Receipt Item Supplied
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:50',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'wasim@webnotestech.com'
|
||||
"owner": "wasim@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:50",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:50"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'hide_toolbar': 0,
|
||||
'istable': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 17
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"module": "Buying",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 17,
|
||||
"hide_toolbar": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Receipt Item Supplied',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Receipt Item Supplied",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Purchase Receipt Item Supplied
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Purchase Receipt Item Supplied'
|
||||
"name": "Purchase Receipt Item Supplied",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reference_name',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
'in_filter': 0,
|
||||
'label': u'Reference Name',
|
||||
'oldfieldname': u'reference_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Reference Name",
|
||||
"oldfieldname": "reference_name",
|
||||
"fieldname": "reference_name",
|
||||
"fieldtype": "Data",
|
||||
"oldfieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"permlevel": 1,
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'bom_detail_no',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'BOM Detail No',
|
||||
'oldfieldname': u'bom_detail_no',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "BOM Detail No",
|
||||
"oldfieldname": "bom_detail_no",
|
||||
"fieldname": "bom_detail_no",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'main_item_code',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Item Code',
|
||||
'oldfieldname': u'main_item_code',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Code",
|
||||
"oldfieldname": "main_item_code",
|
||||
"fieldname": "main_item_code",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'rm_item_code',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Raw Material Item Code',
|
||||
'oldfieldname': u'rm_item_code',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Raw Material Item Code",
|
||||
"oldfieldname": "rm_item_code",
|
||||
"fieldname": "rm_item_code",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1,
|
||||
'width': u'300px'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "300px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'required_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Required Qty',
|
||||
'oldfieldname': u'required_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Required Qty",
|
||||
"oldfieldname": "required_qty",
|
||||
"fieldname": "required_qty",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'consumed_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Consumed Qty',
|
||||
'oldfieldname': u'consumed_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Consumed Qty",
|
||||
"oldfieldname": "consumed_qty",
|
||||
"fieldname": "consumed_qty",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'rate',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Rate',
|
||||
'oldfieldname': u'rate',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Rate",
|
||||
"oldfieldname": "rate",
|
||||
"fieldname": "rate",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# 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
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Conversion Factor",
|
||||
"oldfieldname": "conversion_factor",
|
||||
"fieldname": "conversion_factor",
|
||||
"fieldtype": "Currency",
|
||||
"hidden": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'amount',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Amount',
|
||||
'oldfieldname': u'amount',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Amount",
|
||||
"oldfieldname": "amount",
|
||||
"fieldname": "amount",
|
||||
"fieldtype": "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
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Stock Uom",
|
||||
"oldfieldname": "stock_uom",
|
||||
"fieldname": "stock_uom",
|
||||
"fieldtype": "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
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Current Stock",
|
||||
"oldfieldname": "current_stock",
|
||||
"fieldname": "current_stock",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
@ -1,261 +1,222 @@
|
||||
# DocType, Purchase Request Item
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 13:17:40',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-12 14:52:49',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:17:40",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-12 14:52:49"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'IDTD/.#####',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 37
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Buying",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"autoname": "IDTD/.#####",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 37
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Purchase Request Item',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Purchase Request Item",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Purchase Request Item
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Purchase Request Item'
|
||||
"name": "Purchase Request Item",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'schedule_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Required Date',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'schedule_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'reqd': 1,
|
||||
'width': u'100px'
|
||||
"print_hide": 0,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Required Date",
|
||||
"oldfieldname": "schedule_date",
|
||||
"width": "100px",
|
||||
"fieldname": "schedule_date",
|
||||
"fieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_code',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Item Code',
|
||||
'oldfieldname': u'item_code',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Item',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client',
|
||||
'width': u'100px'
|
||||
"permlevel": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Code",
|
||||
"oldfieldname": "item_code",
|
||||
"width": "100px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "item_code",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"options": "Item",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'250px'
|
||||
"oldfieldtype": "Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "250px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'warehouse',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Warehouse',
|
||||
'oldfieldname': u'warehouse',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Warehouse',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'reqd': 0,
|
||||
'trigger': u'Client',
|
||||
'width': u'100px'
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Warehouse",
|
||||
"oldfieldname": "warehouse",
|
||||
"width": "100px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "warehouse",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 0,
|
||||
"options": "Warehouse",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'default': u'0.00',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Quantity',
|
||||
'no_copy': 0,
|
||||
'oldfieldname': u'qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client',
|
||||
'width': u'80px'
|
||||
"width": "80px",
|
||||
"default": "0.00",
|
||||
"oldfieldtype": "Currency",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Quantity",
|
||||
"oldfieldname": "qty",
|
||||
"no_copy": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "qty",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'uom',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Stock UOM',
|
||||
'no_copy': 0,
|
||||
'oldfieldname': u'uom',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'UOM',
|
||||
'permlevel': 1,
|
||||
'reqd': 1,
|
||||
'width': u'70px'
|
||||
"no_copy": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Stock UOM",
|
||||
"oldfieldname": "uom",
|
||||
"width": "70px",
|
||||
"options": "UOM",
|
||||
"fieldname": "uom",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'lead_time_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Lead Time Date',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'lead_time_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Lead Time Date",
|
||||
"oldfieldname": "lead_time_date",
|
||||
"fieldname": "lead_time_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_name',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'Item Name',
|
||||
'oldfieldname': u'item_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'width': u'100px'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Name",
|
||||
"oldfieldname": "item_name",
|
||||
"width": "100px",
|
||||
"fieldname": "item_name",
|
||||
"fieldtype": "Data",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_group',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'Item Group',
|
||||
'no_copy': 0,
|
||||
'oldfieldname': u'item_group',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Item Group',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'reqd': 0,
|
||||
'search_index': 1
|
||||
"print_hide": 1,
|
||||
"no_copy": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Group",
|
||||
"oldfieldname": "item_group",
|
||||
"permlevel": 1,
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 0,
|
||||
"options": "Item Group",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'brand',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Brand',
|
||||
'oldfieldname': u'brand',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Brand',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'width': u'100px'
|
||||
"print_hide": 1,
|
||||
"permlevel": 1,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Brand",
|
||||
"oldfieldname": "brand",
|
||||
"width": "100px",
|
||||
"fieldname": "brand",
|
||||
"fieldtype": "Link",
|
||||
"options": "Brand"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'min_order_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Min Order Qty',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'min_order_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'reqd': 0,
|
||||
'width': u'70px'
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Min Order Qty",
|
||||
"oldfieldname": "min_order_qty",
|
||||
"width": "70px",
|
||||
"fieldname": "min_order_qty",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 0,
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'projected_qty',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Projected Qty',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'projected_qty',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'width': u'70px'
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Projected Qty",
|
||||
"oldfieldname": "projected_qty",
|
||||
"width": "70px",
|
||||
"fieldname": "projected_qty",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# 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
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Ordered Qty",
|
||||
"oldfieldname": "ordered_qty",
|
||||
"fieldname": "ordered_qty",
|
||||
"fieldtype": "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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Sales Order No",
|
||||
"permlevel": 1,
|
||||
"fieldname": "sales_order_no",
|
||||
"fieldtype": "Link",
|
||||
"options": "Sales Order"
|
||||
},
|
||||
|
||||
# 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Check",
|
||||
"allow_on_submit": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Page Break",
|
||||
"oldfieldname": "page_break",
|
||||
"fieldname": "page_break",
|
||||
"fieldtype": "Check",
|
||||
"permlevel": 0
|
||||
}
|
||||
]
|
@ -1,345 +1,288 @@
|
||||
# DocType, Quality Inspection
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:45:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:45:50"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1317365120',
|
||||
'autoname': u'QAI/.######',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'is_submittable': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'print_outline': u'Yes',
|
||||
'search_fields': u'item_code, report_date, purchase_receipt_no, delivery_note_no',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 38
|
||||
"section_style": "Simple",
|
||||
"is_submittable": 1,
|
||||
"search_fields": "item_code, report_date, purchase_receipt_no, delivery_note_no",
|
||||
"module": "Buying",
|
||||
"_last_update": "1317365120",
|
||||
"server_code_error": " ",
|
||||
"print_outline": "Yes",
|
||||
"autoname": "QAI/.######",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocType",
|
||||
"show_in_menu": 0,
|
||||
"version": 38
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Quality Inspection',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Quality Inspection",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Quality Inspection',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1,
|
||||
'role': u'Quality Manager'
|
||||
"name": "__common__",
|
||||
"parent": "Quality Inspection",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"role": "Quality Manager",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Quality Inspection
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Quality Inspection'
|
||||
"name": "Quality Inspection",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 1
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
"amend": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'qa_inspection',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'QA Inspection',
|
||||
'no_copy': 0,
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
"no_copy": 0,
|
||||
"oldfieldtype": "Section Break",
|
||||
"doctype": "DocField",
|
||||
"label": "QA Inspection",
|
||||
"fieldname": "qa_inspection",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"oldfieldtype": "Column Break",
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'naming_series',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Naming Series',
|
||||
'no_copy': 1,
|
||||
'options': u'\nQAI/11-12/',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"no_copy": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Naming Series",
|
||||
"permlevel": 0,
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nQAI/11-12/"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'inspection_type',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': u'Inspection Type',
|
||||
'oldfieldname': u'inspection_type',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'\nIncoming\nOutgoing\nIn Process',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Select",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Inspection Type",
|
||||
"oldfieldname": "inspection_type",
|
||||
"trigger": "Client",
|
||||
"fieldname": "inspection_type",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nIncoming\nOutgoing\nIn Process",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'report_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': u'Report Date',
|
||||
'oldfieldname': u'report_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1
|
||||
"search_index": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Report Date",
|
||||
"oldfieldname": "report_date",
|
||||
"fieldname": "report_date",
|
||||
"fieldtype": "Date",
|
||||
"oldfieldtype": "Date",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_code',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 0,
|
||||
'in_filter': 1,
|
||||
'label': u'Item Code',
|
||||
'oldfieldname': u'item_code',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Item',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Code",
|
||||
"oldfieldname": "item_code",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "item_code",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"reqd": 1,
|
||||
"hidden": 0,
|
||||
"options": "Item",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'sample_size',
|
||||
'fieldtype': u'Currency',
|
||||
'in_filter': 0,
|
||||
'label': u'Sample Size',
|
||||
'oldfieldname': u'sample_size',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 0
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Sample Size",
|
||||
"oldfieldname": "sample_size",
|
||||
"fieldname": "sample_size",
|
||||
"fieldtype": "Currency",
|
||||
"oldfieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Small Text',
|
||||
'in_filter': 1,
|
||||
'label': u'Description',
|
||||
'oldfieldname': u'description',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'search_index': 0,
|
||||
'width': u'300px'
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Description",
|
||||
"oldfieldname": "description",
|
||||
"width": "300px",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"oldfieldtype": "Small Text",
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'column_break1',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"oldfieldtype": "Column Break",
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break1",
|
||||
"fieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'item_serial_no',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 0,
|
||||
'label': u'Item Serial No',
|
||||
'oldfieldname': u'item_serial_no',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Serial No',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Item Serial No",
|
||||
"oldfieldname": "item_serial_no",
|
||||
"permlevel": 0,
|
||||
"fieldname": "item_serial_no",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"options": "Serial No"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'batch_no',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Batch No',
|
||||
'oldfieldname': u'batch_no',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Batch',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Batch No",
|
||||
"oldfieldname": "batch_no",
|
||||
"permlevel": 0,
|
||||
"fieldname": "batch_no",
|
||||
"fieldtype": "Link",
|
||||
"options": "Batch"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'purchase_receipt_no',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 0,
|
||||
'in_filter': 1,
|
||||
'label': u'Purchase Receipt No',
|
||||
'oldfieldname': u'purchase_receipt_no',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Purchase Receipt',
|
||||
'permlevel': 0,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Receipt No",
|
||||
"oldfieldname": "purchase_receipt_no",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "purchase_receipt_no",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"hidden": 0,
|
||||
"options": "Purchase Receipt",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'delivery_note_no',
|
||||
'fieldtype': u'Link',
|
||||
'hidden': 0,
|
||||
'in_filter': 1,
|
||||
'label': u'Delivery Note No',
|
||||
'oldfieldname': u'delivery_note_no',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Delivery Note',
|
||||
'permlevel': 0,
|
||||
'print_hide': 0,
|
||||
'search_index': 1
|
||||
"print_hide": 0,
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Delivery Note No",
|
||||
"oldfieldname": "delivery_note_no",
|
||||
"permlevel": 0,
|
||||
"fieldname": "delivery_note_no",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 1,
|
||||
"hidden": 0,
|
||||
"options": "Delivery Note",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'inspected_by',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Inspected By',
|
||||
'oldfieldname': u'inspected_by',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Inspected By",
|
||||
"oldfieldname": "inspected_by",
|
||||
"fieldname": "inspected_by",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'remarks',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Remarks',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'remarks',
|
||||
'oldfieldtype': u'Text',
|
||||
'permlevel': 0
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Text",
|
||||
"doctype": "DocField",
|
||||
"label": "Remarks",
|
||||
"oldfieldname": "remarks",
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Text",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'verified_by',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Verified By',
|
||||
'oldfieldname': u'verified_by',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Verified By",
|
||||
"oldfieldname": "verified_by",
|
||||
"fieldname": "verified_by",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Amended From",
|
||||
"oldfieldname": "amended_from",
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Data",
|
||||
"permlevel": 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
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Amendment Date",
|
||||
"oldfieldname": "amendment_date",
|
||||
"fieldname": "amendment_date",
|
||||
"fieldtype": "Date",
|
||||
"permlevel": 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
|
||||
"oldfieldtype": "Section Break",
|
||||
"doctype": "DocField",
|
||||
"label": "Specification Details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "specification_details",
|
||||
"fieldtype": "Section Break",
|
||||
"options": "Simple"
|
||||
},
|
||||
|
||||
# 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
|
||||
"doctype": "DocField",
|
||||
"options": "get_item_specification_details",
|
||||
"fieldname": "get_specification_details",
|
||||
"fieldtype": "Button",
|
||||
"label": "Get 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
|
||||
"oldfieldtype": "Table",
|
||||
"doctype": "DocField",
|
||||
"label": "Quality Inspection Readings",
|
||||
"oldfieldname": "qa_specification_details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "qa_specification_details",
|
||||
"fieldtype": "Table",
|
||||
"options": "Quality Inspection Reading"
|
||||
}
|
||||
]
|
@ -1,175 +1,140 @@
|
||||
# DocType, Quality Inspection Reading
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:52',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:52',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-27 14:35:52",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-27 14:35:52"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'QASD/.#####',
|
||||
'colour': u'White:FFF',
|
||||
'doctype': 'DocType',
|
||||
'istable': 1,
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'section_style': u'Tray',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 2
|
||||
"section_style": "Tray",
|
||||
"istable": 1,
|
||||
"module": "Buying",
|
||||
"server_code_error": " ",
|
||||
"doctype": "DocType",
|
||||
"autoname": "QASD/.#####",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"show_in_menu": 0,
|
||||
"version": 2
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
'parent': u'Quality Inspection Reading',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "Quality Inspection Reading",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Quality Inspection Reading
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Quality Inspection Reading'
|
||||
"name": "Quality Inspection Reading",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'specification',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Parameter',
|
||||
'oldfieldname': u'specification',
|
||||
'oldfieldtype': u'Data',
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Parameter",
|
||||
"oldfieldname": "specification",
|
||||
"fieldname": "specification",
|
||||
"fieldtype": "Data",
|
||||
"reqd": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'value',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Acceptance Criteria',
|
||||
'oldfieldname': u'value',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Acceptance Criteria",
|
||||
"oldfieldname": "value",
|
||||
"fieldname": "value",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_1',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 1',
|
||||
'oldfieldname': u'reading_1',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 1",
|
||||
"oldfieldname": "reading_1",
|
||||
"fieldname": "reading_1",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_2',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 2',
|
||||
'oldfieldname': u'reading_2',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 2",
|
||||
"oldfieldname": "reading_2",
|
||||
"fieldname": "reading_2",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_3',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 3',
|
||||
'oldfieldname': u'reading_3',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 3",
|
||||
"oldfieldname": "reading_3",
|
||||
"fieldname": "reading_3",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_4',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 4',
|
||||
'oldfieldname': u'reading_4',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 4",
|
||||
"oldfieldname": "reading_4",
|
||||
"fieldname": "reading_4",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_5',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 5',
|
||||
'oldfieldname': u'reading_5',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 5",
|
||||
"oldfieldname": "reading_5",
|
||||
"fieldname": "reading_5",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_6',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 6',
|
||||
'oldfieldname': u'reading_6',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 6",
|
||||
"oldfieldname": "reading_6",
|
||||
"fieldname": "reading_6",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_7',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 7',
|
||||
'oldfieldname': u'reading_7',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 7",
|
||||
"oldfieldname": "reading_7",
|
||||
"fieldname": "reading_7",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_8',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 8',
|
||||
'oldfieldname': u'reading_8',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 8",
|
||||
"oldfieldname": "reading_8",
|
||||
"fieldname": "reading_8",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_9',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 9',
|
||||
'oldfieldname': u'reading_9',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 9",
|
||||
"oldfieldname": "reading_9",
|
||||
"fieldname": "reading_9",
|
||||
"fieldtype": "Data"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'reading_10',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Reading 10',
|
||||
'oldfieldname': u'reading_10',
|
||||
'oldfieldtype': u'Data'
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Reading 10",
|
||||
"oldfieldname": "reading_10",
|
||||
"fieldname": "reading_10",
|
||||
"fieldtype": "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'
|
||||
"default": "Accepted",
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Status",
|
||||
"oldfieldname": "status",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"options": "Accepted\nRejected"
|
||||
}
|
||||
]
|
@ -4,7 +4,7 @@
|
||||
"docstatus": 0,
|
||||
"creation": "2012-08-06 11:15:46",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-08-02 18:04:35"
|
||||
"modified": "2012-12-10 18:30:00"
|
||||
},
|
||||
{
|
||||
"is_submittable": 1,
|
||||
@ -697,7 +697,7 @@
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "Production Manager",
|
||||
"role": "Manufacturing Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
@ -160,11 +160,11 @@
|
||||
"doctype": "DocField",
|
||||
"label": "Warehouse",
|
||||
"oldfieldname": "warehouse",
|
||||
"options": "Warehouse",
|
||||
"fieldname": "warehouse",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 0,
|
||||
"hidden": 0,
|
||||
"options": "Warehouse",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@ -222,12 +222,12 @@
|
||||
{
|
||||
"print_hide": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"search_index": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Purchase Request Date",
|
||||
"oldfieldname": "prevdoc_date",
|
||||
"fieldname": "prevdoc_date",
|
||||
"fieldtype": "Date",
|
||||
"search_index": 0,
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
@ -265,11 +265,11 @@
|
||||
"label": "Item Group",
|
||||
"oldfieldname": "item_group",
|
||||
"permlevel": 1,
|
||||
"options": "Item Group",
|
||||
"fieldname": "item_group",
|
||||
"fieldtype": "Link",
|
||||
"search_index": 0,
|
||||
"hidden": 1,
|
||||
"options": "Item Group",
|
||||
"in_filter": 1
|
||||
},
|
||||
{
|
||||
|
@ -1,28 +1,21 @@
|
||||
# Page, buying-home
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-02-21 13:22:54',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-02-21 13:22:54',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-02-21 13:22:54",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-02-21 13:22:54"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'page_name': u'buying-home',
|
||||
'standard': u'Yes',
|
||||
'title': u'Buying Home'
|
||||
"name": "__common__",
|
||||
"title": "Buying Home",
|
||||
"module": "Buying",
|
||||
"doctype": "Page",
|
||||
"page_name": "buying-home",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Page, buying-home
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'name': u'buying-home'
|
||||
"name": "buying-home",
|
||||
"doctype": "Page"
|
||||
}
|
||||
]
|
@ -1,49 +1,36 @@
|
||||
# Page, purchase-analytics
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-09-21 20:15:16',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-04 17:24:17',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-09-21 20:15:16",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-04 17:24:17"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
'module': u'Buying',
|
||||
u'name': u'__common__',
|
||||
'page_name': u'purchase-analytics',
|
||||
'standard': u'Yes',
|
||||
'title': u'Purchase Analytics'
|
||||
"name": "__common__",
|
||||
"title": "Purchase Analytics",
|
||||
"module": "Buying",
|
||||
"doctype": "Page",
|
||||
"page_name": "purchase-analytics",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# These values are common for all Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
u'name': u'__common__',
|
||||
'parent': u'purchase-analytics',
|
||||
'parentfield': u'roles',
|
||||
'parenttype': u'Page'
|
||||
"name": "__common__",
|
||||
"parent": "purchase-analytics",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
|
||||
# Page, purchase-analytics
|
||||
{
|
||||
u'doctype': u'Page',
|
||||
u'name': u'purchase-analytics'
|
||||
"name": "purchase-analytics",
|
||||
"doctype": "Page"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Analytics'
|
||||
"role": "Analytics",
|
||||
"doctype": "Page Role"
|
||||
},
|
||||
|
||||
# Page Role
|
||||
{
|
||||
u'doctype': u'Page Role',
|
||||
'role': u'Purchase Manager'
|
||||
"role": "Purchase Manager",
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
@ -1,26 +1,19 @@
|
||||
# Report, Supplier Quotations
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-08-07 14:52:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-12-03 17:10:41',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-08-07 14:52:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-12-03 17:10:41"
|
||||
},
|
||||
|
||||
# These values are common for all Report
|
||||
{
|
||||
'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__',
|
||||
'ref_doctype': u'Supplier Quotation'
|
||||
"name": "__common__",
|
||||
"ref_doctype": "Supplier Quotation",
|
||||
"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\"}"
|
||||
},
|
||||
|
||||
# Report, Supplier Quotations
|
||||
{
|
||||
'doctype': 'Report',
|
||||
'name': u'Supplier Quotations'
|
||||
"name": "Supplier Quotations",
|
||||
"doctype": "Report"
|
||||
}
|
||||
]
|
@ -1,34 +1,27 @@
|
||||
# Search Criteria, itemwise_purchase_details
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 13:16:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-13 11:15:06',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:16:55",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-13 11:15:06"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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',
|
||||
'criteria_name': u'Itemwise Purchase Details',
|
||||
'doc_type': u'Purchase Order Item',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u'{"Purchase Order\\u0001Submitted":1,"Purchase Order\\u0001Status":[],"Purchase Order\\u0001Fiscal Year":[]}',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Purchase Order',
|
||||
'sort_by': u'`tabPurchase Order`.`transaction_date`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"parent_doc_type": "Purchase Order",
|
||||
"module": "Buying",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{\"Purchase Order\\u0001Submitted\":1,\"Purchase Order\\u0001Status\":[],\"Purchase Order\\u0001Fiscal Year\":[]}",
|
||||
"doc_type": "Purchase Order Item",
|
||||
"name": "__common__",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabPurchase Order`.`transaction_date`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Itemwise Purchase Details",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, itemwise_purchase_details
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'itemwise_purchase_details'
|
||||
"name": "itemwise_purchase_details",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,37 +1,30 @@
|
||||
# Search Criteria, pending_po_items_to_bill
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'dhanalekshmi@webnotestech.com'
|
||||
"owner": "dhanalekshmi@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:51",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:51"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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"',
|
||||
'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"',
|
||||
'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',
|
||||
'criteria_name': u'Pending PO Items To Bill',
|
||||
'description': u'Pending PO Items To Bill',
|
||||
'doc_type': u'Purchase Order Item',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Purchase Order\x01Saved':1,'Purchase Order\x01Submitted':1,'Purchase Order\x01Status':'','Purchase Order\x01Fiscal Year':''}",
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Purchase Order',
|
||||
'sort_by': u'`tabPurchase Order`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"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",
|
||||
"module": "Buying",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Purchase Order\u0001Saved':1,'Purchase Order\u0001Submitted':1,'Purchase Order\u0001Status':'','Purchase Order\u0001Fiscal Year':''}",
|
||||
"description": "Pending PO Items To Bill",
|
||||
"doc_type": "Purchase Order Item",
|
||||
"name": "__common__",
|
||||
"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",
|
||||
"sort_by": "`tabPurchase Order`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Pending PO Items To Bill",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, pending_po_items_to_bill
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'pending_po_items_to_bill'
|
||||
"name": "pending_po_items_to_bill",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,37 +1,30 @@
|
||||
# Search Criteria, pending_po_items_to_receive
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-03 12:49:52',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:52',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'dhanalekshmi@webnotestech.com'
|
||||
"owner": "dhanalekshmi@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-03 12:49:52",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:52"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'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"',
|
||||
'add_cond': u'`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 \n`tabPurchase Order`.status != "Stopped"',
|
||||
'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',
|
||||
'criteria_name': u'Pending PO Items To Receive',
|
||||
'description': u'Pending PO Items To Receive',
|
||||
'doc_type': u'Purchase Order Item',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Purchase Order\x01Saved':1,'Purchase Order\x01Submitted':1,'Purchase Order\x01Status':'','Purchase Order\x01Fiscal Year':''}",
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Purchase Order',
|
||||
'sort_by': u'`tabPurchase Order`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"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",
|
||||
"module": "Buying",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{'Purchase Order\u0001Saved':1,'Purchase Order\u0001Submitted':1,'Purchase Order\u0001Status':'','Purchase Order\u0001Fiscal Year':''}",
|
||||
"description": "Pending PO Items To Receive",
|
||||
"doc_type": "Purchase Order Item",
|
||||
"name": "__common__",
|
||||
"add_cond": "`tabPurchase Order Item`.qty - ifnull(`tabPurchase Order Item`.received_qty, 0) > 0 \n`tabPurchase Order`.status != \"Stopped\"",
|
||||
"doctype": "Search Criteria",
|
||||
"sort_by": "`tabPurchase Order`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Pending PO Items To Receive",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, pending_po_items_to_receive
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'pending_po_items_to_receive'
|
||||
"name": "pending_po_items_to_receive",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,39 +1,32 @@
|
||||
# Search Criteria, purchase_in_transit
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-04-11 13:16:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-13 12:06:15',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-04-11 13:16:55",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-13 12:06:15"
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'add_col': u"`tabPurchase Receipt`.`posting_date` AS 'PR Posting Date'",
|
||||
'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`",
|
||||
'add_tab': u'`tabPurchase Receipt`',
|
||||
'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',
|
||||
'criteria_name': u'Purchase in Transit',
|
||||
'description': u'List of PR whose posting date is after PV posting date',
|
||||
'dis_filters': u'`tabPurchase Receipt`.`pr_posting_date`',
|
||||
'doc_type': u'Purchase Invoice Item',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u'{"Purchase Invoice\\u0001Submitted":1,"Purchase Invoice\\u0001Is Opening":[""],"Purchase Invoice\\u0001Fiscal Year":[""]}',
|
||||
'module': u'Buying',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'parent_doc_type': u'Purchase Invoice',
|
||||
'sort_by': u'`tabPurchase Invoice`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
"add_col": "`tabPurchase Receipt`.`posting_date` AS 'PR Posting Date'",
|
||||
"parent_doc_type": "Purchase Invoice",
|
||||
"module": "Buying",
|
||||
"standard": "Yes",
|
||||
"sort_order": "DESC",
|
||||
"filters": "{\"Purchase Invoice\\u0001Submitted\":1,\"Purchase Invoice\\u0001Is Opening\":[\"\"],\"Purchase Invoice\\u0001Fiscal Year\":[\"\"]}",
|
||||
"dis_filters": "`tabPurchase Receipt`.`pr_posting_date`",
|
||||
"description": "List of PR whose posting date is after PV posting date",
|
||||
"doc_type": "Purchase Invoice Item",
|
||||
"name": "__common__",
|
||||
"add_tab": "`tabPurchase Receipt`",
|
||||
"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",
|
||||
"sort_by": "`tabPurchase Invoice`.`name`",
|
||||
"page_len": 50,
|
||||
"criteria_name": "Purchase in Transit",
|
||||
"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"
|
||||
},
|
||||
|
||||
# Search Criteria, purchase_in_transit
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'purchase_in_transit'
|
||||
"name": "purchase_in_transit",
|
||||
"doctype": "Search Criteria"
|
||||
}
|
||||
]
|
@ -1,105 +1,80 @@
|
||||
# DocType, Feed
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-07-03 13:29:42',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-10-15 15:23:02',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:29:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-10-15 15:23:02"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'_FEED.#####',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'module': u'Home',
|
||||
u'name': u'__common__',
|
||||
'section_style': u'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "Home",
|
||||
"doctype": "DocType",
|
||||
"version": 1,
|
||||
"autoname": "_FEED.#####",
|
||||
"show_in_menu": 0
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Feed',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0
|
||||
"name": "__common__",
|
||||
"parent": "Feed",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"permlevel": 0,
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Feed',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1,
|
||||
'role': u'System Manager'
|
||||
"parent": "Feed",
|
||||
"read": 1,
|
||||
"name": "__common__",
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"role": "System Manager",
|
||||
"permlevel": 0,
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Feed
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Feed'
|
||||
"name": "Feed",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'feed_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Feed Type'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "feed_type",
|
||||
"fieldtype": "Select",
|
||||
"label": "Feed Type"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'doc_type',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Doc Type'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "doc_type",
|
||||
"fieldtype": "Data",
|
||||
"label": "Doc Type"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'doc_name',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Doc Name'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "doc_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Doc Name"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'subject',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Subject'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "subject",
|
||||
"fieldtype": "Data",
|
||||
"label": "Subject"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'color',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Color'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "color",
|
||||
"fieldtype": "Data",
|
||||
"label": "Color"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'full_name',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Full Name'
|
||||
"doctype": "DocField",
|
||||
"fieldname": "full_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Full Name"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm'
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
@ -1,28 +1,21 @@
|
||||
# Page, activity
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-02-29 11:59:13',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-02-29 12:11:46',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-02-29 11:59:13",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-02-29 12:11:46"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'module': u'Home',
|
||||
'name': '__common__',
|
||||
'page_name': u'activity',
|
||||
'standard': u'Yes',
|
||||
'title': u'Activity'
|
||||
"name": "__common__",
|
||||
"title": "Activity",
|
||||
"module": "Home",
|
||||
"doctype": "Page",
|
||||
"page_name": "activity",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Page, activity
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'name': u'activity'
|
||||
"name": "activity",
|
||||
"doctype": "Page"
|
||||
}
|
||||
]
|
@ -1,28 +1,21 @@
|
||||
# Page, attributions
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-01 12:30:42',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-01 12:30:42',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-03-01 12:30:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-03-01 12:30:42"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'module': u'Home',
|
||||
'name': '__common__',
|
||||
'page_name': u'attributions',
|
||||
'standard': u'Yes',
|
||||
'title': u'Attributions'
|
||||
"name": "__common__",
|
||||
"title": "Attributions",
|
||||
"module": "Home",
|
||||
"doctype": "Page",
|
||||
"page_name": "attributions",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Page, attributions
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'name': u'attributions'
|
||||
"name": "attributions",
|
||||
"doctype": "Page"
|
||||
}
|
||||
]
|
@ -6,7 +6,7 @@
|
||||
.sprite-hr{ background-position: 0 -439px; width: 40px; height: 32px; }
|
||||
.sprite-kb{ background-position: 0 -521px; width: 24px; height: 39px; }
|
||||
.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-report{ background-position: 0 -841px; width: 29px; 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-hr{ margin-top: 12px; 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-setting{ margin-top: 8px; margin-left: 8px; }
|
||||
.sprite-report{ margin-top: 8px; margin-left: 14px; }
|
||||
|
@ -33,7 +33,7 @@ erpnext.desktop.render = function() {
|
||||
'Support': { sprite: 'support', label: 'Support'},
|
||||
'HR': { sprite: 'hr', label: 'Human<br />Resources'},
|
||||
'Projects': { sprite: 'project', label: 'Projects'},
|
||||
'Production': { sprite: 'production', label: 'Production'},
|
||||
'Manufacturing': { sprite: 'manufacturing', label: 'Manufacturing'},
|
||||
'Website': { sprite: 'website', label: 'Website'},
|
||||
'Activity': { sprite: 'feed', label: 'Activity'},
|
||||
'Setup': { sprite: 'setting', label: 'Setup'},
|
||||
|
@ -1,28 +1,21 @@
|
||||
# Page, desktop
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-02-24 11:37:43',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-02-24 11:37:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-02-24 11:37:43",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-02-24 11:37:43"
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'module': u'Home',
|
||||
'name': '__common__',
|
||||
'page_name': u'desktop',
|
||||
'standard': u'Yes',
|
||||
'title': u'Desktop'
|
||||
"name": "__common__",
|
||||
"title": "Desktop",
|
||||
"module": "Home",
|
||||
"doctype": "Page",
|
||||
"page_name": "desktop",
|
||||
"standard": "Yes"
|
||||
},
|
||||
|
||||
# Page, desktop
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'name': u'desktop'
|
||||
"name": "desktop",
|
||||
"doctype": "Page"
|
||||
}
|
||||
]
|
@ -1,47 +1,36 @@
|
||||
# DocType Mapper, Appraisal Template-Appraisal
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:47:59',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-04-03 12:49:50',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
"owner": "ashwini@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-09-01 15:47:59",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-04-03 12:49:50"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'kra_sheet',
|
||||
'from_table': u'Appraisal Template Goal',
|
||||
'match_id': 0,
|
||||
'name': '__common__',
|
||||
'parent': u'Appraisal Template-Appraisal',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper',
|
||||
'to_field': u'appraisal_details',
|
||||
'to_table': u'Appraisal Goal',
|
||||
'validation_logic': u'name is not Null'
|
||||
"match_id": 0,
|
||||
"parent": "Appraisal Template-Appraisal",
|
||||
"from_field": "kra_sheet",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"to_table": "Appraisal Goal",
|
||||
"name": "__common__",
|
||||
"to_field": "appraisal_details",
|
||||
"parenttype": "DocType Mapper",
|
||||
"from_table": "Appraisal Template Goal",
|
||||
"validation_logic": "name is not Null",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': u'Appraisal Template',
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'to_doctype': u'Appraisal'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Appraisal",
|
||||
"module": "HR",
|
||||
"doctype": "DocType Mapper",
|
||||
"from_doctype": "Appraisal Template"
|
||||
},
|
||||
|
||||
# DocType Mapper, Appraisal Template-Appraisal
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': u'Appraisal Template-Appraisal'
|
||||
"name": "Appraisal Template-Appraisal",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': u'Table Mapper Detail'
|
||||
"doctype": "Table Mapper Detail"
|
||||
}
|
||||
]
|
@ -1,131 +1,100 @@
|
||||
# DocType Mapper, Salary Structure-Salary Slip
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:33:11',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-09-15 15:04:44',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
"owner": "harshada@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2010-12-14 10:33:11",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2011-09-15 15:04:44"
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': 'Salary Structure-Salary Slip',
|
||||
'parentfield': 'table_mapper_details',
|
||||
'parenttype': 'DocType Mapper',
|
||||
'validation_logic': 'name is not null'
|
||||
"name": "__common__",
|
||||
"parent": "Salary Structure-Salary Slip",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"validation_logic": "name is not null",
|
||||
"parentfield": "table_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'map': 'Yes',
|
||||
'name': '__common__',
|
||||
'parent': 'Salary Structure-Salary Slip',
|
||||
'parentfield': 'field_mapper_details',
|
||||
'parenttype': 'DocType Mapper'
|
||||
"map": "Yes",
|
||||
"name": "__common__",
|
||||
"parent": "Salary Structure-Salary Slip",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"parenttype": "DocType Mapper",
|
||||
"parentfield": "field_mapper_details"
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': 'Salary Structure',
|
||||
'module': 'HR',
|
||||
'name': '__common__',
|
||||
'to_doctype': 'Salary Slip'
|
||||
"name": "__common__",
|
||||
"to_doctype": "Salary Slip",
|
||||
"module": "HR",
|
||||
"doctype": "DocType Mapper",
|
||||
"from_doctype": "Salary Structure"
|
||||
},
|
||||
|
||||
# DocType Mapper, Salary Structure-Salary Slip
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': 'Salary Structure-Salary Slip'
|
||||
"name": "Salary Structure-Salary Slip",
|
||||
"doctype": "DocType Mapper"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'total_earning',
|
||||
'match_id': 0,
|
||||
'to_field': 'gross_pay'
|
||||
"to_field": "gross_pay",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 0,
|
||||
"from_field": "total_earning"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'modified_value',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_amount'
|
||||
"to_field": "e_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 1,
|
||||
"from_field": "modified_value"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'd_modified_amt',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_amount'
|
||||
"to_field": "d_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 2,
|
||||
"from_field": "d_modified_amt"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'modified_value',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_modified_amount'
|
||||
"to_field": "e_modified_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 1,
|
||||
"from_field": "modified_value"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'depend_on_lwp',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_depends_on_lwp'
|
||||
"to_field": "e_depends_on_lwp",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 1,
|
||||
"from_field": "depend_on_lwp"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'd_modified_amt',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_modified_amount'
|
||||
"to_field": "d_modified_amount",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 2,
|
||||
"from_field": "d_modified_amt"
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'depend_on_lwp',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_depends_on_lwp'
|
||||
"to_field": "d_depends_on_lwp",
|
||||
"doctype": "Field Mapper Detail",
|
||||
"match_id": 2,
|
||||
"from_field": "depend_on_lwp"
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_table': 'Salary Structure',
|
||||
'match_id': 0,
|
||||
'to_table': 'Salary Slip'
|
||||
"to_table": "Salary Slip",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"match_id": 0,
|
||||
"from_table": "Salary Structure"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"match_id": 1,
|
||||
"to_field": "earning_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "earning_details",
|
||||
"from_table": "Salary Structure Earning",
|
||||
"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'
|
||||
"match_id": 2,
|
||||
"to_field": "deduction_details",
|
||||
"doctype": "Table Mapper Detail",
|
||||
"from_field": "deduction_details",
|
||||
"from_table": "Salary Structure Deduction",
|
||||
"to_table": "Salary Slip Deduction"
|
||||
}
|
||||
]
|
@ -1,350 +1,293 @@
|
||||
# DocType, Appraisal
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-11-16 10:33:39',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-11-16 15:22:59',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'ashwini@webnotestech.com'
|
||||
"owner": "ashwini@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-11-16 10:33:39",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-11-16 15:22:59"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': u'1316075905',
|
||||
'autoname': u'APRSL.#####',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'is_submittable': 1,
|
||||
'module': u'HR',
|
||||
u'name': u'__common__',
|
||||
'search_fields': u'status, employee, employee_name',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"is_submittable": 1,
|
||||
"search_fields": "status, employee, employee_name",
|
||||
"module": "HR",
|
||||
"doctype": "DocType",
|
||||
"server_code_error": " ",
|
||||
"autoname": "APRSL.#####",
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"_last_update": "1316075905",
|
||||
"show_in_menu": 0,
|
||||
"version": 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Appraisal',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Appraisal",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Appraisal',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'read': 1
|
||||
"name": "__common__",
|
||||
"parent": "Appraisal",
|
||||
"read": 1,
|
||||
"doctype": "DocPerm",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "permissions"
|
||||
},
|
||||
|
||||
# DocType, Appraisal
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Appraisal'
|
||||
"name": "Appraisal",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'employee_details',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Employee Details',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Section Break",
|
||||
"doctype": "DocField",
|
||||
"label": "Employee Details",
|
||||
"fieldname": "employee_details",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'Select template from which you want to get the Goals',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'kra_template',
|
||||
'fieldtype': u'Link',
|
||||
'label': u'Appraisal Template',
|
||||
'oldfieldname': u'kra_template',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Appraisal Template',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"description": "Select template from which you want to get the Goals",
|
||||
"oldfieldtype": "Link",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Appraisal Template",
|
||||
"oldfieldname": "kra_template",
|
||||
"options": "Appraisal Template",
|
||||
"fieldname": "kra_template",
|
||||
"fieldtype": "Link",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'depends_on': u'kra_template',
|
||||
'description': u'Select the Employee for whom you are creating the Appraisal.',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'employee',
|
||||
'fieldtype': u'Link',
|
||||
'in_filter': 1,
|
||||
'label': u'For Employee',
|
||||
'oldfieldname': u'employee',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'Employee',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'search_index': 1,
|
||||
'trigger': u'Client'
|
||||
"doctype": "DocField",
|
||||
"description": "Select the Employee for whom you are creating the Appraisal.",
|
||||
"search_index": 1,
|
||||
"colour": "White:FFF",
|
||||
"oldfieldtype": "Link",
|
||||
"label": "For Employee",
|
||||
"oldfieldname": "employee",
|
||||
"permlevel": 0,
|
||||
"trigger": "Client",
|
||||
"fieldname": "employee",
|
||||
"fieldtype": "Link",
|
||||
"depends_on": "kra_template",
|
||||
"reqd": 1,
|
||||
"options": "Employee",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'employee_name',
|
||||
'fieldtype': u'Data',
|
||||
'in_filter': 1,
|
||||
'label': u'For Employee Name',
|
||||
'oldfieldname': u'employee_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "For Employee Name",
|
||||
"oldfieldname": "employee_name",
|
||||
"fieldname": "employee_name",
|
||||
"fieldtype": "Data",
|
||||
"depends_on": "kra_template",
|
||||
"permlevel": 1,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'column_break0',
|
||||
'fieldtype': u'Column Break',
|
||||
'oldfieldtype': u'Column Break',
|
||||
'permlevel': 0,
|
||||
'width': u'50%'
|
||||
"depends_on": "kra_template",
|
||||
"doctype": "DocField",
|
||||
"width": "50%",
|
||||
"fieldname": "column_break0",
|
||||
"fieldtype": "Column Break",
|
||||
"oldfieldtype": "Column Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'default': u'Draft',
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'status',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': u'Status',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'status',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'\nDraft\nSubmitted\nCompleted\nCancelled',
|
||||
'permlevel': 1,
|
||||
'reqd': 1,
|
||||
'search_index': 1
|
||||
"permlevel": 1,
|
||||
"depends_on": "kra_template",
|
||||
"no_copy": 1,
|
||||
"search_index": 1,
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Status",
|
||||
"oldfieldname": "status",
|
||||
"default": "Draft",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"oldfieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "\nDraft\nSubmitted\nCompleted\nCancelled",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'start_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': u'Start Date',
|
||||
'oldfieldname': u'start_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Start Date",
|
||||
"oldfieldname": "start_date",
|
||||
"fieldname": "start_date",
|
||||
"fieldtype": "Date",
|
||||
"depends_on": "kra_template",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'end_date',
|
||||
'fieldtype': u'Date',
|
||||
'in_filter': 1,
|
||||
'label': u'End Date',
|
||||
'oldfieldname': u'end_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "End Date",
|
||||
"oldfieldname": "end_date",
|
||||
"fieldname": "end_date",
|
||||
"fieldtype": "Date",
|
||||
"depends_on": "kra_template",
|
||||
"reqd": 1,
|
||||
"permlevel": 0,
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'section_break0',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Goals',
|
||||
'oldfieldtype': u'Section Break',
|
||||
'options': u'Simple',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Section Break",
|
||||
"doctype": "DocField",
|
||||
"label": "Goals",
|
||||
"permlevel": 0,
|
||||
"fieldname": "section_break0",
|
||||
"fieldtype": "Section Break",
|
||||
"depends_on": "kra_template",
|
||||
"options": "Simple"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'appraisal_details',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Appraisal Goals',
|
||||
'oldfieldname': u'appraisal_details',
|
||||
'oldfieldtype': u'Table',
|
||||
'options': u'Appraisal Goal',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Table",
|
||||
"colour": "White:FFF",
|
||||
"allow_on_submit": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Appraisal Goals",
|
||||
"oldfieldname": "appraisal_details",
|
||||
"permlevel": 0,
|
||||
"fieldname": "appraisal_details",
|
||||
"fieldtype": "Table",
|
||||
"options": "Appraisal Goal"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'calculate_total_score',
|
||||
'fieldtype': u'Button',
|
||||
'label': u'Calculate Total Score',
|
||||
'oldfieldtype': u'Button',
|
||||
'options': u'calculate_total',
|
||||
'permlevel': 0
|
||||
"oldfieldtype": "Button",
|
||||
"allow_on_submit": 0,
|
||||
"doctype": "DocField",
|
||||
"label": "Calculate Total Score",
|
||||
"permlevel": 0,
|
||||
"fieldname": "calculate_total_score",
|
||||
"fieldtype": "Button",
|
||||
"options": "calculate_total"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'total_score',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Total Score (Out of 5)',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'total_score',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 1
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Total Score (Out of 5)",
|
||||
"oldfieldname": "total_score",
|
||||
"fieldname": "total_score",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'section_break1',
|
||||
'fieldtype': u'Section Break',
|
||||
'permlevel': 0
|
||||
"depends_on": "kra_template",
|
||||
"doctype": "DocField",
|
||||
"fieldname": "section_break1",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'Any other comments, noteworthy effort that should go in the records.',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'comments',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Comments',
|
||||
'permlevel': 0
|
||||
"description": "Any other comments, noteworthy effort that should go in the records.",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Comments",
|
||||
"fieldname": "comments",
|
||||
"fieldtype": "Text",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'depends_on': u'kra_template',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'other_details',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Other Details',
|
||||
'permlevel': 0
|
||||
"depends_on": "kra_template",
|
||||
"doctype": "DocField",
|
||||
"label": "Other Details",
|
||||
"fieldname": "other_details",
|
||||
"fieldtype": "Section Break",
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'company',
|
||||
'fieldtype': u'Select',
|
||||
'in_filter': 1,
|
||||
'label': u'Company',
|
||||
'oldfieldname': u'company',
|
||||
'oldfieldtype': u'Link',
|
||||
'options': u'link:Company',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
"oldfieldtype": "Link",
|
||||
"doctype": "DocField",
|
||||
"label": "Company",
|
||||
"oldfieldname": "company",
|
||||
"permlevel": 0,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Company",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'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
|
||||
"oldfieldtype": "Select",
|
||||
"doctype": "DocField",
|
||||
"label": "Fiscal Year",
|
||||
"oldfieldname": "fiscal_year",
|
||||
"permlevel": 0,
|
||||
"fieldname": "fiscal_year",
|
||||
"fieldtype": "Select",
|
||||
"reqd": 1,
|
||||
"options": "link:Fiscal Year",
|
||||
"in_filter": 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'amendment_date',
|
||||
'fieldtype': u'Date',
|
||||
'hidden': 1,
|
||||
'label': u'Amendment Date',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'amendment_date',
|
||||
'oldfieldtype': u'Date',
|
||||
'permlevel': 1,
|
||||
'print_hide': 1,
|
||||
'report_hide': 1,
|
||||
'width': u'160px'
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Date",
|
||||
"doctype": "DocField",
|
||||
"label": "Amendment Date",
|
||||
"oldfieldname": "amendment_date",
|
||||
"width": "160px",
|
||||
"fieldname": "amendment_date",
|
||||
"fieldtype": "Date",
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"report_hide": 1
|
||||
},
|
||||
|
||||
# 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'
|
||||
"print_hide": 1,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Data",
|
||||
"doctype": "DocField",
|
||||
"label": "Amended From",
|
||||
"oldfieldname": "amended_from",
|
||||
"width": "150px",
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"permlevel": 1,
|
||||
"report_hide": 1
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
u'doctype': u'DocPerm',
|
||||
'match': u'owner',
|
||||
'permlevel': 0,
|
||||
'role': u'Employee',
|
||||
'submit': 0,
|
||||
'write': 1
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 0,
|
||||
"write": 1,
|
||||
"role": "Employee",
|
||||
"permlevel": 0,
|
||||
"match": "owner"
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
u'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'System Manager',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
"amend": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "System Manager",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 1,
|
||||
'cancel': 1,
|
||||
'create': 1,
|
||||
u'doctype': u'DocPerm',
|
||||
'permlevel': 0,
|
||||
'role': u'HR User',
|
||||
'submit': 1,
|
||||
'write': 1
|
||||
"amend": 1,
|
||||
"create": 1,
|
||||
"doctype": "DocPerm",
|
||||
"submit": 1,
|
||||
"write": 1,
|
||||
"role": "HR User",
|
||||
"cancel": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
'permlevel': 1,
|
||||
'role': u'All'
|
||||
"role": "All",
|
||||
"permlevel": 1,
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
]
|
@ -1,98 +1,81 @@
|
||||
# DocType, Appraisal Goal
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-07-03 13:30:40',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-11-15 17:50:24',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'ashwini@webnotestech.com'
|
||||
"owner": "ashwini@webnotestech.com",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-07-03 13:30:40",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-11-15 17:50:24"
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'APRSLD.#####',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'istable': 1,
|
||||
'module': u'HR',
|
||||
u'name': u'__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'version': 1
|
||||
"section_style": "Simple",
|
||||
"istable": 1,
|
||||
"name": "__common__",
|
||||
"colour": "White:FFF",
|
||||
"module": "HR",
|
||||
"server_code_error": " ",
|
||||
"version": 1,
|
||||
"doctype": "DocType",
|
||||
"autoname": "APRSLD.#####"
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Appraisal Goal',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType'
|
||||
"name": "__common__",
|
||||
"parent": "Appraisal Goal",
|
||||
"doctype": "DocField",
|
||||
"parenttype": "DocType",
|
||||
"parentfield": "fields"
|
||||
},
|
||||
|
||||
# DocType, Appraisal Goal
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Appraisal Goal'
|
||||
"name": "Appraisal Goal",
|
||||
"doctype": "DocType"
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'colour': u'White:FFF',
|
||||
'description': u'Key Responsibility Area',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'kra',
|
||||
'fieldtype': u'Small Text',
|
||||
'label': u'Goal',
|
||||
'oldfieldname': u'kra',
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'240px'
|
||||
"description": "Key Responsibility Area",
|
||||
"oldfieldtype": "Small Text",
|
||||
"colour": "White:FFF",
|
||||
"doctype": "DocField",
|
||||
"label": "Goal",
|
||||
"oldfieldname": "kra",
|
||||
"width": "240px",
|
||||
"fieldname": "kra",
|
||||
"fieldtype": "Small Text",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'per_weightage',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Weightage (%)',
|
||||
'oldfieldname': u'per_weightage',
|
||||
'oldfieldtype': u'Currency',
|
||||
'permlevel': 0,
|
||||
'reqd': 1,
|
||||
'width': u'70px'
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Weightage (%)",
|
||||
"oldfieldname": "per_weightage",
|
||||
"width": "70px",
|
||||
"fieldname": "per_weightage",
|
||||
"fieldtype": "Currency",
|
||||
"reqd": 1,
|
||||
"permlevel": 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 1,
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'score',
|
||||
'fieldtype': u'Currency',
|
||||
'label': u'Score (0-5)',
|
||||
'no_copy': 1,
|
||||
'oldfieldname': u'score',
|
||||
'oldfieldtype': u'Select',
|
||||
'options': u'\n0\n1\n2\n3\n4\n5',
|
||||
'permlevel': 0,
|
||||
'trigger': u'Client',
|
||||
'width': u'70px'
|
||||
"permlevel": 0,
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Select",
|
||||
"colour": "White:FFF",
|
||||
"allow_on_submit": 1,
|
||||
"doctype": "DocField",
|
||||
"label": "Score (0-5)",
|
||||
"oldfieldname": "score",
|
||||
"width": "70px",
|
||||
"trigger": "Client",
|
||||
"fieldname": "score",
|
||||
"fieldtype": "Currency",
|
||||
"options": "\n0\n1\n2\n3\n4\n5"
|
||||
},
|
||||
|
||||
# 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'
|
||||
"no_copy": 1,
|
||||
"oldfieldtype": "Currency",
|
||||
"doctype": "DocField",
|
||||
"label": "Score Earned",
|
||||
"oldfieldname": "score_earned",
|
||||
"width": "70px",
|
||||
"fieldname": "score_earned",
|
||||
"fieldtype": "Currency",
|
||||
"permlevel": 1
|
||||
}
|
||||
]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user