OE中admin的内置帐号时间:2023-03-08 17:04:18 在OE中admin的内置帐号为SUPERUSER_ID,可以用来直接做判断登录用户是否admin from openerp import SUPERUSER_ID if uid == SUPERUSER_ID: return None