fix: linting
This commit is contained in:
parent
e9984672ce
commit
2d2d176e5c
@ -14,8 +14,8 @@ class TestProject(unittest.TestCase):
|
|||||||
def test_project_with_template(self):
|
def test_project_with_template(self):
|
||||||
template = get_project_template()
|
template = get_project_template()
|
||||||
|
|
||||||
frappe.db.sql('delete from tabTask where project = "Test Project with Template"')
|
# frappe.db.sql('delete from tabTask where project = "Test Project with Template"')
|
||||||
frappe.delete_doc('Project', 'Test Project with Template')
|
# frappe.delete_doc('Project', 'Test Project with Template')
|
||||||
|
|
||||||
project = frappe.get_doc(dict(
|
project = frappe.get_doc(dict(
|
||||||
doctype = 'Project',
|
doctype = 'Project',
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on('Project Template', {
|
frappe.ui.form.on('Project Template', {
|
||||||
refresh: function(frm) {
|
// refresh: function(frm) {
|
||||||
|
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
# import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
class ProjectTemplate(Document):
|
class ProjectTemplate(Document):
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from frappe import _
|
|
||||||
|
|
||||||
def get_data():
|
def get_data():
|
||||||
return {
|
return {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# For license information, please see license.txt
|
# For license information, please see license.txt
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
# import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
class ProjectTemplateTask(Document):
|
class ProjectTemplateTask(Document):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user