feat: added step complete API
This commit is contained in:
parent
08956ebc8d
commit
98f1866cef
1 changed files with 5 additions and 0 deletions
|
|
@ -451,3 +451,8 @@ def prepare_widget(config, doctype, parentfield):
|
|||
|
||||
prepare_widget_list.append(doc)
|
||||
return prepare_widget_list
|
||||
|
||||
@frappe.whitelist()
|
||||
def complete_onboarding_step(name):
|
||||
frappe.db.set_value("Desk Onboarding", name, 'is_complete', 1)
|
||||
return
|
||||
Loading…
Add table
Reference in a new issue