mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[fix] [minor] merge conflict fixed
This commit is contained in:
9
patches/september_2013/p03_update_stock_uom_in_sle.py
Normal file
9
patches/september_2013/p03_update_stock_uom_in_sle.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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.conn.sql("""update `tabStock Ledger Entry` sle, tabItem i
|
||||
set sle.stock_uom = i.stock_uom
|
||||
where sle.item_code = i.name and ifnull(sle.stock_uom, '') = ''""")
|
||||
Reference in New Issue
Block a user