[message] [fix] rewire to core
This commit is contained in:
parent
0a55be4edd
commit
46caedd078
2 changed files with 2 additions and 2 deletions
|
|
@ -146,6 +146,6 @@ def notify_assignment(assigned_by, owner, doc_type, doc_name, action='CLOSE', no
|
|||
}
|
||||
|
||||
arg["parenttype"] = "Assignment"
|
||||
from utilities.page.messages import messages
|
||||
from core.page.messages import messages
|
||||
import json
|
||||
messages.post(json.dumps(arg))
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ def execute(doctype, query=None, filters=None, fields=None, docstatus=None,
|
|||
query = """select %(fields)s from %(tables)s where %(conditions)s
|
||||
%(group_by)s order by %(order_by)s %(limit)s""" % args
|
||||
|
||||
return webnotes.conn.sql(query, as_dict=1, debug=1)
|
||||
return webnotes.conn.sql(query, as_dict=1)
|
||||
|
||||
def prepare_args(doctype, filters, fields, docstatus, group_by, order_by):
|
||||
global tables
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue