equal
deleted
inserted
replaced
237 """fill 'addrelated' sub-menu of the actions box""" |
237 """fill 'addrelated' sub-menu of the actions box""" |
238 __regid__ = 'addrelated' |
238 __regid__ = 'addrelated' |
239 __select__ = action.Action.__select__ & one_line_rset() & non_final_entity() |
239 __select__ = action.Action.__select__ & one_line_rset() & non_final_entity() |
240 |
240 |
241 submenu = _('addrelated') |
241 submenu = _('addrelated') |
242 order = 20 |
242 order = 17 |
243 |
243 |
244 def fill_menu(self, box, menu): |
244 def fill_menu(self, box, menu): |
245 # when there is only one item in the sub-menu, replace the sub-menu by |
245 # when there is only one item in the sub-menu, replace the sub-menu by |
246 # item's title prefixed by 'add' |
246 # item's title prefixed by 'add' |
247 menu.label_prefix = self._cw._('add') |
247 menu.label_prefix = self._cw._('add') |