mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix: stock reco test case
This commit is contained in:
@@ -240,6 +240,7 @@ def create_batch_or_serial_no_items():
|
|||||||
def create_stock_reconciliation(**args):
|
def create_stock_reconciliation(**args):
|
||||||
args = frappe._dict(args)
|
args = frappe._dict(args)
|
||||||
sr = frappe.new_doc("Stock Reconciliation")
|
sr = frappe.new_doc("Stock Reconciliation")
|
||||||
|
sr.purpose = args.purpose or "Stock Reconciliation"
|
||||||
sr.posting_date = args.posting_date or nowdate()
|
sr.posting_date = args.posting_date or nowdate()
|
||||||
sr.posting_time = args.posting_time or nowtime()
|
sr.posting_time = args.posting_time or nowtime()
|
||||||
sr.set_posting_time = 1
|
sr.set_posting_time = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user