mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
patch for enabling all price list
This commit is contained in:
9
patches/1401/enable_all_price_list.py
Normal file
9
patches/1401/enable_all_price_list.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Copyright (c) 2014, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||||
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
import webnotes
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
webnotes.reload_doc("stock", "doctype", "price_list")
|
||||||
|
webnotes.conn.sql("""update `tabPrice List` set enabled=1""")
|
||||||
@@ -266,5 +266,5 @@ patch_list = [
|
|||||||
"patches.1401.p01_move_related_property_setters_to_custom_field",
|
"patches.1401.p01_move_related_property_setters_to_custom_field",
|
||||||
"patches.1401.p01_make_buying_selling_as_check_box_in_price_list",
|
"patches.1401.p01_make_buying_selling_as_check_box_in_price_list",
|
||||||
"patches.1401.update_billing_status_for_zero_value_order",
|
"patches.1401.update_billing_status_for_zero_value_order",
|
||||||
"execute:webnotes.reload_doc('stock', 'doctype', 'price_list') #2014-01-20",
|
"patches.1401.enable_all_price_list",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user