Added Transactions for Import webnotes/erpnext#911
diff --git a/accounts/doctype/purchase_invoice/purchase_invoice.txt b/accounts/doctype/purchase_invoice/purchase_invoice.txt
index f5bdd93..8f77227 100755
--- a/accounts/doctype/purchase_invoice/purchase_invoice.txt
+++ b/accounts/doctype/purchase_invoice/purchase_invoice.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-05-21 16:16:39",
"docstatus": 0,
- "modified": "2013-08-09 14:45:35",
+ "modified": "2013-10-02 14:24:55",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"icon": "icon-file-text",
diff --git a/accounts/doctype/sales_invoice/sales_invoice.txt b/accounts/doctype/sales_invoice/sales_invoice.txt
index f921f24..3c9075d 100644
--- a/accounts/doctype/sales_invoice/sales_invoice.txt
+++ b/accounts/doctype/sales_invoice/sales_invoice.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-05-24 19:29:05",
"docstatus": 0,
- "modified": "2013-09-01 05:26:13",
+ "modified": "2013-10-02 14:24:52",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "naming_series:",
"default_print_format": "Standard",
"doctype": "DocType",
diff --git a/buying/doctype/purchase_order/purchase_order.txt b/buying/doctype/purchase_order/purchase_order.txt
index d3c1620..7169aaf 100644
--- a/buying/doctype/purchase_order/purchase_order.txt
+++ b/buying/doctype/purchase_order/purchase_order.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-05-21 16:16:39",
"docstatus": 0,
- "modified": "2013-09-12 18:34:54",
+ "modified": "2013-10-02 14:24:49",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"document_type": "Transaction",
@@ -132,7 +133,6 @@
"fieldtype": "Date",
"in_filter": 1,
"label": "Purchase Order Date",
- "no_copy": 1,
"oldfieldname": "transaction_date",
"oldfieldtype": "Date",
"reqd": 1,
diff --git a/buying/doctype/supplier_quotation/supplier_quotation.txt b/buying/doctype/supplier_quotation/supplier_quotation.txt
index 36747d3..ddd1730 100644
--- a/buying/doctype/supplier_quotation/supplier_quotation.txt
+++ b/buying/doctype/supplier_quotation/supplier_quotation.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-05-21 16:16:45",
"docstatus": 0,
- "modified": "2013-08-09 14:45:58",
+ "modified": "2013-10-02 14:24:44",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"document_type": "Transaction",
diff --git a/manufacturing/doctype/production_order/production_order.txt b/manufacturing/doctype/production_order/production_order.txt
index 782c99f..81821f6 100644
--- a/manufacturing/doctype/production_order/production_order.txt
+++ b/manufacturing/doctype/production_order/production_order.txt
@@ -2,11 +2,12 @@
{
"creation": "2013-01-10 16:34:16",
"docstatus": 0,
- "modified": "2013-08-08 14:22:12",
+ "modified": "2013-10-02 14:25:03",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"icon": "icon-cogs",
diff --git a/projects/doctype/project/project.txt b/projects/doctype/project/project.txt
index 91dcfa1..fc8accf 100644
--- a/projects/doctype/project/project.txt
+++ b/projects/doctype/project/project.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-03-07 11:55:07",
"docstatus": 0,
- "modified": "2013-07-05 14:51:41",
+ "modified": "2013-10-02 14:25:02",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "field:project_name",
"doctype": "DocType",
"document_type": "Master",
diff --git a/projects/doctype/task/task.txt b/projects/doctype/task/task.txt
index d890bd6..1c12c8a 100644
--- a/projects/doctype/task/task.txt
+++ b/projects/doctype/task/task.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-01-29 19:25:50",
"docstatus": 0,
- "modified": "2013-07-05 14:57:57",
+ "modified": "2013-10-02 14:25:00",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "TASK.#####",
"doctype": "DocType",
"document_type": "Master",
diff --git a/selling/doctype/lead/lead.txt b/selling/doctype/lead/lead.txt
index d96880b..9439e78 100644
--- a/selling/doctype/lead/lead.txt
+++ b/selling/doctype/lead/lead.txt
@@ -2,11 +2,12 @@
{
"creation": "2013-04-10 11:45:37",
"docstatus": 0,
- "modified": "2013-09-19 10:38:58",
+ "modified": "2013-10-02 14:24:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"document_type": "Master",
@@ -158,76 +159,8 @@
"doctype": "DocField",
"fieldname": "communication_history",
"fieldtype": "Section Break",
- "label": "Communication",
- "options": "icon-comments",
- "print_hide": 1
- },
- {
- "default": "__user",
- "doctype": "DocField",
- "fieldname": "lead_owner",
- "fieldtype": "Link",
- "in_filter": 1,
- "label": "Lead Owner",
- "oldfieldname": "lead_owner",
- "oldfieldtype": "Link",
- "options": "Profile",
- "search_index": 1
- },
- {
- "depends_on": "eval:!doc.__islocal",
- "description": "Date on which the lead was last contacted",
- "doctype": "DocField",
- "fieldname": "last_contact_date",
- "fieldtype": "Date",
- "label": "Last Contact Date",
- "no_copy": 1,
- "oldfieldname": "last_contact_date",
- "oldfieldtype": "Date",
- "print_hide": 1,
- "read_only": 1
- },
- {
- "doctype": "DocField",
- "fieldname": "col_break123",
- "fieldtype": "Column Break",
- "width": "50%"
- },
- {
- "allow_on_submit": 0,
- "description": "Your sales person who will contact the lead in future",
- "doctype": "DocField",
- "fieldname": "contact_by",
- "fieldtype": "Link",
- "hidden": 0,
- "in_filter": 1,
- "label": "Next Contact By",
- "oldfieldname": "contact_by",
- "oldfieldtype": "Link",
- "options": "Profile",
- "print_hide": 0,
- "reqd": 0,
- "width": "100px"
- },
- {
- "allow_on_submit": 0,
- "description": "Your sales person will get a reminder on this date to contact the lead",
- "doctype": "DocField",
- "fieldname": "contact_date",
- "fieldtype": "Date",
- "in_filter": 1,
- "label": "Next Contact Date",
- "no_copy": 1,
- "oldfieldname": "contact_date",
- "oldfieldtype": "Date",
- "reqd": 0,
- "width": "100px"
- },
- {
- "doctype": "DocField",
- "fieldname": "sec_break123",
- "fieldtype": "Section Break",
- "options": "Simple"
+ "label": "Communication History",
+ "options": "icon-comments"
},
{
"allow_on_submit": 0,
@@ -236,8 +169,7 @@
"fieldtype": "HTML",
"label": "Communication HTML",
"oldfieldname": "follow_up",
- "oldfieldtype": "Table",
- "print_hide": 1
+ "oldfieldtype": "Table"
},
{
"doctype": "DocField",
@@ -342,6 +274,18 @@
"options": "\nClient\nChannel Partner\nConsultant"
},
{
+ "default": "__user",
+ "doctype": "DocField",
+ "fieldname": "lead_owner",
+ "fieldtype": "Link",
+ "in_filter": 1,
+ "label": "Lead Owner",
+ "oldfieldname": "lead_owner",
+ "oldfieldtype": "Link",
+ "options": "Profile",
+ "search_index": 1
+ },
+ {
"doctype": "DocField",
"fieldname": "market_segment",
"fieldtype": "Select",
@@ -403,6 +347,49 @@
"options": "Quotation Lost Reason"
},
{
+ "allow_on_submit": 0,
+ "description": "Your sales person who will contact the lead in future",
+ "doctype": "DocField",
+ "fieldname": "contact_by",
+ "fieldtype": "Link",
+ "hidden": 0,
+ "in_filter": 1,
+ "label": "Next Contact By",
+ "oldfieldname": "contact_by",
+ "oldfieldtype": "Link",
+ "options": "Profile",
+ "print_hide": 0,
+ "reqd": 0,
+ "width": "100px"
+ },
+ {
+ "allow_on_submit": 0,
+ "description": "Your sales person will get a reminder on this date to contact the lead",
+ "doctype": "DocField",
+ "fieldname": "contact_date",
+ "fieldtype": "Date",
+ "in_filter": 1,
+ "label": "Next Contact Date",
+ "no_copy": 1,
+ "oldfieldname": "contact_date",
+ "oldfieldtype": "Date",
+ "reqd": 0,
+ "width": "100px"
+ },
+ {
+ "depends_on": "eval:!doc.__islocal",
+ "description": "Date on which the lead was last contacted",
+ "doctype": "DocField",
+ "fieldname": "last_contact_date",
+ "fieldtype": "Date",
+ "label": "Last Contact Date",
+ "no_copy": 1,
+ "oldfieldname": "last_contact_date",
+ "oldfieldtype": "Date",
+ "print_hide": 1,
+ "read_only": 1
+ },
+ {
"doctype": "DocField",
"fieldname": "company",
"fieldtype": "Link",
@@ -430,8 +417,7 @@
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
- "options": "Communication",
- "print_hide": 1
+ "options": "Communication"
},
{
"cancel": 1,
diff --git a/selling/doctype/opportunity/opportunity.txt b/selling/doctype/opportunity/opportunity.txt
index a904f56..d39b3ef 100644
--- a/selling/doctype/opportunity/opportunity.txt
+++ b/selling/doctype/opportunity/opportunity.txt
@@ -2,11 +2,12 @@
{
"creation": "2013-03-07 18:50:30",
"docstatus": 0,
- "modified": "2013-09-10 10:52:49",
+ "modified": "2013-10-02 14:24:35",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
+ "allow_import": 1,
"autoname": "naming_series:",
"description": "Potential Sales Deal",
"doctype": "DocType",
@@ -168,7 +169,6 @@
"label": "Communication History",
"oldfieldtype": "Section Break",
"options": "icon-comments",
- "print_hide": 1,
"read_only": 0
},
{
@@ -179,7 +179,6 @@
"label": "Communication HTML",
"oldfieldname": "follow_up",
"oldfieldtype": "Table",
- "print_hide": 1,
"read_only": 0
},
{
@@ -450,8 +449,7 @@
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
- "options": "Communication",
- "print_hide": 1
+ "options": "Communication"
},
{
"doctype": "DocPerm",
diff --git a/selling/doctype/quotation/quotation.txt b/selling/doctype/quotation/quotation.txt
index 3f97c98..200627f 100644
--- a/selling/doctype/quotation/quotation.txt
+++ b/selling/doctype/quotation/quotation.txt
@@ -2,13 +2,14 @@
{
"creation": "2013-05-24 19:29:08",
"docstatus": 0,
- "modified": "2013-09-10 10:46:33",
+ "modified": "2013-10-02 14:24:35",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
"allow_email": 0,
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"document_type": "Transaction",
@@ -841,8 +842,7 @@
"fieldtype": "Table",
"hidden": 1,
"label": "Communications",
- "options": "Communication",
- "print_hide": 1
+ "options": "Communication"
},
{
"amend": 1,
diff --git a/selling/doctype/sales_order/sales_order.txt b/selling/doctype/sales_order/sales_order.txt
index 94e6388..366aa8e 100644
--- a/selling/doctype/sales_order/sales_order.txt
+++ b/selling/doctype/sales_order/sales_order.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-06-18 12:39:59",
"docstatus": 0,
- "modified": "2013-08-09 14:46:17",
+ "modified": "2013-10-02 14:24:37",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"document_type": "Transaction",
diff --git a/stock/doctype/material_request/material_request.txt b/stock/doctype/material_request/material_request.txt
index a5f092d..5fd576a 100644
--- a/stock/doctype/material_request/material_request.txt
+++ b/stock/doctype/material_request/material_request.txt
@@ -2,12 +2,13 @@
{
"creation": "2013-03-07 14:48:38",
"docstatus": 0,
- "modified": "2013-08-08 14:22:27",
+ "modified": "2013-10-02 14:24:42",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
+ "allow_import": 1,
"allow_print": 0,
"autoname": "naming_series:",
"doctype": "DocType",