Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Spreadsheet Oca

Entity: spreadsheet.abstract

Compute Method: _compute_spreadsheet_raw

Inputs Method Outputs
for dashboard in self:
            if dashboard.spreadsheet_binary_data:
                dashboard.spreadsheet_raw = json.loads(
                    base64.decodebytes(dashboard.spreadsheet_binary_data).decode(
                        "UTF-8"
                    )
                )
            else:
                dashboard.spreadsheet_raw = {}

Back to entity