bugfix
bzr revid: christophe@tinyerp.com-20081103212125-pm312gznxolohpim
This commit is contained in:
parent
e50667db5d
commit
62977c6be1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue