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):
|
||||
template = get_project_template()
|
||||
|
||||
frappe.db.sql('delete from tabTask where project = "Test Project with Template"')
|
||||
frappe.delete_doc('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')
|
||||
|
||||
project = frappe.get_doc(dict(
|
||||
doctype = 'Project',
|
||||
|
@ -2,7 +2,7 @@
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Project Template', {
|
||||
refresh: function(frm) {
|
||||
// refresh: function(frm) {
|
||||
|
||||
}
|
||||
// }
|
||||
});
|
||||
|
@ -3,7 +3,7 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class ProjectTemplate(Document):
|
||||
|
@ -1,5 +1,4 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
|
@ -3,7 +3,7 @@
|
||||
# For license information, please see license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class ProjectTemplateTask(Document):
|
||||
|
Loading…
x
Reference in New Issue
Block a user