[FIX] portal: avoid errors during autovacuum
authorMartin Trigaux <mat@openerp.com>
Mon, 7 Jul 2014 15:12:27 +0000 (17:12 +0200)
committerMartin Trigaux <mat@openerp.com>
Mon, 7 Jul 2014 15:12:27 +0000 (17:12 +0200)
commit90f7eaa0941b016b544cf1873c0ab55380264c27
tree57ccff0a226067cacc8494c7b31b8eff98c201a0
parent64ac1b0f46cb38a4dbe5692939e00757dd235645
[FIX] portal: avoid errors during autovacuum

When the cron for autovacuum runs, the osv_memory objects are deleted. The portal.wizard.user object has a required field (wizard_id) linked to another osv_memory object (portal.user) which causes a traceback when the cron tries to delete portal.user object before the portal.wizard.user. opw 609918
addons/portal/wizard/portal_wizard.py