Odoo 13: Check if a user has only a single related employee

前端 未结 0 722
故里飘歌
故里飘歌 2021-01-14 19:18

I need to check if certain user has one and only one employee associated.

So far, I have this:

def _employee_get(obj, cr, uid, context=None):
    ids =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题