Skip to content
Snippets Groups Projects
Commit 8a7dc813 authored by Raphael Collet's avatar Raphael Collet Committed by Julien (juc) Castiaux
Browse files

[FIX] base: copied views are delete too early


Install Invoicing (account) and uninstall it. It results to a an error
because some views required by `payment.acquirer` are deleted before
the acquirers.

The problem is due to the way copied views are deleted, since 1388b7f0
they are removed before the module uninstallation. The related commit
faced a similar problem where copied views were deleted too late
during a module uninstallation.

The two problems are revealing that the copied views have to be removed
as part of the module uninstallation, more precisely after all records
refering to them has been deleted but before the schemas has been
cleaned.

opw-1943286

closes odoo/odoo#31443

Signed-off-by: default avatarRaphael Collet (rco) <rco@openerp.com>
parent 63ba2317
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment