Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 16.0

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

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

Description

This module allows to edit spreadsheet dashboards using OCA Spreadsheet editor. It also allows to manage the public share links of those dashboards: list, copy, and revoke them. Dashboard admins can manage the shares created by any user.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
spreadsheet_dashboard_tree_view spreadsheet.dashboard.tree (in spreadsheet_dashboard_oca) spreadsheet.dashboard list Inherits spreadsheet_dashboard.spreadsheet_dashboard_view_list
spreadsheet_spreadsheet_import_form_view spreadsheet.spreadsheet.import.form (in spreadsheet_dashboard_oca) spreadsheet.spreadsheet.import form Inherits spreadsheet_oca.spreadsheet_spreadsheet_import_form_view
spreadsheet_to_dashboard_view_form spreadsheet.to.dashboard.view.form spreadsheet.to.dashboard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • active Boolean
    default=True
  • can_edit Boolean
    compute='_compute_can_edit' search='_search_can_edit'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_get_dashboard_shares(self, dashboard_id)
    @api.model
    Return the shares of a dashboard the current user can see.
  • action_get_share_counts(self)
    @api.model
    Return {dashboard_id: share_count} for shares visible to the user.
  • action_unshare(self, share_ids)
    @api.model
    Revoke shares. ir.rule limits the user to the shares they may access.

New fields (2)
  • dashboard_group_id Many2one → spreadsheet.dashboard.group
    args: 'spreadsheet.dashboard.group'
  • dashboard_id Many2one → spreadsheet.dashboard
    args: 'spreadsheet.dashboard'
Public methods (0)

No public methods.

New fields (4)
  • dashboard_group_id Many2one → spreadsheet.dashboard.group
    required=True string='Dashboard Section' args: 'spreadsheet.dashboard.group'
  • group_ids Many2many → res.groups
    default=<expr> string='User Groups' args: 'res.groups'
  • name Char
    compute='_compute_name' precompute=True readonly=False required=True store=True args: 'Dashboard Name'
  • spreadsheet_id Many2one → spreadsheet.spreadsheet
    readonly=True required=True args: 'spreadsheet.spreadsheet'
Public methods (1)
  • create_dashboard(self)

Loading…

Loading…

Loading…

Loading…