fix: unrelated transation date typo

This commit is contained in:
anandbaburajan 2023-11-13 18:09:09 +05:30
parent 2f9e96e324
commit b097bb20d9

View File

@ -365,7 +365,7 @@ class BuyingController(SubcontractingController):
{
"item_code": d.item_code,
"warehouse": d.get("from_warehouse"),
"posting_date": self.get("posting_date") or self.get("transation_date"),
"posting_date": self.get("posting_date") or self.get("transaction_date"),
"posting_time": posting_time,
"qty": -1 * flt(d.get("stock_qty")),
"serial_and_batch_bundle": d.get("serial_and_batch_bundle"),