Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

How to make all branches for user active automatically after login his account?

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
development
3 Besvarelser
267 Visninger
Avatar
شركة مهارات للتقنية وتنمية الموارد البشرية

How do I implement this scenario? I have a user (sales representative) with multiple branches or companies. I want this user to log in fully without needing to manually activate all the branches. I don't want the user to have to manually activate each company every time they log in. They might forget because a client interested in an opportunity who registers with the service wants it to be visible to all branches. If you haven't activated all the branches, it will only appear and request the branch from the parent company, which is activated by default.

0
Avatar
Kassér
Chris TRINGHAM

See the answer here: https://www.odoo.com/forum/help-1/can-i-set-the-company-with-a-url-278756

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

Hi,


To give a sales representative seamless access to multiple Odoo companies without manual switching, grant them access to all relevant companies in their user settings under "Allowed Companies" and set a default company. The crucial step is to modify or create a record rule for opportunities (crm.lead) using the IN operator in the domain filter. This allows the sales representative to see opportunities from all their allowed companies simultaneously, without needing to switch between them.

The recommended domain filter is ['|', ('company_id', '=', False), ('company_id', 'in', user.company_ids.ids)]. Test thoroughly to ensure the record rules work correctly and prioritize security when modifying them. This approach ensures opportunities are visible across all relevant companies, improving efficiency and preventing missed leads.


Hope it helps

0
Avatar
Kassér
شركة مهارات للتقنية وتنمية الموارد البشرية
Forfatter

That's correct, but I want the opportunities recorded by the sales representative to show the contact data to That's correct, but I want the opportunities registered by the sales representative to show the contact information to the regular user responsible for sales or invoicing. This would allow them to see all contacts from any branch within the sales representative's authorized branches.

For example, the sales representative is authorized to access branches A, B, and C, but by default, the parent company is active. However, the sales user only has branch B, so the contacts created by the sales representative won't appear as opportunities because they were created within the parent company.

Thanks

Avatar
شركة مهارات للتقنية وتنمية الموارد البشرية
Forfatter Bedste svar

Thank you for help me.

My question is about salesperson. Each salesperson has a record of interested clients as direct opportunities and they are registered in the contact application. However, if the salesperson is only registered with one company, the other branches cannot find the client data registered by the representative. Therefore, the data only appears in the representative's virtual branch, and the representatives are registered for the company as a whole.



0
Avatar
Kassér
Avatar
Masoud
Bedste svar

Odoo’s multi‑company logic is designed so each user has a default company and can manually switch or activate others. There isn’t a built‑in option to “auto‑activate all companies” at login, because Odoo enforces company boundaries for security and data segregation.

If you want a sales rep to always see opportunities across all branches without toggling, you have two main approaches:

  • Access rights: Give the user access to all companies and configure their default company. They’ll still need to activate others if they want to work across them in the UI.

  • Customization: Extend the login/session logic so all companies are activated automatically for that user. This usually means overriding the res.users context or writing a small module that sets allowed_company_ids at login.

by default Odoo requires manual activation for multi‑company users. To bypass that, you’d need a small customization that auto‑loads all allowed companies into the user’s session or creating such access rights that cover your need about this matter.

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
MrpBom _skip_bom_line skips line of product that has two multi-choice attribute values when both are selected in Apply to variant
development
Avatar
Avatar
1
nov. 25
193
How to create a new field have 2 related field by developer mode
development
Avatar
Avatar
2
okt. 25
535
i face one error while edit my website
development
Avatar
0
okt. 25
654
How to add market price of the product to the Odoo 18 Community POS receipt?
development
Avatar
0
okt. 25
569
Unable to create views in my custom module or an application Løst
development
Avatar
Avatar
2
okt. 25
6711
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now