web/views/boxes.py
branchtls-sprint
changeset 1752 4b0b912ff5b7
parent 1739 78b0819162a8
child 1848 981b8dc9e4d0
equal deleted inserted replaced
1751:59e9a4f5bfea 1752:4b0b912ff5b7
    36     title = _('actions')
    36     title = _('actions')
    37     order = 2
    37     order = 2
    38     # class attributes below are actually stored in the uicfg module since we
    38     # class attributes below are actually stored in the uicfg module since we
    39     # don't want them to be reloaded
    39     # don't want them to be reloaded
    40     appearsin_addmenu = uicfg.actionbox_appearsin_addmenu
    40     appearsin_addmenu = uicfg.actionbox_appearsin_addmenu
    41 
       
    42     @classmethod
       
    43     def vreg_initialization_completed(cls):
       
    44         """set default category tags for relations where it's not yet defined in
       
    45         the category relation tags
       
    46         """
       
    47         cls.appearsin_addmenu.init(cls.schema)
       
    48 
    41 
    49     def call(self, view=None, **kwargs):
    42     def call(self, view=None, **kwargs):
    50         _ = self.req._
    43         _ = self.req._
    51         title = _(self.title)
    44         title = _(self.title)
    52         if self.rset:
    45         if self.rset: