Skip to content
Health
82/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 14 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 7.0

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

Security findings
Grave / minor (static analysis)
Required by
3
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.9 MB
Module directory on disk
Code analysis 1 migration note 2 models 3 views 0 HTTP endpoints

Description

Allow to export data in csv files FROM sql requests. There are some restrictions in the sql query, you can only read datas. No update, deletion or creation are possible. A new sub menu named Sql Export is available in the Dashboard main menu.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sql_export_delta, sql_export_excel, sql_export_mail

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
sql_export_view_form sql.export form Inherits sql_request_abstract.view_sql_request_mixin_form
sql_export_view_tree sql.export tree Inherits sql_request_abstract.view_sql_request_mixin_tree
sql_file_wizard_view_form sql.file.wizard.view.form sql.file.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (7)
  • copy_options Char
    default="CSV HEADER DELIMITER ';'" required=False
  • encoding Selection
    default='utf-8' required=True args: [('utf-8', 'utf-8'), ('utf-16', 'utf-16'), ('windows-1252', 'windows-1252'), ('latin1', 'latin1'), ('latin2', 'latin2'), ('big5', 'big5'), ('gb18030', 'gb18030'), ('shift_jis', 'shift_jis'), ('windows-1251', 'windows-1251'), ('koir8_r', 'koir8_r')]
  • file_format Selection
    default='csv' required=True args: [('csv', 'CSV')]
  • last_execution_date Datetime
    readonly=True
  • last_execution_uid Many2one → res.users
    readonly=True string='Last execution User' args: 'res.users'
  • query_properties_definition PropertiesDefinition
    args: 'Query Properties'
  • use_properties Boolean
    compute='_compute_use_properties'
Public methods (3)
  • configure_properties(self)
  • csv_get_data_from_query(self, variable_dict)
  • export_sql_query(self)

New fields (4)
  • binary_file Binary
    readonly=True args: 'File'
  • file_name Char
    readonly=True
  • query_properties Properties
    copy=False definition='sql_export_id.query_properties_definition' string='Properties'
  • sql_export_id Many2one → sql.export
    comodel_name='sql.export' required=True
Public methods (1)
  • export_sql(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…