Merge pull request #4315 from rmehta/standard-in-web-form

Web form, make standard
This commit is contained in:
Anand Doshi 2015-11-16 16:24:14 +05:30
commit 34af16140e
5 changed files with 202 additions and 190 deletions

View File

@ -232,3 +232,4 @@ execute:frappe.delete_doc_if_exists("Report", "Item-wise Last Purchase Rate")
erpnext.patches.v6_6.fix_website_image
erpnext.patches.v6_6.remove_fiscal_year_from_leave_allocation
execute:frappe.delete_doc_if_exists("DocType", "Stock UOM Replace Utility")
erpnext.patches.v6_8.make_webform_standard

View File

View File

@ -0,0 +1,9 @@
import frappe
def execute():
frappe.reload_doctype("Web Form")
frappe.delete_doc("Web Form", "Issues")
frappe.delete_doc("Web Form", "Addresses")
from erpnext.setup.install import add_web_forms
add_web_forms()

View File

@ -9,6 +9,7 @@
"docstatus": 0,
"doctype": "Web Form",
"introduction_text": null,
"is_standard": 1,
"login_required": 1,
"modified": "2015-06-01 06:53:43.699336",
"name": "addresses",

View File

@ -8,6 +8,7 @@
"doc_type": "Issue",
"docstatus": 0,
"doctype": "Web Form",
"is_standard": 1,
"introduction_text": null,
"login_required": 1,
"modified": "2015-06-01 08:14:26.350792",