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:
Anand Doshi
2012-12-19 22:28:00 +05:30
537 changed files with 27532 additions and 39772 deletions

View File

@@ -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'
},
# 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'
},
# 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'
},
# 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'
},
# DocType Mapper, Purchase Request-Purchase Order
{
'doctype': u'DocType Mapper',
'name': u'Purchase Request-Purchase Order'
},
# 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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parenttype',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_doctype'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parent',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_docname'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'name',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_detail_docname'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'uom',
'map': u'Yes',
'match_id': 1,
'to_field': u'stock_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'
},
# 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'
},
# 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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'schedule_date',
'map': u'Yes',
'match_id': 1,
'to_field': u'schedule_date'
},
# Field Mapper Detail
{
'checking_operator': u'>=',
'doctype': u'Field Mapper Detail',
'from_field': u'transaction_date',
'map': u'No',
'match_id': 0,
'to_field': u'transaction_date'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_table': u'Purchase Request',
'match_id': 0,
'reference_key': u'prevdoc_docname',
'to_table': u'Purchase Order',
'validation_logic': u'docstatus = 1'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_field': u'indent_details',
'from_table': u'Purchase Request Item',
'match_id': 1,
'reference_doctype_key': u'prevdoc_doctype',
'to_field': u'po_details',
'to_table': u'Purchase Order Item',
'validation_logic': u'qty > ifnull(ordered_qty,0) and docstatus =1'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2010-08-08 17:09:34",
"modified_by": "Administrator",
"modified": "2012-07-02 11:12:28"
},
{
"name": "__common__",
"parent": "Purchase Request-Purchase Order",
"doctype": "Table Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "table_mapper_details"
},
{
"name": "__common__",
"parent": "Purchase Request-Purchase Order",
"doctype": "Field Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "field_mapper_details"
},
{
"name": "__common__",
"to_doctype": "Purchase Order",
"module": "Buying",
"doctype": "DocType Mapper",
"ref_doc_submitted": 1,
"from_doctype": "Purchase Request"
},
{
"name": "Purchase Request-Purchase Order",
"doctype": "DocType Mapper"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "company",
"doctype": "Field Mapper Detail",
"from_field": "company",
"checking_operator": "="
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_doctype",
"doctype": "Field Mapper Detail",
"from_field": "parenttype"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_docname",
"doctype": "Field Mapper Detail",
"from_field": "parent"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_detail_docname",
"doctype": "Field Mapper Detail",
"from_field": "name"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "stock_uom",
"doctype": "Field Mapper Detail",
"from_field": "uom"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "conversion_factor",
"doctype": "Field Mapper Detail",
"from_field": "eval:flt(1)"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "stock_qty",
"doctype": "Field Mapper Detail",
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "qty",
"doctype": "Field Mapper Detail",
"from_field": "eval:flt(obj.qty) - flt(obj.ordered_qty)"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "schedule_date",
"doctype": "Field Mapper Detail",
"from_field": "schedule_date"
},
{
"map": "No",
"match_id": 0,
"to_field": "transaction_date",
"doctype": "Field Mapper Detail",
"from_field": "transaction_date",
"checking_operator": ">="
},
{
"reference_key": "prevdoc_docname",
"match_id": 0,
"doctype": "Table Mapper Detail",
"from_table": "Purchase Request",
"to_table": "Purchase Order",
"validation_logic": "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"
}
]

View File

@@ -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'
},
# 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'
},
# 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'
},
# 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'
},
# DocType Mapper, Purchase Request-Supplier Quotation
{
'doctype': u'DocType Mapper',
'name': u'Purchase Request-Supplier Quotation'
},
# 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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parenttype',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_doctype'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parent',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_docname'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'name',
'map': u'Yes',
'match_id': 1,
'to_field': u'prevdoc_detail_docname'
},
# Field Mapper Detail
{
'checking_operator': u'>=',
'doctype': u'Field Mapper Detail',
'from_field': u'transaction_date',
'map': u'No',
'match_id': 0,
'to_field': u'transaction_date'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_table': u'Purchase Request',
'match_id': 0,
'reference_key': u'prevdoc_docname',
'to_table': u'Supplier Quotation',
'validation_logic': u'docstatus = 1'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_field': u'indent_details',
'from_table': u'Purchase Request Item',
'match_id': 1,
'reference_doctype_key': u'prevdoc_doctype',
'to_field': u'quotation_items',
'to_table': u'Supplier Quotation Item',
'validation_logic': u'docstatus =1'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-08-02 18:36:26",
"modified_by": "Administrator",
"modified": "2012-08-03 12:34:09"
},
{
"name": "__common__",
"parent": "Purchase Request-Supplier Quotation",
"doctype": "Table Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "table_mapper_details"
},
{
"name": "__common__",
"parent": "Purchase Request-Supplier Quotation",
"doctype": "Field Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "field_mapper_details"
},
{
"name": "__common__",
"to_doctype": "Supplier Quotation",
"module": "Buying",
"doctype": "DocType Mapper",
"ref_doc_submitted": 1,
"from_doctype": "Purchase Request"
},
{
"name": "Purchase Request-Supplier Quotation",
"doctype": "DocType Mapper"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "company",
"doctype": "Field Mapper Detail",
"from_field": "company",
"checking_operator": "="
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_doctype",
"doctype": "Field Mapper Detail",
"from_field": "parenttype"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_docname",
"doctype": "Field Mapper Detail",
"from_field": "parent"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "prevdoc_detail_docname",
"doctype": "Field Mapper Detail",
"from_field": "name"
},
{
"map": "No",
"match_id": 0,
"to_field": "transaction_date",
"doctype": "Field Mapper Detail",
"from_field": "transaction_date",
"checking_operator": ">="
},
{
"reference_key": "prevdoc_docname",
"match_id": 0,
"doctype": "Table Mapper Detail",
"from_table": "Purchase Request",
"to_table": "Supplier Quotation",
"validation_logic": "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"
}
]

View File

@@ -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'
},
# 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'
},
# 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'
},
# 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'
},
# DocType Mapper, Sales Order-Purchase Request
{
'doctype': 'DocType Mapper',
'name': u'Sales Order-Purchase Request'
},
# 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'
},
# 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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parent',
'map': u'Yes',
'match_id': 1,
'to_field': u'sales_order_no'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'stock_uom',
'map': u'Yes',
'match_id': 1,
'to_field': u'uom'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'reserved_warehouse',
'map': u'Yes',
'match_id': 1,
'to_field': u'warehouse'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_field': u'sales_order_details',
'from_table': u'Sales Order Item',
'match_id': 1,
'reference_doctype_key': u'prevdoc_doctype',
'reference_key': u'prevdoc_detail_docname',
'to_field': u'indent_details',
'to_table': u'Purchase Request Item',
'validation_logic': u'docstatus=1'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_table': u'Sales Order',
'match_id': 0,
'reference_key': u'prevdoc_docname',
'to_table': u'Purchase Request',
'validation_logic': u'docstatus = 1'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2011-05-20 10:07:55",
"modified_by": "Administrator",
"modified": "2012-04-03 12:49:50"
},
{
"name": "__common__",
"parent": "Sales Order-Purchase Request",
"doctype": "Table Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "table_mapper_details"
},
{
"name": "__common__",
"parent": "Sales Order-Purchase Request",
"doctype": "Field Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "field_mapper_details"
},
{
"name": "__common__",
"to_doctype": "Purchase Request",
"module": "Buying",
"doctype": "DocType Mapper",
"ref_doc_submitted": 1,
"from_doctype": "Sales Order"
},
{
"name": "Sales Order-Purchase Request",
"doctype": "DocType Mapper"
},
{
"map": "No",
"match_id": 0,
"to_field": "transaction_date",
"doctype": "Field Mapper Detail",
"from_field": "transaction_date",
"checking_operator": ">="
},
{
"map": "Yes",
"match_id": 0,
"to_field": "company",
"doctype": "Field Mapper Detail",
"from_field": "company",
"checking_operator": "="
},
{
"map": "Yes",
"match_id": 1,
"to_field": "sales_order_no",
"doctype": "Field Mapper Detail",
"from_field": "parent"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "uom",
"doctype": "Field Mapper Detail",
"from_field": "stock_uom"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "warehouse",
"doctype": "Field Mapper Detail",
"from_field": "reserved_warehouse"
},
{
"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"
},
{
"reference_key": "prevdoc_docname",
"match_id": 0,
"doctype": "Table Mapper Detail",
"from_table": "Sales Order",
"to_table": "Purchase Request",
"validation_logic": "docstatus = 1"
}
]

View File

@@ -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'
},
# 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'
},
# 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'
},
# 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'
},
# DocType Mapper, Supplier Quotation-Purchase Order
{
'doctype': u'DocType Mapper',
'name': u'Supplier Quotation-Purchase Order'
},
# 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'
},
# 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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'conversion_rate',
'map': u'Yes',
'match_id': 0,
'to_field': u'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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'total_tax',
'map': u'Yes',
'match_id': 0,
'to_field': u'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'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'parent',
'map': u'Yes',
'match_id': 1,
'to_field': u'supplier_quotation'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'name',
'map': u'Yes',
'match_id': 1,
'to_field': u'supplier_quotation_item'
},
# Field Mapper Detail
{
'doctype': u'Field Mapper Detail',
'from_field': u'uom',
'map': u'Yes',
'match_id': 1,
'to_field': u'stock_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'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_table': u'Supplier Quotation',
'match_id': 0,
'reference_key': u'prevdoc_docname',
'to_table': u'Purchase Order'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_field': u'quotation_details',
'from_table': u'Supplier Quotation Item',
'match_id': 1,
'reference_doctype_key': u'prevdoc_doctype',
'to_field': u'po_details',
'to_table': u'Purchase Order Item'
},
# Table Mapper Detail
{
'doctype': u'Table Mapper Detail',
'from_field': u'purchase_tax_details',
'from_table': u'Purchase Taxes and Charges',
'match_id': 2,
'to_field': u'purchase_tax_details',
'to_table': u'Purchase Taxes and Charges'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-08-03 12:33:04",
"modified_by": "Administrator",
"modified": "2012-08-06 16:45:56"
},
{
"name": "__common__",
"parent": "Supplier Quotation-Purchase Order",
"doctype": "Table Mapper Detail",
"parenttype": "DocType Mapper",
"validation_logic": "docstatus = 1",
"parentfield": "table_mapper_details"
},
{
"name": "__common__",
"parent": "Supplier Quotation-Purchase Order",
"doctype": "Field Mapper Detail",
"parenttype": "DocType Mapper",
"parentfield": "field_mapper_details"
},
{
"name": "__common__",
"to_doctype": "Purchase Order",
"module": "Buying",
"doctype": "DocType Mapper",
"ref_doc_submitted": 1,
"from_doctype": "Supplier Quotation"
},
{
"name": "Supplier Quotation-Purchase Order",
"doctype": "DocType Mapper"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "company",
"doctype": "Field Mapper Detail",
"from_field": "company",
"checking_operator": "="
},
{
"map": "No",
"match_id": 0,
"to_field": "transaction_date",
"doctype": "Field Mapper Detail",
"from_field": "transaction_date",
"checking_operator": ">="
},
{
"map": "Yes",
"match_id": 0,
"to_field": "conversion_rate",
"doctype": "Field Mapper Detail",
"from_field": "conversion_rate"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "net_total",
"doctype": "Field Mapper Detail",
"from_field": "net_total"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "total_tax",
"doctype": "Field Mapper Detail",
"from_field": "total_tax"
},
{
"map": "Yes",
"match_id": 0,
"to_field": "grand_total",
"doctype": "Field Mapper Detail",
"from_field": "grand_total"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "supplier_quotation",
"doctype": "Field Mapper Detail",
"from_field": "parent"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "supplier_quotation_item",
"doctype": "Field Mapper Detail",
"from_field": "name"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "stock_uom",
"doctype": "Field Mapper Detail",
"from_field": "uom"
},
{
"map": "Yes",
"match_id": 1,
"to_field": "conversion_factor",
"doctype": "Field Mapper Detail",
"from_field": "eval:flt(1)"
},
{
"reference_key": "prevdoc_docname",
"match_id": 0,
"doctype": "Table Mapper Detail",
"from_table": "Supplier Quotation",
"to_table": "Purchase Order"
},
{
"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"
},
{
"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

View File

@@ -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'
},
# 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
},
# DocType, Purchase Common
{
'doctype': 'DocType',
'name': u'Purchase Common'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:51",
"modified_by": "Administrator",
"modified": "2012-03-27 14:35:51"
},
{
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Buying",
"show_in_menu": 0,
"version": 187,
"server_code_error": " ",
"doctype": "DocType",
"issingle": 1
},
{
"name": "Purchase Common",
"doctype": "DocType"
}
]

View File

@@ -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)

View File

@@ -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,

View File

@@ -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'
},
# 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
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Purchase Order Item Supplied',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# DocType, Purchase Order Item Supplied
{
'doctype': 'DocType',
'name': u'Purchase Order Item Supplied'
},
# 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
},
# 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
},
# 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
},
# 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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'required_qty',
'fieldtype': u'Currency',
'label': u'Required Qty',
'oldfieldname': u'required_qty',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rate',
'fieldtype': u'Currency',
'label': u'Rate',
'oldfieldname': u'rate',
'oldfieldtype': u'Currency',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amount',
'fieldtype': u'Currency',
'label': u'Amount',
'oldfieldname': u'amount',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'conversion_factor',
'fieldtype': u'Currency',
'hidden': 1,
'label': u'Conversion Factor',
'oldfieldname': u'conversion_factor',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'stock_uom',
'fieldtype': u'Data',
'label': u'Stock Uom',
'oldfieldname': u'stock_uom',
'oldfieldtype': u'Data',
'permlevel': 1
}
{
"owner": "dhanalekshmi@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:35:50",
"modified_by": "Administrator",
"modified": "2012-03-27 14:35:50"
},
{
"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
},
{
"name": "__common__",
"parent": "Purchase Order Item Supplied",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "Purchase Order Item Supplied",
"doctype": "DocType"
},
{
"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
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "BOM Detail No",
"oldfieldname": "bom_detail_no",
"fieldname": "bom_detail_no",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Item Code",
"oldfieldname": "main_item_code",
"fieldname": "main_item_code",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Raw Material Item Code",
"oldfieldname": "rm_item_code",
"fieldname": "rm_item_code",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Required Qty",
"oldfieldname": "required_qty",
"fieldname": "required_qty",
"fieldtype": "Currency",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Rate",
"oldfieldname": "rate",
"fieldname": "rate",
"fieldtype": "Currency",
"permlevel": 0
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Amount",
"oldfieldname": "amount",
"fieldname": "amount",
"fieldtype": "Currency",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Conversion Factor",
"oldfieldname": "conversion_factor",
"fieldname": "conversion_factor",
"fieldtype": "Currency",
"hidden": 1,
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Stock Uom",
"oldfieldname": "stock_uom",
"fieldname": "stock_uom",
"fieldtype": "Data",
"permlevel": 1
}
]

View File

@@ -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'
},
# 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
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Purchase Receipt Item Supplied',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# DocType, Purchase Receipt Item Supplied
{
'doctype': 'DocType',
'name': u'Purchase Receipt Item Supplied'
},
# 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
},
# 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
},
# 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
},
# 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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'description',
'fieldtype': u'Data',
'label': u'Description',
'oldfieldname': u'description',
'oldfieldtype': u'Data',
'permlevel': 1,
'width': u'300px'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'required_qty',
'fieldtype': u'Currency',
'label': u'Required Qty',
'oldfieldname': u'required_qty',
'oldfieldtype': u'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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rate',
'fieldtype': u'Currency',
'label': u'Rate',
'oldfieldname': u'rate',
'oldfieldtype': u'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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amount',
'fieldtype': u'Currency',
'label': u'Amount',
'oldfieldname': u'amount',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'stock_uom',
'fieldtype': u'Data',
'label': u'Stock Uom',
'oldfieldname': u'stock_uom',
'oldfieldtype': u'Data',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'current_stock',
'fieldtype': u'Currency',
'label': u'Current Stock',
'oldfieldname': u'current_stock',
'oldfieldtype': u'Currency',
'permlevel': 1
}
{
"owner": "wasim@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:35:50",
"modified_by": "Administrator",
"modified": "2012-03-27 14:35:50"
},
{
"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
},
{
"name": "__common__",
"parent": "Purchase Receipt Item Supplied",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "Purchase Receipt Item Supplied",
"doctype": "DocType"
},
{
"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
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "BOM Detail No",
"oldfieldname": "bom_detail_no",
"fieldname": "bom_detail_no",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Item Code",
"oldfieldname": "main_item_code",
"fieldname": "main_item_code",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Raw Material Item Code",
"oldfieldname": "rm_item_code",
"fieldname": "rm_item_code",
"fieldtype": "Data",
"permlevel": 0
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Description",
"oldfieldname": "description",
"width": "300px",
"fieldname": "description",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Required Qty",
"oldfieldname": "required_qty",
"fieldname": "required_qty",
"fieldtype": "Currency",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Consumed Qty",
"oldfieldname": "consumed_qty",
"fieldname": "consumed_qty",
"fieldtype": "Currency",
"reqd": 1,
"permlevel": 0
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Rate",
"oldfieldname": "rate",
"fieldname": "rate",
"fieldtype": "Currency",
"permlevel": 0
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Conversion Factor",
"oldfieldname": "conversion_factor",
"fieldname": "conversion_factor",
"fieldtype": "Currency",
"hidden": 1,
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Amount",
"oldfieldname": "amount",
"fieldname": "amount",
"fieldtype": "Currency",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Stock Uom",
"oldfieldname": "stock_uom",
"fieldname": "stock_uom",
"fieldtype": "Data",
"permlevel": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Current Stock",
"oldfieldname": "current_stock",
"fieldname": "current_stock",
"fieldtype": "Currency",
"permlevel": 1
}
]

View File

@@ -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'
},
# 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
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Purchase Request Item',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# DocType, Purchase Request Item
{
'doctype': 'DocType',
'name': u'Purchase Request Item'
},
# 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'
},
# 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'
},
# 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'
},
# 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'
},
# 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'
},
# 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'
},
# 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
},
# 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'
},
# 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
},
# 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'
},
# 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'
},
# 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'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'ordered_qty',
'fieldtype': u'Currency',
'label': u'Ordered Qty',
'no_copy': 1,
'oldfieldname': u'ordered_qty',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_order_no',
'fieldtype': u'Link',
'label': u'Sales Order No',
'no_copy': 1,
'options': u'Sales Order',
'permlevel': 1,
'print_hide': 1
},
# DocField
{
'allow_on_submit': 1,
'doctype': u'DocField',
'fieldname': u'page_break',
'fieldtype': u'Check',
'label': u'Page Break',
'no_copy': 1,
'oldfieldname': u'page_break',
'oldfieldtype': u'Check',
'permlevel': 0,
'print_hide': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-11 13:17:40",
"modified_by": "Administrator",
"modified": "2012-04-12 14:52:49"
},
{
"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
},
{
"name": "__common__",
"parent": "Purchase Request Item",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "Purchase Request Item",
"doctype": "DocType"
},
{
"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
},
{
"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
},
{
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Description",
"oldfieldname": "description",
"width": "250px",
"fieldname": "description",
"fieldtype": "Text",
"reqd": 1,
"permlevel": 0
},
{
"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
},
{
"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
},
{
"no_copy": 0,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Stock UOM",
"oldfieldname": "uom",
"width": "70px",
"options": "UOM",
"fieldname": "uom",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 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
},
{
"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
},
{
"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
},
{
"print_hide": 1,
"permlevel": 1,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Brand",
"oldfieldname": "brand",
"width": "100px",
"fieldname": "brand",
"fieldtype": "Link",
"options": "Brand"
},
{
"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
},
{
"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
},
{
"no_copy": 1,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Ordered Qty",
"oldfieldname": "ordered_qty",
"fieldname": "ordered_qty",
"fieldtype": "Currency",
"permlevel": 1
},
{
"print_hide": 1,
"no_copy": 1,
"doctype": "DocField",
"label": "Sales Order No",
"permlevel": 1,
"fieldname": "sales_order_no",
"fieldtype": "Link",
"options": "Sales Order"
},
{
"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
}
]

View File

@@ -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'
},
# 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
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Quality Inspection',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# 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'
},
# DocType, Quality Inspection
{
'doctype': 'DocType',
'name': u'Quality Inspection'
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'submit': 1,
'write': 1
},
# 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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
},
# 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
},
# 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'
},
# 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
},
# 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'
},
# 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
},
# 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'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
},
# 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
},
# 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
},
# 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'
},
# 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
},
# 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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'remarks',
'fieldtype': u'Text',
'label': u'Remarks',
'no_copy': 1,
'oldfieldname': u'remarks',
'oldfieldtype': u'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
},
# 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
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amendment_date',
'fieldtype': u'Date',
'label': u'Amendment Date',
'no_copy': 1,
'oldfieldname': u'amendment_date',
'oldfieldtype': u'Date',
'permlevel': 1,
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'specification_details',
'fieldtype': u'Section Break',
'label': u'Specification Details',
'oldfieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'get_specification_details',
'fieldtype': u'Button',
'label': u'Get Specification Details',
'options': u'get_item_specification_details',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'qa_specification_details',
'fieldtype': u'Table',
'label': u'Quality Inspection Readings',
'oldfieldname': u'qa_specification_details',
'oldfieldtype': u'Table',
'options': u'Quality Inspection Reading',
'permlevel': 0
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:51",
"modified_by": "Administrator",
"modified": "2012-03-27 14:45:50"
},
{
"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
},
{
"name": "__common__",
"parent": "Quality Inspection",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Quality Inspection",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"role": "Quality Manager",
"parentfield": "permissions"
},
{
"name": "Quality Inspection",
"doctype": "DocType"
},
{
"permlevel": 1,
"doctype": "DocPerm"
},
{
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"cancel": 1,
"permlevel": 0
},
{
"no_copy": 0,
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "QA Inspection",
"fieldname": "qa_inspection",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"no_copy": 1,
"doctype": "DocField",
"label": "Naming Series",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"options": "\nQAI/11-12/"
},
{
"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
},
{
"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
},
{
"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
},
{
"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
},
{
"search_index": 0,
"doctype": "DocField",
"label": "Description",
"oldfieldname": "description",
"width": "300px",
"fieldname": "description",
"fieldtype": "Small Text",
"oldfieldtype": "Small Text",
"permlevel": 0,
"in_filter": 1
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 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"
},
{
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Batch No",
"oldfieldname": "batch_no",
"permlevel": 0,
"fieldname": "batch_no",
"fieldtype": "Link",
"options": "Batch"
},
{
"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
},
{
"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
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Inspected By",
"oldfieldname": "inspected_by",
"fieldname": "inspected_by",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
{
"no_copy": 1,
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Remarks",
"oldfieldname": "remarks",
"fieldname": "remarks",
"fieldtype": "Text",
"permlevel": 0
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Verified By",
"oldfieldname": "verified_by",
"fieldname": "verified_by",
"fieldtype": "Data",
"permlevel": 0
},
{
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Amended From",
"oldfieldname": "amended_from",
"fieldname": "amended_from",
"fieldtype": "Data",
"permlevel": 1
},
{
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Amendment Date",
"oldfieldname": "amendment_date",
"fieldname": "amendment_date",
"fieldtype": "Date",
"permlevel": 1
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Specification Details",
"permlevel": 0,
"fieldname": "specification_details",
"fieldtype": "Section Break",
"options": "Simple"
},
{
"doctype": "DocField",
"options": "get_item_specification_details",
"fieldname": "get_specification_details",
"fieldtype": "Button",
"label": "Get Specification Details",
"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"
}
]

View File

@@ -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'
},
# 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
},
# 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
},
# DocType, Quality Inspection Reading
{
'doctype': 'DocType',
'name': u'Quality Inspection Reading'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'specification',
'fieldtype': u'Data',
'label': u'Parameter',
'oldfieldname': u'specification',
'oldfieldtype': u'Data',
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'value',
'fieldtype': u'Data',
'label': u'Acceptance Criteria',
'oldfieldname': u'value',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_1',
'fieldtype': u'Data',
'label': u'Reading 1',
'oldfieldname': u'reading_1',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_2',
'fieldtype': u'Data',
'label': u'Reading 2',
'oldfieldname': u'reading_2',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_3',
'fieldtype': u'Data',
'label': u'Reading 3',
'oldfieldname': u'reading_3',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_4',
'fieldtype': u'Data',
'label': u'Reading 4',
'oldfieldname': u'reading_4',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_5',
'fieldtype': u'Data',
'label': u'Reading 5',
'oldfieldname': u'reading_5',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_6',
'fieldtype': u'Data',
'label': u'Reading 6',
'oldfieldname': u'reading_6',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_7',
'fieldtype': u'Data',
'label': u'Reading 7',
'oldfieldname': u'reading_7',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_8',
'fieldtype': u'Data',
'label': u'Reading 8',
'oldfieldname': u'reading_8',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_9',
'fieldtype': u'Data',
'label': u'Reading 9',
'oldfieldname': u'reading_9',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'reading_10',
'fieldtype': u'Data',
'label': u'Reading 10',
'oldfieldname': u'reading_10',
'oldfieldtype': u'Data'
},
# DocField
{
'default': u'Accepted',
'doctype': u'DocField',
'fieldname': u'status',
'fieldtype': u'Select',
'label': u'Status',
'oldfieldname': u'status',
'oldfieldtype': u'Select',
'options': u'Accepted\nRejected'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:52",
"modified_by": "Administrator",
"modified": "2012-03-27 14:35:52"
},
{
"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
},
{
"name": "__common__",
"parent": "Quality Inspection Reading",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "Quality Inspection Reading",
"doctype": "DocType"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Parameter",
"oldfieldname": "specification",
"fieldname": "specification",
"fieldtype": "Data",
"reqd": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Acceptance Criteria",
"oldfieldname": "value",
"fieldname": "value",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 1",
"oldfieldname": "reading_1",
"fieldname": "reading_1",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 2",
"oldfieldname": "reading_2",
"fieldname": "reading_2",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 3",
"oldfieldname": "reading_3",
"fieldname": "reading_3",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 4",
"oldfieldname": "reading_4",
"fieldname": "reading_4",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 5",
"oldfieldname": "reading_5",
"fieldname": "reading_5",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 6",
"oldfieldname": "reading_6",
"fieldname": "reading_6",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 7",
"oldfieldname": "reading_7",
"fieldname": "reading_7",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 8",
"oldfieldname": "reading_8",
"fieldname": "reading_8",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 9",
"oldfieldname": "reading_9",
"fieldname": "reading_9",
"fieldtype": "Data"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Reading 10",
"oldfieldname": "reading_10",
"fieldname": "reading_10",
"fieldtype": "Data"
},
{
"default": "Accepted",
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"fieldname": "status",
"fieldtype": "Select",
"options": "Accepted\nRejected"
}
]

View File

@@ -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
},

View File

@@ -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
},
{

View File

@@ -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'
},
# 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'
},
# Page, buying-home
{
'doctype': 'Page',
'name': u'buying-home'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-02-21 13:22:54",
"modified_by": "Administrator",
"modified": "2012-02-21 13:22:54"
},
{
"name": "__common__",
"title": "Buying Home",
"module": "Buying",
"doctype": "Page",
"page_name": "buying-home",
"standard": "Yes"
},
{
"name": "buying-home",
"doctype": "Page"
}
]

View File

@@ -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'
},
# 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'
},
# 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'
},
# Page, purchase-analytics
{
u'doctype': u'Page',
u'name': u'purchase-analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Purchase Manager'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-09-21 20:15:16",
"modified_by": "Administrator",
"modified": "2012-10-04 17:24:17"
},
{
"name": "__common__",
"title": "Purchase Analytics",
"module": "Buying",
"doctype": "Page",
"page_name": "purchase-analytics",
"standard": "Yes"
},
{
"name": "__common__",
"parent": "purchase-analytics",
"doctype": "Page Role",
"parenttype": "Page",
"parentfield": "roles"
},
{
"name": "purchase-analytics",
"doctype": "Page"
},
{
"role": "Analytics",
"doctype": "Page Role"
},
{
"role": "Purchase Manager",
"doctype": "Page Role"
}
]

View File

@@ -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'
},
# 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'
},
# Report, Supplier Quotations
{
'doctype': 'Report',
'name': u'Supplier Quotations'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-08-07 14:52:42",
"modified_by": "Administrator",
"modified": "2012-12-03 17:10:41"
},
{
"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\"}"
},
{
"name": "Supplier Quotations",
"doctype": "Report"
}
]

View File

@@ -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'
},
# 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'
},
# Search Criteria, itemwise_purchase_details
{
'doctype': 'Search Criteria',
'name': u'itemwise_purchase_details'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-11 13:16:55",
"modified_by": "Administrator",
"modified": "2012-04-13 11:15:06"
},
{
"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"
},
{
"name": "itemwise_purchase_details",
"doctype": "Search Criteria"
}
]

View File

@@ -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'
},
# 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'
},
# Search Criteria, pending_po_items_to_bill
{
'doctype': 'Search Criteria',
'name': u'pending_po_items_to_bill'
}
{
"owner": "dhanalekshmi@webnotestech.com",
"docstatus": 0,
"creation": "2012-04-03 12:49:51",
"modified_by": "Administrator",
"modified": "2012-04-03 12:49:51"
},
{
"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"
},
{
"name": "pending_po_items_to_bill",
"doctype": "Search Criteria"
}
]

View File

@@ -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'
},
# 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'
},
# Search Criteria, pending_po_items_to_receive
{
'doctype': 'Search Criteria',
'name': u'pending_po_items_to_receive'
}
{
"owner": "dhanalekshmi@webnotestech.com",
"docstatus": 0,
"creation": "2012-04-03 12:49:52",
"modified_by": "Administrator",
"modified": "2012-04-03 12:49:52"
},
{
"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"
},
{
"name": "pending_po_items_to_receive",
"doctype": "Search Criteria"
}
]

View File

@@ -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'
},
# 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'
},
# Search Criteria, purchase_in_transit
{
'doctype': 'Search Criteria',
'name': u'purchase_in_transit'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-11 13:16:55",
"modified_by": "Administrator",
"modified": "2012-04-13 12:06:15"
},
{
"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"
},
{
"name": "purchase_in_transit",
"doctype": "Search Criteria"
}
]