|
Thanks for your answer. OK a task is only related to one project so I am using one2many in project class and many2one in task class. Then I add the field to project view to present the task list of project and when I edit or create a new project, a warning raised as below: --- Warning Traceback (most recent call last): File "netsvc.pyo", line 489, in dispatch File "service\web_services.pyo", line 599, in dispatch File "osv\osv.pyo", line 122, in wrapper File "osv\osv.pyo", line 176, in execute File "osv\osv.pyo", line 167, in execute_cr File "osv\orm.pyo", line 2940, in read File "osv\orm.pyo", line 3060, in _read_flat File "osv\fields.pyo", line 474, in get TypeError: coercing to Unicode: need string or buffer, list found --- So I can't check I I make something whong. Maybe because when I remove the field from view all are OK.
Please some help to solve my prob. Thanks.
|