TIP: You can type at any time to perform a new search.
Share any Document
share · odoo/odoo
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.safe_eval` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
ir_model_access— Class 'ir_model_access' still inherits from the old-style `osv.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceres_groups— Class 'res_groups' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceres_groups— Class 'res_groups' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceres_users— Class 'res_users' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceres_users— Class 'res_users' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceshare_result_line— Class 'share_result_line' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceshare_result_line— Class 'share_result_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceshare_result_line— Class 'share_result_line' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceshare_step1_form— For a target of Odoo 17.0+: view 'share_step1_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceshare_step2_form— For a target of Odoo 17.0+: view 'share_step2_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceshare_wizard— Class 'share_wizard' still inherits from the old-style `osv.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceshare_wizard— Class 'share_wizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceshare_wizard— Class 'share_wizard' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- 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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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…