summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-03-06 12:56:18 +0100
committerDenis Ledoux <dle@odoo.com>2017-03-06 13:02:39 +0100
commiteaddb7caff0dbf55ade04e3c67e47f41cac67dc4 (patch)
treeff59c2f74c1b166542d2433dcdadbf5be3066dc7 /addons/web/static/src
parent8092ee8c6a6f6b164094bca2dc0d0f687404e753 (diff)
[FIX] uninstall: unlink of many2one fields having one2many dependencies
The revision ea9ef7c39d3113b42de626e943425f7d63312c2f introduced a regression: many2one fields having one2many depending on it declared before the declaration of the many2one itself were not unlinked during a module uninstall. As a result, the column in the table was not dropped, and the table itself was not deleted either, not even truncated. Therefore, when you tried to reinstall the module, you had data left. The check of the one2many dependencies must not be performed during an uninstall. Anyway, this wasn't blocking the uninstall of the modules, it was just preventing the field to be deleted, that's all. opw-710291
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions