Hi,
> I have the field "name" in my class, but it still brings the ID. I revised
> the code and I can find nothing wrong. I'm comparing with other class of
> the same type that is correct.
>
> I already exclude the .pyc files and recompiled and it still wrong.
>
> Do you have any suggestions?
>
Try adding :
rec_name = 'name'
to your model definition. "rec_name" is a keyword which is used by the
framework to decide what is the main displaying field for your model.
You can further tune what is displayed by overriding the get_rec_name
function (
http://doc.tryton.org/2.8/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.get_rec_name
).
Jean CAVALLO
Coopengo