brotherton-erpnext/erpnext/patches/v13_0/fix_non_unique_represents_company.py
2021-08-19 13:43:28 +05:30

9 lines
140 B
Python

import frappe
def execute():
frappe.db.sql("""
update tabCustomer
set represents_company = NULL
where represents_company = ''
""")