odoo 代码中引入外部ID 不要直接ref 或eval ,那是在xml中的用法,今天在此浪费半个多小时 dvalue['khlx'] = self.env.ref("gongyingsh.khlx_khgs").id