Multicompany - Easy Switch Company

web_easy_switch_company
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/9.0/web_easy_switch_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYweb
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP, Sudokeys
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP, Sudokeys
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Nicolas JEUDY
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets_backend web_easy_switch_company assets ir.ui.view qweb Inherits web.assets_backend
view_res_users_simple_modif_form res.users.form res.users field Inherits base.view_users_form_simple_modif
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • change_current_company(self, cr, uid, company_id, context=None)
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/8.0/web_easy_switch_company
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYweb
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Holger Brunn, Sylvain LE GAL, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Adil Houmadi, jesusVMayor
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add menu to allow user to switch to another company more easily
===============================================================

Functionality:
--------------
    * Add a new menu in the top bar to switch to another company more easily;
    * Remove the old behaviour to switch company;

Documentations:
---------------
    * Video : http://www.youtube.com/watch?v=Cpm6dg-IEQQ

Technical information:
----------------------
    * Create a field function 'logo_topbar' in res_company to have a goodresized logo;

Limits:
-------
    * It would be interesting to show the structure of the companies;

Copyright, Author and Licence:
------------------------------
    * Copyright: 2014, Groupement Régional Alimentaire de Proximité;
    * Author: Sylvain LE GAL (https://twitter.com/legalsylvain);
    * Licence: AGPL-3 (http://www.gnu.org/licenses/)

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets_backend web_easy_switch_company assets ir.ui.view qweb Inherits web.assets_backend
view_res_users_simple_modif_form res.users.form res.users field Inherits base.view_users_form_simple_modif
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • change_current_company(self, cr, uid, company_id, context=None)
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/7.0/web_easy_switch_company
VERSION
VERSION 1.0
CATEGORY
CATEGORYweb
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Sylvain LE GAL, Stéphane Bidoul (ACSONE), OCA Transbot
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add menu to allow user to switch to another company more easily
===============================================================

Functionality:
--------------
    * Add a new menu in the top bar to switch to another company more easily;
    * Remove the old behaviour to switch company;

Documentations:
---------------
    * Video : http://www.youtube.com/watch?v=Cpm6dg-IEQQ

Technical information:
----------------------
    * Create a field function 'logo_topbar' in res_company to have a goodresized logo;

Limits:
-------
    * It would be interesting to show the structure of the companies;

Copyright, Author and Licence:
------------------------------
    * Copyright: 2014, Groupement Régional Alimentaire de Proximité;
    * Author: Sylvain LE GAL (https://twitter.com/legalsylvain);
    * Licence: AGPL-3 (http://www.gnu.org/licenses/)

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_users_simple_modif_form res.users.form res.users field Inherits base.view_users_form_simple_modif
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • change_current_company(self, cr, uid, company_id, context=None)