mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
model_wrapper is now bean, refactoring defaults
This commit is contained in:
@@ -23,7 +23,7 @@ def move_remarks_to_comments():
|
||||
where ifnull(remark, '')!=''""")
|
||||
fullname_map = {}
|
||||
for reco, remark, modified_by in result:
|
||||
webnotes.model_wrapper([{
|
||||
webnotes.bean([{
|
||||
"doctype": "Comment",
|
||||
"comment": remark,
|
||||
"comment_by": modified_by,
|
||||
|
||||
Reference in New Issue
Block a user