I have two companies and want to separate customers and suppliers for each company

now i face a problem that when creating a customer or supplier is appears in all companies even none of them are child for the other.

i have two companies and want to separate customers and suppliers for each company

i need each user (if not a system manager or admin) to see only what belongs to his company including customers and suppliers.

Setup separate instances (?)

Same here, I had to create two different ERPNext instances on the same frappe app.

Try to create new custom field “Company” in customer or supplier and apply permission based on company

Or you can see this custom app for your reference:

Thanks for your reply , then I have to make this custom field for items , customers, suppliers and all other master data.
also when creating any new master data i have to choose the company , that’s a headache.