[fix] [time log] syntax error
This commit is contained in:
parent
3af8f8a136
commit
97bde682f1
@ -1,9 +1,9 @@
|
||||
wn.provide("erpnext.projects");
|
||||
|
||||
erpnext.projects.TimeLog = wn.ui.form.Controller.extend({
|
||||
setup: function() {
|
||||
this.frm.set_query("task", function() {
|
||||
return { query: "projects.utils.query_task" }
|
||||
});
|
||||
onload: function() {
|
||||
this.frm.set_query("task", erpnext.queries.task);
|
||||
}
|
||||
});
|
||||
|
||||
cur_frm.cscript = new erpnext.projects.TimeLog({frm: cur_frm});
|
Loading…
x
Reference in New Issue
Block a user