mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
[minor] renamed perpetual accounting to make_accounting_entry_for_every_stock_entry
This commit is contained in:
@@ -6,7 +6,7 @@ import webnotes
|
||||
from webnotes.utils import cint
|
||||
|
||||
def execute():
|
||||
aii_enabled = cint(webnotes.defaults.get_global_default("perpetual_accounting"))
|
||||
aii_enabled = cint(webnotes.defaults.get_global_default("auto_accounting_for_stock"))
|
||||
|
||||
if aii_enabled:
|
||||
webnotes.conn.sql("""update `tabGL Entry` gle set is_cancelled = 'Yes'
|
||||
|
||||
Reference in New Issue
Block a user