Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

ValueError: Invalid field 'group_ids' in leaf "<osv.ExtendedLeaf:

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
invalidvalueerror
1 Répondre
20374 Vues
Avatar
Sarender Reddy

When i was click on settings->General Settings getting  Invalid field 'group_ids' error

And below is the error log. Please Provide solution....!

Odoo Server Error
Traceback (most recent call last):
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/tools/cache.py", line 84, in lookup
    r = d[key]
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/tools/func.py", line 68, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/tools/lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.config_parameter', <function IrConfigParameter._get_param at 0x7fcf414daa60>, 6, 'mail.catchall.domain')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 647, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 689, in dispatch
    result = self._call_function(**self.params)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/web/controllers/main.py", line 930, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/web/controllers/main.py", line 922, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/api.py", line 687, in call_kw
    return call_kw_model(method, model, args, kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/api.py", line 672, in call_kw_model
    result = method(recs, *args, **kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/addons/base/res/res_config.py", line 500, in default_get
    res.update(self.get_values())
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/sale/models/res_config_settings.py", line 137, in get_values
    res = super(ResConfigSettings, self).get_values()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/website/models/res_config_settings.py", line 71, in get_values
    res = super(ResConfigSettings, self).get_values()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/account/models/res_config_settings.py", line 65, in get_values
    res = super(ResConfigSettings, self).get_values()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/product/models/res_config_settings.py", line 31, in get_values
    res = super(ResConfigSettings, self).get_values()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/auth_signup/models/res_config_settings.py", line 21, in get_values
    res = super(ResConfigSettings, self).get_values()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/addons/mail/models/res_config_settings.py", line 26, in get_values
    alias_domain = self.env["ir.config_parameter"].get_param("mail.catchall.domain", default=None)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/addons/base/ir/ir_config_parameter.py", line 60, in get_param
    return self._get_param(key) or default
  File "<decorator-gen-35>", line 2, in _get_param
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/addons/base/ir/ir_config_parameter.py", line 65, in _get_param
    params = self.search_read([('key', '=', key)], fields=['value'], limit=1)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/models.py", line 4136, in search_read
    records = self.search(domain or [], offset=offset, limit=limit, order=order)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/models.py", line 1420, in search
    res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/models.py", line 3688, in _search
    self._apply_ir_rules(query, 'read')
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/models.py", line 3534, in _apply_ir_rules
    where_clause, where_params, tables = Rule.domain_get(self._name, mode)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/addons/base/ir/ir_rule.py", line 114, in domain_get
    query = self.env[model_name].sudo()._where_calc(dom, active_test=False)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/models.py", line 3482, in _where_calc
    e = expression.expression(domain, self)
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/osv/expression.py", line 668, in __init__
    self.parse()
  File "/opt/Proj_TMA_Upgrade/TMA_Upgrade_Sarendar/odoo/osv/expression.py", line 846, in parse
    raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'group_ids' in leaf "<osv.ExtendedLeaf: ('group_ids', 'in', [42, 53, 50, 54, 55, 51, 47, 52, 56, 60, 2, 101, 100, 74, 70, 26, 28, 73, 11, 95, 92, 83, 89, 86, 80, 88, 85, 94, 97, 91, 82, 75, 87, 96, 84, 93, 90, 81, 40, 41, 4, 72, 77, 76, 37, 15, 98, 99, 14, 71, 68, 67, 3, 27, 69, 78, 108, 8, 39, 63, 36, 66, 79]) on ir_config_parameter (ctx: )>"
0
Avatar
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,

By default there is no such an error in Odoo, if there is any custom module used check it.


If you still think the error is from Odoo itself, try to reproduce the error in the runbot.


Most probably the error will be from custom module you have used or developed.


The error message says the given field in search/domain is not existing in the corresponding model.


Thanks

0
Avatar
Ignorer
Sarender Reddy
Auteur

Hi, Thanks for reply.

I have resolved this issue by doing..

In Security-> Records Rules

I have found 'ir.config_parameter' object and for this object i removed below code in Domain Filter field.

['|',('group_ids','in', [g.id for g in user.groups_id]), ('group_ids','=',False)]

@Cybrosys Technologies: Yes i have using custom modules, but in my modules not using 'group_ids' field. I have inherited project module in project module we have group_ids field.

#And with my above change in records rule, Any odoo default functionality will effect?.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
ValueError: Invalid field 'website_id' in leaf "<osv.ExtendedLeaf: ('website_id', 'in', (False, 1)) on product_tag (ctx: )>"
invalid valueerror
Avatar
0
juil. 19
4560
Wrong value for crm.lead.service: <odoo.fields.Selection>
valueerror
Avatar
Avatar
2
juil. 23
3235
Odoo Error Server: raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf))) ValueError: Invalid field 'visibility' in leaf "<osv.ExtendedLeaf: ('visibility', '=', 'user_id') on project_task (ctx: )>"
timesheet invalid valueerror odoov11
Avatar
Avatar
2
mai 20
9024
ValueError: Wrong value for medical.teeth.treatment.state: 'termin\xe3\xa9
valueerror
Avatar
Avatar
5
févr. 20
9812
ValueError: Expected singleton ? Résolu
valueerror
Avatar
Avatar
1
déc. 19
6748
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now