The project.project model has changes between Odoo v9 and Odoo v10. The field "state" doesn't exist any more.
It seems to me that you are using the OCA-module project_task_default_stage.
This module is not ported for v10 yet.
A quick fix is to modify the file: project_task_default_stage/models/project.py
In the project model-definition, under type_ids, remove the part about states:
Original:
class ProjectProject(models.Model):
_inherit = 'project.project' def _get_type_common(self):
ids = self.env['project.task.type'].search([
('case_default', '=', True)])
return ids
type_ids = fields.Many2many(
comodel_name='project.task.type', relation='project_task_type_rel',
column1='project_id', column2='type_id', string='Tasks Stages',
states={
'close': [('readonly', True)],
'cancelled': [('readonly', True)]
}, default=_get_type_common)
}
"Fixed":
class ProjectProject(models.Model):
_inherit = 'project.project' def _get_type_common(self):
ids = self.env['project.task.type'].search([
('case_default', '=', True)])
return ids
type_ids = fields.Many2many( comodel_name='project.task.type', relation='project_task_type_rel',
column1='project_id', column2='type_id', string='Tasks Stages',
default=_get_type_common)
}
(Note: You might have to fix the indentation of this example code.)