summaryrefslogtreecommitdiff
path: root/addons/mail/__init__.py
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-08-31 15:55:09 +0200
committerMartin Geubelle <mge@odoo.com>2018-09-03 13:40:22 +0200
commite27340715785187467e3b3385fb4682e580122b7 (patch)
tree5a502ce3ba32500990f925c5a420a45315887fb3 /addons/mail/__init__.py
parentd6a0e9db819ea279fabdaa427dca81247fa9608c (diff)
[FIX] mail: consider `activity` as a valid view type
The recently introduced `activity` view (see rev. odoo/odoo@1de9496 has not received all the consideration it deserves as a real view type (no RNG, not in the valid view `type`, no doc, etc.). It was currently only working based on a `_get_default_activity_view` method. Even if the RNG is currently really basic, its grammar could evolve in the future. This was causing an issue when opening Studio with this view as a default view with an invalid type was created.
Diffstat (limited to 'addons/mail/__init__.py')
-rw-r--r--addons/mail/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/__init__.py b/addons/mail/__init__.py
index f2cd96d8c83..9226c7d74ad 100644
--- a/addons/mail/__init__.py
+++ b/addons/mail/__init__.py
@@ -3,3 +3,4 @@
from . import models
from . import wizard
from . import controllers
+from . import validation