Repository
odoo/odoo · module folder
Module version
2.0
Category
Tools
Folder size
1.09 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
https://www.odoo.com
Last tracking update
2026-08-07 04:53:25
Authors
OpenERP SA
Maintainers
OpenERP SA
Committers
Xavier Morel, Quentin (OpenERP), Antony Lesuisse, Vo Minh Thu, Olivier Dony, Launchpad Translations on behalf of openerp, Fabien Pinckaers, Raphael Collet, Fabien Meghazi, Christophe Simonis, Thibault Delavallée, Martin Trigaux, Atul Patel (OpenERP), Amit Bhavsar (Open ERP), Nimesh (Open ERP), Foram Katharotiya (OpenERP), Odoo Translation Bot, Christophe Matthieu, Denis Ledoux, ggh-openerp, Richard Mathot, jke-openerp, Aaron Bohy, Odoo Online
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
opl_all, portal, website
Description
This module adds generic sharing tools to your current OpenERP database.
========================================================================

It specifically adds a 'share' button that is available in the Web client to
share any kind of OpenERP data with colleagues, customers, friends.

The system will work by creating new users and groups on the fly, and by
combining the appropriate access rights and ir.rules to ensure that the shared
users only have access to the data that has been shared with them.

This is extremely useful for collaborative work, knowledge sharing,
synchronization with other companies.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
assets_backend share assets ir.ui.view qweb Inherits web.assets_backend
res_groups_search_sharing res.groups.search.share res.groups search Inherits base.view_groups_search
res_users_search_sharing res.users.search.share res.users search Inherits base.view_users_search
share_step0_form share.step0.form share.wizard form New
share_step1_form share.step1.form share.wizard form New
share_step2_form share.step2.form share.wizard form New
view_groups_form_share res.groups.form res.groups form Inherits base.view_groups_form
webclient_bootstrap Webclient Bootstrap - Share ir.ui.view qweb Inherits web.webclient_bootstrap
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • group_names_with_access(self, cr, model_name, access_mode)
    Returns the names of visible groups which have been granted ``access_mode`` on the model ``model_name``. :rtype: list

New fields (0)

No new fields.

Public methods (11)
  • create(self, cr, uid, values, context=None)
  • go_step_1(self, cr, uid, ids, context=None)
  • go_step_2(self, cr, uid, ids, context=None)
  • has_email(self, cr, uid, context=None)
  • has_group(self, cr, uid, module, group_xml_id, context=None)
    Returns True if current user is a member of the group identified by the module, group_xml_id pair.
  • has_share(self, cr, uid, unused_param, context=None)
  • onchange_embed_options(self, cr, uid, ids, opt_title, opt_search, context=None)
  • send_emails(self, cr, uid, wizard_data, context=None)
  • send_invite_email(self, cr, uid, wizard_data, context=None)
  • send_invite_note(self, cr, uid, model_name, res_id, wizard_data, context=None)
  • share_url_template(self, cr, uid, _ids, context=None)
    @api.cr_uid_ids_context

Loading…

Loading…