2010/8/5 Aníbal Pacheco <apach...@ladiaria.com.uy>:
> When saving related objects I get:
>
> ProgrammingError: column "id" specified more than once

I guess you have a field called "id" in your object. OpenERP already
implicitly defines an "id" field for each object (it is the primary
key) so you have to call your field something else. Other special
fieldnames to avoid are create_date, write_date, create_uid, write_uid
and active.
Also, OpenERP expects each object's, er, "secondary key" to be called
"name" so if you don't want to call it that you should specify what it
is called with a _rec_name= statement.

Martin
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to