Community mailing list archives

community@mail.odoo.com

error : AttributeError: 'NoneType' object has no attribute '_name'

by
ujwala harishchandra pawade
- 03/30/2015 06:28:02
Hello All,

I am developing customized modules for my organization.

While upgrading my this customized module, I got a following error:

File "/opt/openerp/server/openerp/osv/orm.py", line 468, in __getitem__
    new_data[field_name] = browse_record(self._cr, self._uid, ref_id, obj, self._cache, context=self._context, list_class=self._list_class, fields_process=self._fields_process)
  File "/opt/openerp/server/openerp/osv/orm.py", line 338, in __init__
    self._table_name = self._table._name
AttributeError: 'NoneType' object has no attribute '_name'

Please provide a solution if possible


--
Ujwala,
Freedom Matters Not The Cost !!