Skip to content

Latest commit

 

History

History
 
 

technical_partner_access

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Technical Partners Access

Beta License: AGPL-3 grap/grap-odoo-business

In Odoo, a user has a partner associated. This feature is great to manage commun fields, but generate some non desired behaviours in some multi company cases:

If a user has multi company access, the company of the associated partner will change when the user change company. So the associated partner will be "available or not", depending of user configuration. This generates error access.

With this module:

  • the users partners will not be accessible by default. This will force saler / purchaser to create new partner (if the user is a customer or a supplier too)
  • the users partners will have no company, this will fix all bug access
  • the companies partners will not be accessible by default. This will force saler / purchaser to create new partner (if the cpmpany is a customer or a supplier too)

Technically

All partners associated to a user:

  • have company_id empty
  • have a field is_odoo_user checked
  • can be searched, only if show_odoo_user=True is in the context

All partners associated to a company:

  • have a field is_odoo_company checked
  • can be search, only if show_odoo_company=True is in the context
https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/technical_partner_access/static/description/res_partner_form.png

Only members of 'Administration / Access Rights' can update those partners.

Table of contents

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

  • GRAP

This module is part of the grap/grap-odoo-business project on GitHub.

You are welcome to contribute.