-
Security22/251 minor finding
-
Activity0/25Last human commit 132 months ago
-
Required by20/253 modules depend on it
-
Maturity18/25In 3 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. 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_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. (2 occurrences in this file) 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=`. (2 occurrences in this file) migration-old-style-fields · sourceshare_step1_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) 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. (2 occurrences in this file) 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=`. (4 occurrences in this file) migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (8 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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
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
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…