[Fix] Project not set in the stock ledger entry (#13357)
This commit is contained in:
committed by
Nabin Hait
parent
e010ddf65f
commit
93779c21a7
@@ -252,7 +252,7 @@ class StockController(AccountsController):
|
||||
"company": self.company,
|
||||
"batch_no": cstr(d.get("batch_no")).strip(),
|
||||
"serial_no": d.get("serial_no"),
|
||||
"project": d.get("project"),
|
||||
"project": d.get("project") or self.get('project'),
|
||||
"is_cancelled": self.docstatus==2 and "Yes" or "No"
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user