Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: multi company issue

by
Samir Mahmoud Hassan
- 23/09/2023 20:13:35

I have 2 company (Multi Company) set in my Odoo database, Second company was set up after few months of first company.

Now while making invoice in second company  I was getting "Access Error" (Full screen shot attached) to fix this I have added user group in res.partner Company in Contact Model, by doing this I solved Access Error  I am no longer getting error but It created another issues my  Contacts from first Company visible in my Second Company. My Contacts already have Company assign.  Now I Don't to share my contacts in both company and Avoid this error as well.

any help would be much appreciated.

image.jpeg

image.jpeg



On Fri, Sep 22, 2023 at 5:26 PM hugues de keyzer <notifications@odoo-community.org> wrote:

hello samir,

as explained here, the standard odoo multi-company behavior is that a record is either linked to a particular company (its company_id field is not null), or is shared across all companies (its company_id field is null). partners are usually shared across all companies, while accounting data is not.

if you want to have a more fine-grained control over this, like the ability to link records to several companies but not all, there are modules in the multi-company oca repository that allows to do this, like the partner_multi_company module.

Le 2023-09-20 à 13:40, Samir Hassan a écrit :


On Wed, Sep 20, 2023 at 12:04 PM Samir Hassan <samir2010ssf@gmail.com> wrote:
Dear 
i have that issue for multi company 
image.png
i solve this issue with add user group under record rule

image.png
when i add user group the user can issues the invoice but user now see all Customers for both companies 


--
Best Regards
Samir Mahmoud
00201062648111




--
Best Regards
Samir Mahmoud
00201062648111


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Best Regards
Samir Mahmoud
00201062648111


Reference