Il giorno lunedì 29 gennaio 2018 10:05:17 UTC+1, Sergi Almacellas Abellana ha scritto: > 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?
yes, I can provide mor einformation, sorry > > 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 Thanks I made this field. the thing runs, but the field doesn't appear https://gitlab.com/humanitiesNerd/tributi/blob/master/affissione.py#L97 I' d like to be able to debug this not appearance myself How would you do, if you were in my shoes ? Would you use Proteus on a SQLite db for debugging this ? -- 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/192d1f64-65f1-4e20-8584-fb5aab302d9e%40googlegroups.com.
