From 9a75530c26e3a3881628ca9f822f13b975813471 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 18 Mar 2016 16:19:13 +0530 Subject: [PATCH] [fix] reload doctype for renaming project --- .../doctype/purchase_invoice_item/purchase_invoice_item.json | 2 +- .../buying/doctype/purchase_order_item/purchase_order_item.json | 2 +- .../supplier_quotation_item/supplier_quotation_item.json | 2 +- erpnext/manufacturing/doctype/bom/bom.json | 2 +- .../doctype/production_order/production_order.json | 2 +- erpnext/patches/v6_20x/rename_project_name_to_project.py | 2 +- erpnext/stock/doctype/delivery_note/delivery_note.json | 2 +- .../doctype/purchase_receipt_item/purchase_receipt_item.json | 2 +- erpnext/stock/doctype/stock_entry/stock_entry.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json index 687b84bba52..ae44c1a4b75 100755 --- a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json +++ b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json @@ -1239,7 +1239,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-03-10 05:05:27.752823", + "modified": "2016-03-18 05:05:27.752823", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice Item", diff --git a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json index c481e01bcc9..aaf0ae8a369 100755 --- a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json +++ b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json @@ -1384,7 +1384,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-03-10 05:08:54.505417", + "modified": "2016-03-18 05:08:54.505417", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order Item", diff --git a/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json index 04a31f4bc16..b09667ba96c 100644 --- a/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json +++ b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json @@ -1046,7 +1046,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-03-10 05:15:03.936587", + "modified": "2016-03-18 05:15:03.936587", "modified_by": "Administrator", "module": "Buying", "name": "Supplier Quotation Item", diff --git a/erpnext/manufacturing/doctype/bom/bom.json b/erpnext/manufacturing/doctype/bom/bom.json index bf8c67ca34b..bd379e2a6b8 100644 --- a/erpnext/manufacturing/doctype/bom/bom.json +++ b/erpnext/manufacturing/doctype/bom/bom.json @@ -807,7 +807,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-03-10 05:09:50.749754", + "modified": "2016-03-18 05:09:50.749754", "modified_by": "Administrator", "module": "Manufacturing", "name": "BOM", diff --git a/erpnext/manufacturing/doctype/production_order/production_order.json b/erpnext/manufacturing/doctype/production_order/production_order.json index 35196de0d3b..02467ef5c38 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.json +++ b/erpnext/manufacturing/doctype/production_order/production_order.json @@ -1036,7 +1036,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-03-10 05:10:07.951138", + "modified": "2016-03-18 05:10:07.951138", "modified_by": "Administrator", "module": "Manufacturing", "name": "Production Order", diff --git a/erpnext/patches/v6_20x/rename_project_name_to_project.py b/erpnext/patches/v6_20x/rename_project_name_to_project.py index 8851451cb05..b420ce90131 100644 --- a/erpnext/patches/v6_20x/rename_project_name_to_project.py +++ b/erpnext/patches/v6_20x/rename_project_name_to_project.py @@ -12,6 +12,6 @@ def execute(): "Purchase Receipt Item", "Supplier Quotation Item"] for doctype in doc_list: - frappe.reload_doctype(doctype, force=True) + frappe.reload_doctype(doctype) rename_field(doctype, "project_name", "project") \ No newline at end of file diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json index 7fb5421c7d5..b4bb4565203 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.json +++ b/erpnext/stock/doctype/delivery_note/delivery_note.json @@ -2799,7 +2799,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2016-03-10 05:10:56.813113", + "modified": "2016-03-18 05:10:56.813113", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note", diff --git a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json index 678ee5afa11..b7e4f2dc20b 100755 --- a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json +++ b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json @@ -1715,7 +1715,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-03-10 05:11:15.937267", + "modified": "2016-03-18 05:11:15.937267", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt Item", diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.json b/erpnext/stock/doctype/stock_entry/stock_entry.json index 495900f08f7..2697fd0f6d3 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.json +++ b/erpnext/stock/doctype/stock_entry/stock_entry.json @@ -1431,7 +1431,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-03-07 08:37:08.747493", + "modified": "2016-03-18 08:37:08.747493", "modified_by": "Administrator", "module": "Stock", "name": "Stock Entry",