brotherton-erpnext/erpnext/patches/v13_0/fix_non_unique_represents_company.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
140 B
Python
Raw Normal View History

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