mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
fixes in serial no patch
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
def execute():
|
def execute():
|
||||||
import webnotes
|
import webnotes
|
||||||
from webnotes.modules.module_manager import reload_doc
|
from webnotes.modules import reload_doc
|
||||||
reload_doc('stock', 'doctype', 'serial_no')
|
reload_doc('stock', 'doctype', 'serial_no')
|
||||||
|
|
||||||
webnotes.conn.sql("update `tabSerial No` set sle_exists = 1")
|
webnotes.conn.sql("update `tabSerial No` set sle_exists = 1")
|
||||||
|
|||||||
Reference in New Issue
Block a user