2020-06-15 17:38:47 +05:30
|
|
|
# Copyright (c) 2017, Frappe and Contributors
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2021-09-02 16:44:59 +05:30
|
|
|
|
2020-06-15 17:38:47 +05:30
|
|
|
import frappe
|
2021-09-02 16:44:59 +05:30
|
|
|
|
2020-06-15 17:38:47 +05:30
|
|
|
|
|
|
|
def execute():
|
|
|
|
frappe.reload_doc('buying', 'doctype', 'request_for_quotation_item')
|
|
|
|
|
2020-06-18 14:43:31 +05:30
|
|
|
frappe.db.sql("""UPDATE `tabRequest for Quotation Item`
|
2020-06-15 17:38:47 +05:30
|
|
|
SET
|
2020-06-18 14:43:31 +05:30
|
|
|
stock_uom = uom,
|
|
|
|
conversion_factor = 1,
|
|
|
|
stock_qty = qty""")
|