Repository
OCA/spreadsheet · module folder · Try on Runboat
Module version
1.0.1
Category
Uncategorized
Folder size
1.29 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/spreadsheet
Last tracking update
2026-08-07 09:06:26
Authors
Odoo Community Association (OCA), CreuBlanca
Maintainers
Odoo Community Association (OCA), CreuBlanca
Committers
Pedro M. Baeza, OCA-git-bot, oca-ci, Ariel Barreiros, Chris Mann
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
spreadsheet_dashboard_oca
Description
This module adds a functionality for adding and editing Spreadsheets
using Odoo CE.

It is an alternative to the proprietary module `spreadsheet_edition` of
Odoo Enterprise Edition.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
spreadsheet_select_row_number_form_view spreadsheet.select.row.number.form spreadsheet.select.row.number form New
spreadsheet_spreadsheet_form_view spreadsheet.spreadsheet.tree (in spreadsheet_oca) spreadsheet.spreadsheet form New
spreadsheet_spreadsheet_import_form_view spreadsheet.spreadsheet.import.form (in spreadsheet_oca) spreadsheet.spreadsheet.import form New
spreadsheet_spreadsheet_kanban_view spreadsheet.spreadsheet.kanban spreadsheet.spreadsheet kanban New
spreadsheet_spreadsheet_search_view spreadsheet.spreadsheet.search (in spreadsheet_oca) spreadsheet.spreadsheet search New
spreadsheet_spreadsheet_tree_view spreadsheet.spreadsheet.tree (in spreadsheet_oca) spreadsheet.spreadsheet list New
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/spreadsheet/xlsx SpreadsheetDownloadXLSX.download_spreadsheet_xlsx user http POST
Models touched (9)

New fields (0)

No new fields.

Public methods (1)
  • has_parent_relation(self, model_name)
    @api.model
    Return if the model has a parent relation.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • name Char
    required=True
  • spreadsheet_binary_data Binary
    default=<expr> string='Spreadsheet file'
  • spreadsheet_raw Serialized
    compute='_compute_spreadsheet_raw' inverse='_inverse_spreadsheet_raw'
  • spreadsheet_revision_ids One2many → spreadsheet.oca.revision
    domain=<expr> inverse_name='res_id' args: 'spreadsheet.oca.revision'
Public methods (4)
  • get_spreadsheet_data(self)
  • open_spreadsheet(self)
  • send_spreadsheet_message(self, message: CollaborationMessage, access_token=None)
  • write(self, vals)

New fields (7)
  • client_id Char
  • commands Char
  • model Char
    required=True
  • next_revision_id Char
  • res_id Integer
    index=True required=True
  • server_revision_id Char
  • type Char
Public methods (0)

No public methods.

New fields (2)
  • dynamic_rows Boolean
  • number_of_rows Integer
Public methods (0)

No public methods.

New fields (9)
  • badge_image Image
    max_height=1024 max_width=1024 args: 'Badge Background'
  • company_id Many2one → res.company
    comodel_name='res.company' help='If set, the spreadsheet will be available only if this company is in the current companies.'
  • contributor_group_ids Many2many → res.groups
    column1='spreadsheet_id' column2='group_id' relation='spreadsheet_group_contributor' string='Contributors Groups' args: 'res.groups'
  • contributor_ids Many2many → res.users
    column1='spreadsheet_id' column2='user_id' relation='spreadsheet_contributor' string='Contributors' args: 'res.users'
  • filename Char
    compute='_compute_filename'
  • owner_id Many2one → res.users
    default=<expr> required=True args: 'res.users'
  • reader_group_ids Many2many → res.groups
    column1='spreadsheet_id' column2='group_id' relation='spreadsheet_group_reader' string='Readers Groups' args: 'res.groups'
  • reader_ids Many2many → res.users
    column1='spreadsheet_id' column2='user_id' relation='spreadsheet_reader' string='Readers' args: 'res.users'
  • spreadsheet_tag_ids Many2many → spreadsheet.spreadsheet.tag
    comodel_name='spreadsheet.spreadsheet.tag' string='Tags'
Public methods (1)
  • create_document_from_attachment(self, attachment_ids)

New fields (10)
  • can_be_dynamic Boolean
  • datasource_name Char
  • dynamic Boolean
    help='This field allows you to generate tables that its rows are updated with the filters set in the spreadsheets.' args: 'Dynamic Rows'
  • import_data Serialized
  • is_tree Boolean
  • mode Char
    related='mode_id.code'
  • mode_id Many2one → spreadsheet.spreadsheet.import.mode
    default=<expr> required=True args: 'spreadsheet.spreadsheet.import.mode'
  • name Char
  • number_of_rows Integer
  • spreadsheet_id Many2one → spreadsheet.spreadsheet
    args: 'spreadsheet.spreadsheet'
Public methods (1)
  • insert_pivot(self)

New fields (4)
  • code Char
    required=True
  • group_ids Many2many → res.groups
    args: 'res.groups'
  • name Char
    required=True translate=True
  • sequence Integer
    default=20
Public methods (0)

No public methods.

New fields (2)
  • color Integer
    default=<expr> help='Transparent tags are not visible in the kanban view'
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…