Skip to content
Health
60/100
fair
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 132 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
1.09 MB
Module directory on disk
Code analysis 10 migration notes 2 models 8 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
opl_all, portal, website

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…