Il giorno mercoledì 17 gennaio 2018 08:20:45 UTC+1, Cato Nano ha scritto:
 
> Aaah it' s like this
> 
> bollettaDataCommissione = fields.Function(fields.Date('tributi.bolletta', 
> 'Data di Commissione'), 'on_change_with_bollettaDataCommissione')
> 
> @fields.depends('bolletta')
> def on_change_with_bollettaDataCommissione(self, name=None):
>     if self.bolletta:
>          return self.bolletta.dataCommissione

The date field works, but where' s my label ? 

The field name is shown instead of the field string, as you can see here

https://imgur.com/a/tu5fL

-- 
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/f14765de-d2e4-4376-987e-83aa996f93e1%40googlegroups.com.

Reply via email to