patch for enabling all price list

This commit is contained in:
Akhilesh Darjee 2014-01-20 16:39:03 +05:30
parent e82eee512b
commit 529709e08b
2 changed files with 10 additions and 1 deletions

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

View File

@ -266,5 +266,5 @@ patch_list = [
"patches.1401.p01_move_related_property_setters_to_custom_field",
"patches.1401.p01_make_buying_selling_as_check_box_in_price_list",
"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",
]