Romania - D300 Report
l10n_ro_report_D300 · OCA/l10n-romania
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 85 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
AccountRomaniaReportD300— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceRomaniaReportD300TaxTag— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (3 occurrences in this file) migration-api-multi-one · sourcel10n_ro_report_D300.internal_layout— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · sourcel10n_ro_report_D300.l10n_ro_report_d300_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → res.companycomodel_name='res.company' -
date_fromDate -
date_toDate -
tax_detailBooleanargs: 'Tax Detail' -
taxtags_idsOne2many → l10n_ro_report_d300_taxtagcomodel_name='l10n_ro_report_d300_taxtag'inverse_name='report_id'
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)
-
codeChar -
move_line_idsOne2many → account.move.linecomodel_name='account.move.line'compute='_compute_move_lines'inverse_name='tax_line_id' -
nameChar -
netFloatdigits=(16, 2) -
report_tax_idMany2one → l10n_ro_report_d300_taxtagcomodel_name='l10n_ro_report_d300_taxtag'index=Trueondelete='cascade' -
taxFloatdigits=(16, 2) -
tax_idMany2one → account.taxindex=True args: 'account.tax'
No public methods.
New fields (8)
-
codeInteger -
move_line_idsOne2many → account.move.linecomodel_name='account.move.line'compute='_compute_move_lines' -
nameChar -
netFloatdigits=(16, 2) -
report_idMany2one → l10n_ro_report_d300comodel_name='l10n_ro_report_d300'index=Trueondelete='cascade' -
taxFloatdigits=(16, 2) -
tax_idsOne2many → l10n_ro_report_d300_taxcomodel_name='l10n_ro_report_d300_tax'inverse_name='report_tax_id' -
taxtag_idMany2one → account.account.tagindex=True args: 'account.account.tag'
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_idMany2one → res.companycomodel_name='res.company'default=<expr>string='Company' -
date_fromDaterequired=True args: 'Start Date' -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date range' -
date_toDaterequired=True args: 'End Date' -
tax_detailBooleanargs: 'Detail Taxes'
-
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.