diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-09-15 15:24:43 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-09-15 15:24:53 +0200 |
| commit | 32f51689742cdec79ad2bc41ac37bb53fbb6f199 (patch) | |
| tree | f002f740ac95ecad4f87e072fc7cface7d7fc138 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 42680c9906125a034c2df2d1dd106b00212a27fc (diff) | |
[FIX] orm: do not drop foreign keys of transient models
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field.
The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
