mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
[naming series] create, remove Property Setters to set naming fixes webnotes/erpnext#854
This commit is contained in:
10
patches/october_2013/p09_update_naming_series_settings.py
Normal file
10
patches/october_2013/p09_update_naming_series_settings.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
# reset property setters for series
|
||||
for name in ("Stock Settings", "Selling Settings", "Buying Settings", "HR Settings"):
|
||||
webnotes.bean(name, name).save()
|
||||
@@ -228,4 +228,5 @@ patch_list = [
|
||||
"patches.october_2013.repost_planned_qty",
|
||||
"patches.october_2013.p06_rename_packing_list_doctype",
|
||||
"execute:webnotes.delete_doc('DocType', 'Sales Common')",
|
||||
"patches.october_2013.p09_update_naming_series_settings",
|
||||
]
|
||||
Reference in New Issue
Block a user