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.

8 lines
139 B
Python
Raw Normal View History

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