ERPNext Conference 2019* ERPNext.com Blog

Why does a company have to be set in global defaults when creating a new customer?


#1

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?


#2

I agree with this question. More so is the fact that all companies share customer, supplier and items data irrespective of defult company. Hence i think it’s an overkill to force default company when all companies share these same data.