[FIX] Importing dateutil.relativedelta.relativedelta
[odoo/odoo.git] / openerp / addons / base / ir / ir_ui_view.py
index d2caa41..9bc9ad3 100644 (file)
@@ -22,6 +22,7 @@ import collections
 import copy
 import datetime
 import dateutil
+from dateutil.relativedelta import relativedelta
 import fnmatch
 import logging
 import os
@@ -866,7 +867,7 @@ class view(osv.osv):
             quote_plus=werkzeug.url_quote_plus,
             time=time,
             datetime=datetime,
-            dateutil=dateutil,
+            relativedelta=relativedelta,
         )
         qcontext.update(values)