Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
spreadsheet.public_spreadsheet_layout Public spreadsheet layout ir.ui.view qweb New
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/spreadsheet/log SpreadsheetController.log_action user jsonrpc POST
Models touched (6)

New fields (0)

No new fields.

Public methods (1)
  • session_info(self)
    Override this method to enable the 'Insert in spreadsheet' button in the web client.

New fields (0)

No new fields.

Public methods (1)
  • has_searchable_parent_relation(self, model_names)
    @api.readonly@api.model

New fields (0)

No new fields.

Public methods (1)
  • get_company_currency_for_spreadsheet(self, company_id=None)
    @api.readonly@api.model
    Returns the currency structure for the currency of the company. This function is meant to be called by the spreadsheet js lib, hence the formatting of the result. :param int company_id: Id of the company :return: dict of the form `{ "code": str, "symbol": str, "decimalPlaces": int, "position":str }`

New fields (0)

No new fields.

Public methods (1)
  • get_rates_for_spreadsheet(self, requests)
    @api.readonly@api.model

New fields (0)

No new fields.

Public methods (1)
  • get_locales_for_spreadsheet(self)
    @api.readonly@api.model
    Return the list of locales available for a spreadsheet.

New fields (4)
  • spreadsheet_binary_data Binary
    default=<expr> string='Spreadsheet file'
  • spreadsheet_data Text
    compute='_compute_spreadsheet_data' inverse='_inverse_spreadsheet_data'
  • spreadsheet_file_name Char
    compute='_compute_spreadsheet_file_name'
  • thumbnail Binary
Public methods (1)
  • get_display_names_for_spreadsheet(self, args)
    @api.readonly@api.model

Loading…

Loading…

Loading…