brotherton-erpnext/erpnext/patches/v13_0/fix_non_unique_represents_company.py
2022-03-28 18:52:46 +05:30

12 lines
146 B
Python

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