r/Odoo • u/Local-Share2789 • 5d ago
Problem in multicompany to solve
I am brainstorming and trying to decide the right company hierarchy for my client. He owes a car service company he has multiple brands with multiple branches under the same legal entity. I am trying to figure out the right configuration of hierarchy according to his workflow: when a brand want a spare part from another brand or branch, they do a SO and PO workflow in real life, but if we do that in odoo it mess up the accounting and ledgers. However, if I did a company for each brand, would it be not legal because it is not made like the legal hierarchy? Need some architect advice here this clients' workflow is very chaotic tbh.
3
u/cheatreynold 5d ago edited 5d ago
From a goods movement perspective: assuming everything is single entity, I would have each branch is a different warehouse. You then set up the warehouses to be able to resupply from each other. When a part is needed you use replenishment to order parts from Location A to Location B via what I call an interwarehouse transfer.
Secondly, to make sure you can track these kinds of movements, you need analytic accounting plans for locations, brands, and whatever other reporting requirements you need. While there is no journal entry movement because it is all intra-company you can still break down your financial reporting because you have the analytics in place.
There’s more to it but that’s the rough idea.
Edit: the real question for you to ask is are they using SOs and POs because they are convenient for making transfers or are they actually charging each other with the accounting being reconciled by someone and money changing hands between distinct bank accounts?
2
u/ach25 5d ago
If they are invoicing each other but in the same company legally and fiscally wouldn’t that inflate sales etc
Sounds like they either need to stop that or have the proper legal formation. You should ensure your understanding of the legal structure is correct as well sometimes the folks that work at the company don’t know the full legal details..
2
u/_VentorTech_ 2d ago
Hello,
I think the important detail is that all brands share the same tax ID and bank account, but the owner still wants them to pay each other.
So I wouldn't create separate Odoo companies just to achieve this. You're essentially trying to solve an internal cost allocation problem through intercompany accounting. And that's probably why your SO/PO approach is messing up the ledgers. =)
From what I understand, the owner wants each brand to operate almost like an independent business, while legally everything remains under one company. Correct?
Odoo also supports branches under a parent company, but I wouldn't introduce them unless you actually need branch-specific access, document ownership or reporting.
Odoo already supports this:
https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment/resupply_warehouses.html
No need to create customer invoices and vendor bills when ownership hasn't changed.
If they still need the SO/PO-style request and approval process, I'd create an internal stock request workflow that eventually generates the transfer, not actual sales and purchases.
The owner might want Brand A credited $100 and Brand B charged $100 for management reporting.
That's possible through internal cost allocation and analytic accounting without recognizing an actual external sale.
But one thing I'd be careful about: Odoo doesn't automatically create analytic chargebacks simply because stock moves between internal warehouses. You'd need to design that allocation logic, potentially with a small customization.
One question though: **when Brand B takes a $100 part from Brand A, does the owner expect Brand B to reimburse $100 at cost, or pay $120 so Brand A shows an internal profit?**
Because that answer will tell you whether you need simple cost allocation or a proper internal transfer-pricing model.
1
u/iswelgoed 5d ago
The main question is: what are they trying to solve with these part changeovers between branches?
When you take a piece of inventory from the shelf to put in a car, it doesn't matter what brand it goes into.
In manufacturing, it's common to use shared components, such as a spark plug that can be used in multiple cars.
It's abnormal to have components assigned to a certain brand that you can't use; However, if it's consignment inventory for multiple brands, it could make sense to bill them separately. You're essentially creating a PO for a new part while also generating the invoice in your own system.
That said, I'm guessing you want to track inventory, which you usually don't do in your accounting software. So if a part is moved from the BMW garage to the Mercedes garage across town, it should be an inventory transaction, not a financial one.
1
u/iVirusYx 5d ago
Sounds like internal billing between companies of the same holding? The branches could be configured as the departments. Afterwards it’s just a reporting matter, maybe…
I am just speculating here.
I agree with others, you need to know his legal structure and how the money flows, and that should then tell you the legal obligations as to how invoices and accounting should be numbered, labeled and structured.
1
u/Hopeful_Weather3424 4d ago
I agree with u/iswelgoed use analytic accounting to fix your reporting and inventory location
1
u/rrquevedo 3d ago
Separate companies per brand are only needed if each one has its own legal entity and books. Within one legal entity I'd keep a single company and model the rest differently. One warehouse per branch, and let them supply each other with resupply routes between warehouses, so a part going from one branch to another is an internal transfer: no SO/PO, and no mess in the ledger. For the brands, use analytic plans (one account per brand and branch) so you get a P&L per brand without splitting the books.
SO/PO between companies only makes sense if the branches really are separate legal entities. Odoo also has branches, child companies under the main one, but check they fit your accounting before you decide.