Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding option to manage Default Company Accounts per Branch instead of by Company [Proposal] #17273
Relating to the following links:
Our Use Case: We have multiple branches that utilize the same Chart of Accounts. This gives us two options: Use the Company Default Accounts for the largest branch and the others have to change defaults (Could lead to document mistakes) or remove Company Default Accounts (Mistakes are less frequent but this increases the workload and is still likely error prone).
I've been considering implementing a mechanism where I can add a default list of accounts per branch instead of a single Company wide set of defaults. According to the links above, there seems to be interest in this approach but it looks like those were filtered out of the final PR linked to Issue #12596 since they were deemed "unfeasible"
My proposal would be to add a Company checkbox "Default Accounts Managed Per Branch" that would be referenced any time there is a call to retrieve any of these values:
If this box is checked in the Company master, the value would be pulled from a separate Default Accounts Per Branch Doctype/Singles table entry based on the active user's branch in their Employee record. This comes with the caveat that if you assist somebody from another branch, you will need to remove the Default accounts and set them back to the accounts for that branch.
Using a checkbox to determine if this functionality should be used makes it easy to disable and by default, would not affect the base installation. It would need to be manually added.
Is this feasible to implement/is there a more concise way to implement this or are there factors that I haven't considered that make this impossible to implement?