In my use case I have one set of employees that are transacting in ERPNext for multiple companies. Therefore, I do not want to set a Default Company in Global Defaults as the employees are continuously having to do two actions: (1) delete the preset company in the various forms and (2) select the new company. By not setting the default company, the employee has just one action to do which is select the appropriate company straight away.
However, when I remove the default company I have found an error that arises when creating a new customer and more specifically when trying to add non standard receivable account for said customer. I get the following error and I am not able to save the changes:
If I add back the default company then no such error arises. Is this a bug or is there a logic that is enforcing this?