mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
[perpetual accounting] gl entries based on stock_value difference in sl entries
This commit is contained in:
@@ -61,10 +61,9 @@ class DocType:
|
||||
wh = {
|
||||
"doctype":"Warehouse",
|
||||
"warehouse_name": whname,
|
||||
"company": self.doc.name
|
||||
"company": self.doc.name,
|
||||
}
|
||||
if cint(webnotes.defaults.get_global_default("perpetual_accounting")):
|
||||
wh.update({"account": "Stock In Hand - " + self.doc.abbr})
|
||||
wh.update({"account": "Stock In Hand - " + self.doc.abbr})
|
||||
|
||||
webnotes.bean(wh).insert()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user