Skip to Content
Menu
This question has been flagged
2 Replies
4623 Views

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
Discard
Best Answer

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
Discard
Best Answer

I think you have custom module that has wrong domain

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
3218
1
Jul 24
2447
1
Aug 18
2416
1
Jul 23
713
1
Jun 23
1774