OE中admin的内置帐号2024-02-13 11:47:58在OE中admin的内置帐号为SUPERUSER_ID,可以用来直接做判断登录用户是否admin from openerp import SUPERUSER_ID if uid == SUPERUSER_ID: return None 上一篇:如何把Python脚本导出为exe程序下一篇:move_base Warning: Invalid argument "/map" passed to canTransform argument target_frame的解决方法