chore: remove dead and py2 compatibility code
form_grid_template doesn't exist
This commit is contained in:
parent
58daf5f916
commit
ff4aadc657
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user