mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
[fix] [patch] fixed paid_amount & patch for default pos view check in features setup
This commit is contained in:
@@ -261,4 +261,5 @@ patch_list = [
|
||||
"execute:webnotes.reload_doc('accounts', 'Print Format', 'POS Invoice') # 2013-09-02",
|
||||
"patches.september_2013.p01_fix_buying_amount_gl_entries",
|
||||
"patches.september_2013.p01_update_communication",
|
||||
"patches.september_2013.p02_make_pos_view_checked_in_features_setup",
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
# 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():
|
||||
webnotes.reload_doc("setup", "doctype", "features_setup")
|
||||
fs = webnotes.bean("Features Setup")
|
||||
fs.doc.fs_pos_view = 1
|
||||
fs.save()
|
||||
Reference in New Issue
Block a user