Merge pull request #4315 from rmehta/standard-in-web-form
Web form, make standard
This commit is contained in:
commit
34af16140e
@ -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.fix_website_image
|
||||||
erpnext.patches.v6_6.remove_fiscal_year_from_leave_allocation
|
erpnext.patches.v6_6.remove_fiscal_year_from_leave_allocation
|
||||||
execute:frappe.delete_doc_if_exists("DocType", "Stock UOM Replace Utility")
|
execute:frappe.delete_doc_if_exists("DocType", "Stock UOM Replace Utility")
|
||||||
|
erpnext.patches.v6_8.make_webform_standard
|
||||||
|
0
erpnext/patches/v6_8/__init__.py
Normal file
0
erpnext/patches/v6_8/__init__.py
Normal file
9
erpnext/patches/v6_8/make_webform_standard.py
Normal file
9
erpnext/patches/v6_8/make_webform_standard.py
Normal 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()
|
@ -9,6 +9,7 @@
|
|||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "Web Form",
|
"doctype": "Web Form",
|
||||||
"introduction_text": null,
|
"introduction_text": null,
|
||||||
|
"is_standard": 1,
|
||||||
"login_required": 1,
|
"login_required": 1,
|
||||||
"modified": "2015-06-01 06:53:43.699336",
|
"modified": "2015-06-01 06:53:43.699336",
|
||||||
"name": "addresses",
|
"name": "addresses",
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"doc_type": "Issue",
|
"doc_type": "Issue",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"doctype": "Web Form",
|
"doctype": "Web Form",
|
||||||
|
"is_standard": 1,
|
||||||
"introduction_text": null,
|
"introduction_text": null,
|
||||||
"login_required": 1,
|
"login_required": 1,
|
||||||
"modified": "2015-06-01 08:14:26.350792",
|
"modified": "2015-06-01 08:14:26.350792",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user