[patch] [minor] perpetual inventory stock transfer utility
This commit is contained in:
parent
27c9ecc538
commit
5f8477d4ef
@ -39,8 +39,8 @@ def execute():
|
||||
|
||||
if item_details.has_serial_no == "Yes":
|
||||
serial_no = "\n".join([d[0] for d in webnotes.conn.sql("""select name
|
||||
from `tabSerial No` where item_code = %s and warehouse = %s""",
|
||||
(bin.item_code, bin.warehouse))])
|
||||
from `tabSerial No` where item_code = %s and warehouse = %s
|
||||
and status='Available'""", (bin.item_code, bin.warehouse))])
|
||||
else:
|
||||
serial_no = None
|
||||
|
||||
|
@ -42,7 +42,7 @@ class DocType(StockController):
|
||||
self.validate_warehouse(pro_obj)
|
||||
self.validate_production_order(pro_obj)
|
||||
self.get_stock_and_rate()
|
||||
self.validate_incoming_rate()
|
||||
# self.validate_incoming_rate()
|
||||
self.validate_bom()
|
||||
self.validate_finished_goods()
|
||||
self.validate_return_reference_doc()
|
||||
|
Loading…
x
Reference in New Issue
Block a user