[fix] reload doctype for renaming project

This commit is contained in:
Nabin Hait 2016-03-18 16:19:13 +05:30
parent dcedac7f25
commit 9a75530c26
9 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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