Skip to content

[9.0][account] Analytic line views not removed during migration #577

Description

@JordiBForgeFlow

Impacted versions: 9.0

Steps to reproduce:
Migrate a demo database in v8 with modules 'analytic' and 'account' installed.

Current behavior:
The form, search and tree views for model 'account.analytic.line.tree' are not deleted.

Depending on how Odoo decides to render the views, this may result in an error such as:
File "/home/jordi/Odoo9/openerp/addons/base/ir/ir_ui_view.py", line 463, in raise_view_error raise AttributeError(message) AttributeError: Field journal_id does not exist Error context: View account.analytic.line.form [view_id: 566, xml_id: n/a, model: account.analytic.line, parent_id: n/a]

Expected behavior:
The following views should be deleted during the migration process, or during the database cleanup:
account.view_account_analytic_line_tree
account.view_account_analytic_line_form
account.view_account_analytic_line_filter

Video/Screenshot link (optional):
image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions