mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
model_wrapper is now bean, refactoring defaults
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
import webnotes
|
||||
from webnotes.model.wrapper import ModelWrapper
|
||||
ModelWrapper("Website Settings", "Website Settings").save()
|
||||
from webnotes.model.bean import Bean
|
||||
Bean("Website Settings", "Website Settings").save()
|
||||
Reference in New Issue
Block a user