summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-09-15 15:24:43 +0200
committerMartin Trigaux <mat@openerp.com>2014-09-15 15:24:53 +0200
commit32f51689742cdec79ad2bc41ac37bb53fbb6f199 (patch)
treef002f740ac95ecad4f87e072fc7cface7d7fc138 /addons/analytic_user_function
parent42680c9906125a034c2df2d1dd106b00212a27fc (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')
0 files changed, 0 insertions, 0 deletions