Contributors mailing list archives


Re: Database cleanup cannot drop table

by odoo dev <> - 25/12/2016 22:46:13
Hello all,

Any idea on this?

Stefan I didn't see your answer.


2016-12-19 10:10 GMT+01:00 Stefan Rijnhart <>:
Hi Odoo dev,

please don't keep on sending messages to multiple mailing lists, it is not considered polite.

Thank you,

On 12/18/2016 06:35 PM, odoo dev wrote:
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?


Post to:

Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

tel: +31 (0) 20 3090 139

Post to: