콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5858 화면

Hi everyone! i´m a newbie in Odoo and hope you can help me to fix this error:

When i go to CRM > Sales  and click on Create button or trying to edit existing opportunities, it goes to this error message:

Error:
Rastreo de error (Tracking Error):
Error: Unknown field user_id.department_id in domain
    at Class.compute (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:322:55)
    at evalModifier (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1203:91)
    at Class._evalModifiers (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1206:44)
    at Class._registerModifiers (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1407:101)
    at Class._renderFieldWidget (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1412:550)
    at Class._renderInnerGroupField (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1688:381)
    at https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1685:44
    at Array.forEach (<anonymous>)
    at Class._renderInnerGroup (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1682:75)
    at Class._renderTagGroup (https://fastcom-sa.odoo.com/web/content/561-4d46000/web.assets_backend.js:1697:248)

All suggestions are welcome, Thanks in advance! :)

아바타
취소
베스트 답변

Hi Cesar:

As mentioned by Hassan, one of the domain configurations seems to be incorrect, probably in one of the custom modules.

You can do the following to identify the source of the problem.

  1. Activate developer mode

  2. Go to Settings > Technical > Window Actions and search for rows using a filter of Domain Value contains user_id

  3. Check whether one of them has user_id.department_id on the right hand side of the domain expression

To confirm that this is the cause of the problem, you can try clearing out the domain field and see if the error goes away. Make sure you try this in a  local/dev environment.

The fix would depend on the requirement and the fields in the underlying model.

아바타
취소
베스트 답변

I think you have custom module that has wrong domain

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
4258
1
7월 24
3617
1
8월 18
3229
2
8월 25
4041
1
3월 25
4446