Hello everyone, and thank you in advance for your replies.
I'm sorry to repost the same request a second time, but I can't answer the first one.
In Odoo 18, I have two warehouses:
PlantEure - Magasin (main warehouse)
Jumièges Market (secondary warehouse)
My problem isn't with multiple companies.
It's between multiple warehouses.
If my company structure nomenclature is:
S = Company
E = Warehouse
EL = Warehouse that delivers and invoices
S1/E1/EL1 for the first warehouse
S1/E2/EL1 for the second
So, on the e-commerce website, if the item is available in E1, it is displayed as available in E2, and sales are made and delivered from E1.
There is only one website and one company, but two warehouses.