Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Default multi company configuration failing?

Subscribe

Get notified when there's activity on this post

This question has been flagged
configurationmulticompany
3 Replies
10519 Views
Avatar
Gabriel

I'm trying to configure an Odoo multicompany installation. And I've found what maybe errors, or maybe I'm not configuring correctly something, but I can't figure out what could be wrong.

I have the main company (lets call it Main Company) and another one called Second Company. Main Company is, obviously, the parent company of Second Company.

I create a new user for the Second Company (and only for it) and give it the desired permissions in every module. Once done, when the user logins gets an Access Error. Only logging, no action is neccessary. Is an Access Error related to the res.partner document type and the Operation read.

This error appears repeatedly whenever the new user tries to create, for example, a new lead, opportunities, tasks... even having the maximum permissions for every module, keeps unable to do anything.

Is there any extra configuration neccessary that I'm missing somehow? The steps I took were creating the new company and then the user with its permissions (and assigned to the company) nothing else.

1
Avatar
Discard
Avatar
Jose M
Best Answer

Hi!

As you said, multicompany have a lot of problems, I've been working with multicompany for about a month and I've encountered and solve many issues.

First thing you need to know is that a lot of Record Rules (Security -> Record Rules) are bad, for example the one in res.partner allow you to see your parents partner but not let you read them, so you need to change it in order to fix this.

I'm using this rule for example and work ok : ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)] .

Second thing, and it looks that this could be your problem, is that user Admin, need to have all the companies in his allowed companies field. This solve other problems for me.

Espero que tengas suerte y te sirva de algo, saludos :D

 

1
Avatar
Discard
Gabriel
Author

Thanks for your answer. Allowing all the companies to the admin user solved the problem. I saw several rule problems in v7.0 and I suspected that they were here too, but I don't figure out how permissions over a company for the admin user can modify permissions in a user assigned to a child company... I still have to study much more the record rules... Thanks again, muchas gracias ;)

Avatar
Steve Landman
Best Answer

Hi... Im not sure I understand. Ive been working with odoo(open era) since version 6 and there has always been errors and issues with multi-company.. Now we are on version 14. Has anyone had a successful implementation of multi-company. I have had somewhat problem free implementations up to 6 child companies under a parent but when I go to 7 I started getting errors and conflict.  I would love top hear from someone how they were able o configure and implement a problem free implementation of many child companies. I have clients wanting to connect 100s of companies under a parent but I am afraid.. Any help is much appreciated!

0
Avatar
Discard
Avatar
Yurdik Cervantes Mendoza
Best Answer

Hello,

Jose_M when you say:

... for example the one in res.partner allow you to see your parents partner but not let you read them, so you need to change it in order to fix this.

The rule that you seem to be referring to is a global record access rule:

 {
'name’: 'res_partner: portal/public: read access on my commercial partner’,
'model_id’: [79, 'Partner’],
'domain_force’: "[('id’, 'child_of’, user.commercial_partner_id.id)]",
'perm_create’: False,
'perm_read’: True,
'perm_unlink’: False,
'perm_write’: False}
'active’: True,
}

It seems to be logical than a commercial partner can leave you a contact, but such external user is supposed not to access to your other contacts.

This error can also happen when an internal user belongs to the Portal and Public groups.

The contact access seems to be granted to internal users only.

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Multi Company Configuration
configuration multicompany
Avatar
Avatar
Avatar
2
Mar 15
4350
Need assistance setting up the proper routes and Inter-Company Transaction rules
configuration multicompany manufacture
Avatar
Avatar
1
Aug 25
2109
how to let "delivery to " address shows in the printed order file
configuration
Avatar
Avatar
1
Nov 25
444
Do seniors get discounts on United flights?
configuration
Avatar
0
Nov 25
2
accede al servicio de atención ¿Cómo hablo con un agente de Expedla?
configuration
Avatar
0
Nov 25
3
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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