mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
debug 管理员才可见,misc
This commit is contained in:
@@ -28,4 +28,5 @@ class IrHttp(models.AbstractModel):
|
||||
result['app_show_poweredby'] = config_parameter.get_param('app_show_poweredby')
|
||||
# 增加多语言
|
||||
result['app_lang_list'] = self.env['res.lang'].search_read([], ['id', 'code', 'name'])
|
||||
result['is_erp_manager'] = self.env.user.has_group('base.group_erp_manager')
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user