Files
schuetz3-erpnext/erpnext/patches/v13_0/fix_non_unique_represents_company.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

12 lines
146 B
Python

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