mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
queries to server side
This commit is contained in:
@@ -2,8 +2,8 @@ wn.provide("erpnext.projects");
|
||||
|
||||
erpnext.projects.TimeLog = wn.ui.form.Controller.extend({
|
||||
setup: function() {
|
||||
this.frm.set_query("task", erpnext.queries.task);
|
||||
}
|
||||
});
|
||||
this.frm.set_query("task", function() {
|
||||
return { query: "projects.utils.query_task" }
|
||||
});
|
||||
|
||||
cur_frm.cscript = new erpnext.projects.TimeLog({frm: cur_frm});
|
||||
Reference in New Issue
Block a user