[FIX] ir.model: during garbage collection of obsolete records in _process_end, do...
authorOlivier Dony <odo@openerp.com>
Mon, 18 Nov 2013 12:56:40 +0000 (13:56 +0100)
committerOlivier Dony <odo@openerp.com>
Mon, 18 Nov 2013 12:56:40 +0000 (13:56 +0100)
commit4921167d74a38c7aec49c01dbc35f12c708daa74
treecd61d7bba2f1f799784ffeaf2324d50e6910f1fa
parent05378ede0bff612c4f8b933e4026370d99571e13
[FIX] ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order

Just like for the uninstallation process, records should be
deleted with last created first, as an attempt to reverse
the operations in the right order (to avoid errors due to
dependencies between records).

bzr revid: odo@openerp.com-20131118125640-kdo3t34uszqggu13
openerp/addons/base/ir/ir_model.py