Hi everybody!

I have a function field that depends on a many2one. I display this field inside a tree view. I wanted to be sortable, so I found this doc[0] that talks about it. The examples inside the code[1] are all about to sort from a field that is from the same table. I will want to sort from a different table, but I do not understand how to write that kind of code.

[0] http://doc.tryton.org/4.4/trytond/doc/ref/models/fields.html#ordering
[1] http://hg.tryton.org/modules/timesheet/file/tip/line.py#l287

PS: I also asked this question at irc, but nobody reply, and I need it to leave. That's why I'm asking also here.

Thanks!
--
Luciano Rossi - [email protected]
http://gcoop.coop - Cooperativa de Software Libre
Julián Alvarez 958 CABA C1414DRT +54 11 4771-0055

Visitá www.tiendas.coop - www.nube.coop

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/c5e7f856-02ef-6933-fdb2-887d0d578f38%40gcoop.coop.

Reply via email to