İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5771 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

I think you have custom module that has wrong domain

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
4200
1
Tem 24
3572
1
Ağu 18
3187
1
Mar 25
4401
1
Tem 23
2093