mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
refactor: rewrite raw sql queries with frappe.qb and database API
This commit is contained in:
@@ -6,6 +6,7 @@ from frappe import _
|
||||
from frappe.utils import cstr, getdate
|
||||
|
||||
|
||||
# nosemgrep
|
||||
def set_default_settings(args):
|
||||
# enable default currency
|
||||
frappe.db.set_value("Currency", args.get("currency"), "enabled", 1)
|
||||
|
||||
Reference in New Issue
Block a user