When saving related objects I get:

ProgrammingError: column "id" specified more than once

Does anyone experienced this problem?

thanks

On 08/05/2010 09:15 PM, Aníbal Pacheco wrote:
> Thanks Martin!
> I've defined a tree view for my target object and it works!
>
> regards,
> anibal.-
>
>
> On 08/04/2010 11:38 AM, Martin Collins wrote:
>> 2010/8/3 Aníbal Pacheco<apach...@ladiaria.com.uy>:
>>> Hello, I have a simple one2many relationship, and its view defined in
>>> the xml as:
>>>
>>> <field name="related_object" colspan="4" nolabel="1"/>
>>>
>>> Related object has attributes id, attr1, attr2, ...
>>>
>>> The question is: How to *show* attr1, attr2, ... columns in the grid
>>> view? because *only* "ID" column is shown.
>>
>> That depends on the tree view defined for the target object. It is
>> possible to define more than one view but not possible (I believe) to
>> choose different ones for different uses.
>> If you make an inherited view the only way I have found to get it to
>> show is to override fields_view_get().
>>
>>> I'm new to oerp and couldn't find this nowhere search.
>>
>> As someone pointed out to me, this mailing list is not echoed to the
>> web forum so it's best to post there.
>>
>> Martin
>> _______________________________________________
>> Tinyerp-users mailing list
>> http://tiny.be/mailman2/listinfo/tinyerp-users
> _______________________________________________
> Tinyerp-users mailing list
> http://tiny.be/mailman2/listinfo/tinyerp-users
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to