Hello,
I have one Odoo database with two websites:
Website A: Retail (B2C)
Website B: Wholesale (B2B)
I want to have one common login page for all customers.
After login, Odoo should automatically redirect the user based on their type:
If the user is a wholesale customer (for example, belongs to a “Wholesale Portal” group or has a specific flag), they should be redirected to the Wholesale website home page.
All other users should be redirected to the Retail website home page.