File "/home/odoo/src/odoo/saas-14.2/odoo/osv/expression.py", line 640, in parse
raise ValueError("Invalid field %s.%s in leaf %s" % (model._name, path[0], str(leaf)))
ValueError: Invalid field crm.team.member.team_id in leaf ('team_id', '=', 12)Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- المشروع
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
1175
أدوات العرض
Hi,
The error says invalid field i.e you are returning or searching any model on domain
('team_id', '=', 12), here your are comparing team_id ( crm.team ) with only id .
When you print team_id it shows like say crm.team(12) , your domain should look like ('crm.team(12)', '=', 'crm.team(12)')
Thanks
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل