Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
9 Odpowiedzi
10662 Widoki

I can´t find the option Common Contact Book for Multi-Company in V13, is no longer available?

Awatar
Odrzuć

This is a good question! Why does it have three downvotes?

Najlepsza odpowiedź

For Multi-company, all data to be separated and users should not be able to access each other's info (including contacts) unless they are the administrator or have been given rights to both companies.

Awatar
Odrzuć

thats crazy.

How do i set up the common contact book and common product catalog then?

Odoo 12 i shared my contact book with all companies, but restricted all the products by company.

Also the parent company can see all the child product and transactions.

Currently, having a parent company setup has no effect. :(

Guess im sticking to odoo 12 at this stage.

The common contact book is still available and is the standard behaviour. The only thing you might need to do if you upgrade to Odoo 13 is to set the company to blank for all shared contacts (and if you want to keep the products separate, no need to do that).

The logic for parent and child companies has been removed, but if a user is authorized to multiple companies they can see products and transactions in all the companies, so that should work for most scenarios.

Najlepsza odpowiedź

Multicompany has been changed in Odoo 13.

The old defaults (for multicompany) of “Common Contact Book” and “Common Product Catalog” have been removed.

Contacts and Products are shared by default, but if you enter a company for a product it will be limited to that company.

There is now a Global Record Rule for Contacts (res.partner) with the following domain:

['|', '|',
     ('partner_share', '=', False),
     ('company_id', 'in', company_ids),
     ('company_id', '=', False)]

partner_share is TRUE for Odoo internal users but not for portal users or other partners (e.g. customers and suppliers).

This means that:

  • Customers and suppliers are filtered by the multi-company rules
  • Internal Users in one company are visible in other companies
Awatar
Odrzuć

I am going this error

ValueError: Invalid field 'company_ids' in leaf "<osv.ExtendedLeaf: ('company_ids', 'in', [3, 2, 1]) on res_partner (ctx: )>"

I removed the second part of my answer. There should now be a fix for this in standard Odoo.

but users from one companies can see users for anther

['|', ('id', '=', user.id), ('company_id', 'in', company_ids)]

works but can't make exaction for admin

I want them to see there own contact only

Yes, internal users are visible across companies. That's by design.

Yes but how to hide them

in the same company is ok but if I have a multi company I want them to only see there coworkers there contacts only

I suggest you ask another question and provide an example / use case

Powiązane posty Odpowiedzi Widoki Czynność
0
gru 21
2584
1
mar 21
5768
3
lis 19
3068
2
lis 19
4407
2
lut 19
7800