diff options
| author | Denis Ledoux <dle@odoo.com> | 2019-10-17 12:29:44 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-17 19:20:39 +0000 |
| commit | 0a2fcfbce900e78bcee2d6047d5ec5aa793cdf46 (patch) | |
| tree | 979e29f36195d6b471800ca4bad9c866863cfac1 /doc/reference/javascript_reference.rst | |
| parent | 7ee342ee0e8e0e82a200f8428095fef2835eefd7 (diff) | |
[FIX] fields: do not attempt to set foreign keys on views
Users sometimes define custom models on SQL views
e.g. @nseinlet
In such a case, Odoo should not attempt to create foreign keys
as it just cannot work on views.
This could prevent the migration of a database
with such a custom model using a view
when it attempted to fix the missing foreign keys
when updating the modules.
closes odoo/odoo#38988
X-original-commit: dfaea03de57394a9a188f499da664c57dd9adc29
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
