Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 85 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 11.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
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 4 migration notes 7 models 8 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/reporting-engine:
OCA/server-ux:
odoo/odoo:
- web
- bus
Python dependencies
xlrd, xlsxwriter
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 8

XML IDNameModelTypeStatus
l10n_ro_report_D300.internal_layout l10n_ro_report_D300.internal_layout ir.ui.view qweb New
l10n_ro_report_D300.l10n_ro_report_d300_base l10n_ro_report_D300.l10n_ro_report_d300_base ir.ui.view qweb New
l10n_ro_report_D300.l10n_ro_report_d300_filters l10n_ro_report_D300.l10n_ro_report_d300_filters ir.ui.view qweb New
l10n_ro_report_D300.l10n_ro_report_d300_qweb l10n_ro_report_D300.l10n_ro_report_d300_qweb ir.ui.view qweb New
l10n_ro_report_d300 l10n_ro_report_d300 ir.ui.view qweb New
l10n_ro_report_d300_assets_backend l10n_ro_report_d300 assets ir.ui.view qweb Inherits web.assets_backend
l10n_ro_report_d300_buttons l10n_ro_report_d300_buttons ir.ui.view qweb New
wizard_l10n_ro_report_d300_view wizard_l10n_ro_report_d300 wizard.l10n.ro.report.d300 form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company'
  • date_from Date
  • date_to Date
  • tax_detail Boolean
    args: 'Tax Detail'
  • taxtags_ids One2many → l10n_ro_report_d300_taxtag
    comodel_name='l10n_ro_report_d300_taxtag' inverse_name='report_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_data_for_report(self)
    @api.multi
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')
    @api.multi

New fields (7)
  • code Char
  • move_line_ids One2many → account.move.line
    comodel_name='account.move.line' compute='_compute_move_lines' inverse_name='tax_line_id'
  • name Char
  • net Float
    digits=(16, 2)
  • report_tax_id Many2one → l10n_ro_report_d300_taxtag
    comodel_name='l10n_ro_report_d300_taxtag' index=True ondelete='cascade'
  • tax Float
    digits=(16, 2)
  • tax_id Many2one → account.tax
    index=True args: 'account.tax'
Public methods (0)

No public methods.

New fields (8)
  • code Integer
  • move_line_ids One2many → account.move.line
    comodel_name='account.move.line' compute='_compute_move_lines'
  • name Char
  • net Float
    digits=(16, 2)
  • report_id Many2one → l10n_ro_report_d300
    comodel_name='l10n_ro_report_d300' index=True ondelete='cascade'
  • tax Float
    digits=(16, 2)
  • tax_ids One2many → l10n_ro_report_d300_tax
    comodel_name='l10n_ro_report_d300_tax' inverse_name='report_tax_id'
  • taxtag_id Many2one → account.account.tag
    index=True args: 'account.account.tag'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (5)
  • generate_xlsx_report(self, workbook, data, objects)
  • get_workbook_options(self)
  • write_array_header(self, workbook)
    Write array header on current line using all defined columns name. Columns are defined with `_get_report_columns` method.
  • write_array_title(self, workbook, title)
    Write array title on current line using all defined columns width. Columns are defined with `_get_report_columns` method.
  • write_line(self, workbook, line_object, formats)
    Write a line on current line using all defined columns field name. Columns are defined with `_get_report_columns` method.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • date_from Date
    required=True args: 'Start Date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date range'
  • date_to Date
    required=True args: 'End Date'
  • tax_detail Boolean
    args: 'Detail Taxes'
Public methods (4)
  • button_export_html(self)
    @api.multi
  • button_export_pdf(self)
    @api.multi
  • button_export_xlsx(self)
    @api.multi
  • onchange_date_range_id(self)
    @api.onchange('date_range_id')
    Handle date range change.