diff options
| author | Raphael Collet <rco@openerp.com> | 2016-08-17 15:17:15 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-08-17 15:21:26 +0200 |
| commit | d32871570ac5c2c1f8cdcba734f6e68bbfe58be2 (patch) | |
| tree | 76e98e8b51a10ba30ed31b2f0f9f73c46d5047b4 /addons/web/static/src/js/framework | |
| parent | 3846d35d02304da15225fcbce1fec07ee580713a (diff) | |
[FIX] base: extrapolate table name on uninstall for ir_model_constraints
When uninstalling a module, the model *may* be removed from the registry
before the removal of the model constraints; to prevent crashing in
those cases, a simple replace('.','_') on the model name should allow to
obtain the table name in these cases.
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
