mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-11 21:51:48 +00:00
fix: correct typo in allow_negative_stock parameter
(cherry picked from commit b3a616c328)
This commit is contained in:
@@ -214,7 +214,7 @@ def create_reposting_entries(rows: str | list, company: str):
|
|||||||
"posting_date": sle.posting_date,
|
"posting_date": sle.posting_date,
|
||||||
"posting_time": sle.posting_time,
|
"posting_time": sle.posting_time,
|
||||||
"company": company,
|
"company": company,
|
||||||
"allow_nagative_stock": 1,
|
"allow_negative_stock": 1,
|
||||||
}
|
}
|
||||||
).submit()
|
).submit()
|
||||||
|
|
||||||
@@ -260,7 +260,7 @@ def repost_based_on_transaction(rows, company=None, entries=None):
|
|||||||
"posting_date": row.get("posting_date"),
|
"posting_date": row.get("posting_date"),
|
||||||
"posting_time": row.get("posting_time"),
|
"posting_time": row.get("posting_time"),
|
||||||
"company": company,
|
"company": company,
|
||||||
"allow_nagative_stock": 1,
|
"allow_negative_stock": 1,
|
||||||
"recalculate_valuation_rate": 1,
|
"recalculate_valuation_rate": 1,
|
||||||
}
|
}
|
||||||
).submit()
|
).submit()
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ def create_reposting_entries(rows, item_code=None, warehouse=None):
|
|||||||
"warehouse": warehouse or row.warehouse,
|
"warehouse": warehouse or row.warehouse,
|
||||||
"posting_date": row.posting_date,
|
"posting_date": row.posting_date,
|
||||||
"posting_time": row.posting_time,
|
"posting_time": row.posting_time,
|
||||||
"allow_nagative_stock": 1,
|
"allow_negative_stock": 1,
|
||||||
}
|
}
|
||||||
).submit()
|
).submit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user