Party Model: How to freeze a Customer's Account?

Hi,

With v5 the customer’s account have been removed and hence there is no way to now freeze the account of the customer with whom we don’t want to do any more transactions.

Is there a way to do the same in v5 since the customer is now not linked to an account.

Basically I want to FREEZE a customer account so that no new sales order, Delivery notes are made for that customer.

Please raise a github issue.

Raised: https://github.com/frappe/erpnext/issues/3497