Contributors mailing list archives


Re: Fwd: Database cleanup cannot drop table

Opener B.V., Stefan Rijnhart
- 19/12/2016 07:12:51
Hi Odoo dev,

can you file these respective bug reports on the openupgrade / server tools project and work with us there?

thank you.


On 12/18/2016 06:53 PM, odoo dev wrote:
<blockquote cite="" type="cite">

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

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?

_______________________________________________ Mailing-List: Post to: Unsubscribe: