Files
schuetz3-erpnext/erpnext/patches/v5_0/item_patches.py
marination a0bbe7fea7 fix: Sider and Patches
- Sider fixes
- Deleted patches that worked as per old schema
- Cleared instances of web fields linked to Item master
2021-05-17 21:27:42 +05:30

6 lines
187 B
Python

from __future__ import unicode_literals
import frappe
def execute():
frappe.db.sql("update `tabItem` set end_of_life='2099-12-31' where ifnull(end_of_life, '0000-00-00')='0000-00-00'")