diff --git a/openerp/osv/orm.py b/openerp/osv/orm.py index 69e238b3f7b..fd1eada26da 100644 --- a/openerp/osv/orm.py +++ b/openerp/osv/orm.py @@ -781,7 +781,7 @@ class orm_template(object): 'You may need to add a dependency on the parent class\' module.' % (name, parent_name)) nattr = {} for s in attributes: - new = copy.copy(getattr(pool.get(parent_name), s)) + new = copy.copy(getattr(pool.get(parent_name), s, {})) if s == '_columns': # Don't _inherit custom fields. for c in new.keys():