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

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

S'inscrire

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

Cette question a été signalée
communityjsowlodoo16features@niyas
2 Réponses
27167 Vues
Avatar
Nikhil Nakrani

when i click on button and my code return action in Odoo 16.0 Community version

this error coming i try to resolve but not idea.

Please anyone help.

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
    at handleError (http://localhost:8069/web/assets/debug/web.assets_common.js:17973:35) (/web/static/lib/owl/owl.js:1579)
    at owl.App.handleError (http://localhost:8069/web/assets/debug/web.assets_common.js:22181:20) (/web/static/lib/owl/owl.js:5787)
    at RootFiber.complete (http://localhost:8069/web/assets/debug/web.assets_common.js:18182:26) (/web/static/lib/owl/owl.js:1788)
    at Scheduler.processFiber (http://localhost:8069/web/assets/debug/web.assets_common.js:22026:27) (/web/static/lib/owl/owl.js:5632)
    at Scheduler.processTasks (http://localhost:8069/web/assets/debug/web.assets_common.js:22002:22) (/web/static/lib/owl/owl.js:5608)
    at http://localhost:8069/web/assets/debug/web.assets_common.js:21992:68 (/web/static/lib/owl/owl.js:5598)

Caused by: TypeError: this.child.mount is not a function
    at VToggler.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:16436:24) (/web/static/lib/owl/owl.js:42)
    at B.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:17478:35) (/web/static/lib/owl/owl.js:1084)
    at B.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:17478:35) (/web/static/lib/owl/owl.js:1084)
    at ComponentNode.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:18944:18) (/web/static/lib/owl/owl.js:2550)
    at VMulti.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:16830:27) (/web/static/lib/owl/owl.js:436)
    at ComponentNode.mount (http://localhost:8069/web/assets/debug/web.assets_common.js:18944:18) (/web/static/lib/owl/owl.js:2550)
    at VList.patch (http://localhost:8069/web/assets/debug/web.assets_common.js:17699:32) (/web/static/lib/owl/owl.js:1305)
    at B.patch (http://localhost:8069/web/assets/debug/web.assets_common.js:17513:40) (/web/static/lib/owl/owl.js:1119)
    at ComponentNode._patch (http://localhost:8069/web/assets/debug/web.assets_common.js:18974:23) (/web/static/lib/owl/owl.js:2580)
    at RootFiber.complete (http://localhost:8069/web/assets/debug/web.assets_common.js:18157:22) (/web/static/lib/owl/owl.js:1763)

1
Avatar
Ignorer
Avatar
Lijo
Meilleure réponse

Component.mount method has been removed in OWL 2.0 (Odoo 16.0). Details here. I suspect that is the cause of this error. 

In OWL 2.0, you can use the mount helper method instead, to mount an OWL component to dom.

/** @odoo-module **/

import { whenReady, mount } from "@odoo/owl";

class MyComponent extends Component {...}

whenReady().then(() => {
    mount(MyComponent, document.getElementById("my-id"));
});


7
Avatar
Ignorer
Muhammad Ihza Putra Handayani

i have tried your code but it still not work, maybe i have different eror?

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1473:101)
at owl.App.handleError (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:2098:29)
at Fiber._render (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1498:19)
at Fiber.render (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1496:6)
at ComponentNode.initiateRender (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1564:47)

Caused by: TypeError: Cannot read properties of undefined (reading 'value')
at get aggregates (http://192.168.11.128:8069/web/assets/765-0bac838/web.assets_backend.min.js:16785:116)
at aggregates (patch ListRenderer_custom) (http://192.168.11.128:8069/web/assets/765-0bac838/web.assets_backend.min.js:1663:22)
at ListRenderer.template (eval at compile (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:2056:374), <anonymous>:183:44)
at Fiber._render (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1497:96)
at Fiber.render (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1496:6)
at ComponentNode.initiateRender (http://192.168.11.128:8069/web/assets/728-475f218/web.assets_common.min.js:1564:47)

Avatar
Nikhil Nakrani
Auteur Meilleure réponse

Thanks Lijo

0
Avatar
Ignorer
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é
How can i show a notification once i got an api response in through a controller
js owl v15 odoo16features
Avatar
Avatar
1
août 24
3535
Child Component not get props from parent - Owl - Odoo16
js components owl odoo16features
Avatar
1
déc. 23
3596
[Owl] How to hide/show form elements? v16 Résolu
web js owl OWL odoo16features
Avatar
Avatar
1
juin 24
4330
Forbidden owl directive used in arch (t-on-click).
javascript js owl odoo16features v17
Avatar
Avatar
Avatar
2
avr. 24
6482
Disable editing in the Form View Odoo 16 JS
javascript js owl OWL odoo16features
Avatar
0
déc. 23
2460
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