Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5775 Tampilan

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! :)

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Jawaban Terbai

I think you have custom module that has wrong domain

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
4200
1
Jul 24
3573
1
Agu 18
3189
1
Mar 25
4401
1
Jul 23
2093