Hi,
   I'm using tryton 3.8. Is there anyway to override an _error_messages on a 
class extension?

   For example, in the original class I got this:

............
   @classmethod
   def __setup__(cls):
        super(My_class, cls).__setup__()
        cls._error_messages.update({
            'only_capital_letters':
                'You have to write the field on CAPITAL LETTERS',
        })     

..........

   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,                
        })
..........

   Thanks. Regards
             Francisco

-- 
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/d708a4c0-b08b-4f18-86ac-40e8c26cf478%40googlegroups.com.

Reply via email to