Contributors mailing list archives

contributors@odoo-community.org

Fwd: Database cleanup cannot drop table

by odoo dev <odoodev0@gmail.com> - 18/12/2016 17:37:25

---------- Forwarded message ----------
From: odoo dev <odoodev0@gmail.com>
Date: 2016-12-18 18:35 GMT+01:00
Subject: Database cleanup cannot drop table
To: "Odoo S.A. Community" <community@mail.odoo.com>


Hi all,

After database migration I installed this module to cleanup my database.

I deleted with success some table but for others tables, i get this kind of error :

cannot drop table account_analytic_journal because other objects depend on it
DETAIL:  constraint account_analytic_line_journal_id_fkey on table account_analytic_line depends on table account_analytic_journal
constraint account_journal_analytic_journal_id_fkey on table account_journal depends on table account_analytic_journal
constraint hr_employee_journal_id_fkey on table hr_employee depends on table account_analytic_journal
HINT:  Use DROP ... CASCADE to drop the dependent objects too.
the message is clear but i don't know how to purge those tables

Moreover, in the section "purge obsolete columns", there are more than 400 lines. Click on each line one to one is tedious and when I click purge all, there are errors. Does anyone have an effective way to use this module? Is it essential to use it?

regards,