bzr revid: christophe@tinyerp.com-20081103212125-pm312gznxolohpim
This commit is contained in:
Christophe Simonis 2008-11-03 22:21:25 +01:00
parent e50667db5d
commit 62977c6be1
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class act_window(osv.osv):
if 'calendar' not in modes:
mobj = self.pool.get(act.res_model)
if mobj._date_name in mobj._columns:
if hasattr(mobj, '_date_name') and mobj._date_name in mobj._columns:
res[act.id].append((False, 'calendar'))
return res