def ui_description(self): """ Return the "description" of the object for the current locale. """ return self.descriptionByLang(get_my_lang_code())
def ui_name(self): """ Return the "name" of the object for the current locale. """ return self.nameByLang(get_my_lang_code())