>    On the extension, I need somthing like this (I know this is the wrong 
> way):   
> ............
>    @classmethod
>    def __setup__(cls):
>         super(My_class, cls).__setup__()
>         cls._error_messages.update({
>             'only_capital_letters': continue,                
>         })

try this : cls._error_messages['only_capital_letters'] = 'your text'

-- 
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/c16a2658-af62-4397-8f53-1c87c1ad85d4%40googlegroups.com.

Reply via email to