Files
schuetz3-erpnext/erpnext/patches/v12_0/delete_priority_property_setter.py
Ankush Menat c07713b860 style: bulk format code with black
v13 port because otherwise backports will result in conflicts always
2022-03-29 17:29:34 +05:30

13 lines
239 B
Python

import frappe
def execute():
frappe.db.sql(
"""
DELETE FROM `tabProperty Setter`
WHERE `tabProperty Setter`.doc_type='Issue'
AND `tabProperty Setter`.field_name='priority'
AND `tabProperty Setter`.property='options'
"""
)