frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.99k stars 685 forks source link

Handling sub entities (like multiple units in a single Frappe Book) #314

Open kukaki opened 2 years ago

kukaki commented 2 years ago

Handling sub entities would be useful when entering data for multiple units of an entity.

Lets say, if a person has 2 shops, he would like to maintain a single Frappe Book with 2 sub entities viz. Shop1 and Shop2.

I found LedgerLite app to be useful in this case. Here is a screenshot describing this feature.

image

18alantom commented 2 years ago

Adding this to the Roadmap

For future reference: subentities at first seem as good as maintaining 2 dbs since they are isolated, but the advantages are that:

  1. No overhead of having another db (db switching is trivial and instant so overhead isn't much of a problem).
  2. No need to set up the entity and other entries such as Items, Suppliers multiple times.
  3. Can run grouped queries (Consolidated as mentioned above) which is useful because they are sub entities, not completely different ones.

Will add this due to points 2 and 3. It isn't a priority as of now but should be included within the next 2 - 3 versions.