mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 12:08:26 +00:00
[fix] [minor] perpetual inventory: account for each warehouse
This commit is contained in:
@@ -106,8 +106,9 @@ class DocType:
|
||||
})
|
||||
global_defaults.save()
|
||||
|
||||
webnotes.conn.set_value("Accounts Settings", None, "auto_accounting_for_stock", 1)
|
||||
webnotes.conn.set_default("auto_accounting_for_stock", 1)
|
||||
accounts_settings = webnotes.bean("Accounts Settings")
|
||||
accounts_settings.doc.auto_accounting_for_stock = 1
|
||||
accounts_settings.save()
|
||||
|
||||
stock_settings = webnotes.bean("Stock Settings")
|
||||
stock_settings.doc.item_naming_by = "Item Code"
|
||||
|
||||
Reference in New Issue
Block a user