chore: remove dead and py2 compatibility code
form_grid_template doesn't exist
This commit is contained in:
parent
bb0b1e61d6
commit
b4e7ee0e45
@ -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
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
import frappe
|
import frappe
|
||||||
import json
|
import json
|
||||||
import math
|
import math
|
||||||
@ -30,9 +29,6 @@ class ItemHasVariantError(frappe.ValidationError): pass
|
|||||||
class SerialNoQtyError(frappe.ValidationError):
|
class SerialNoQtyError(frappe.ValidationError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
form_grid_templates = {
|
|
||||||
"operations": "templates/form_grid/work_order_grid.html"
|
|
||||||
}
|
|
||||||
|
|
||||||
class WorkOrder(Document):
|
class WorkOrder(Document):
|
||||||
def onload(self):
|
def onload(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user