chore: remove dead and py2 compatibility code

form_grid_template doesn't exist
This commit is contained in:
Ankush Menat 2021-05-25 17:40:59 +05:30
parent 58daf5f916
commit ff4aadc657
No known key found for this signature in database
GPG Key ID: 8EA82E09BBD13AAF

View File

@ -1,7 +1,6 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
import json
import math
@ -30,9 +29,6 @@ class ItemHasVariantError(frappe.ValidationError): pass
class SerialNoQtyError(frappe.ValidationError):
pass
form_grid_templates = {
"operations": "templates/form_grid/work_order_grid.html"
}
class WorkOrder(Document):
def onload(self):