El 28/01/18 a les 18:12, Cato Nano ha escrit: > Some time ago I asked how to have on my Bolletta lines fields defined on the > main entity, the Bolletta > > I did this with some date fields and it worked like a charm. > > Now I need to read the value of a selection field, defined on Bolletta > > In fact, I have to assign the "invisible" state to a field on the base of a > selection on a selection field on Bolletta > > It doesn' t work >
What does not work? Could you provide more information please? > How do I read the content of a selection field from a line ? If you are going to evaluate it on pyson, you should create a functional field. Here is an example: http://hg.tryton.org/modules/account_invoice/file/6c85f394741c/invoice.py#l1455 -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk -- 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/f9fc4472-4c52-296a-aa58-b9902da16661%40koolpi.com.
