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

XML validation error when installing Pay to Book on Ecommerce on local enterprise

S'inscrire

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

Cette question a été signalée
developmentconfiguration
1 Répondre
313 Vues
Avatar
Chuck Mako
I running a local odoo enterprise instance using docker, I downloaded the odoo enterprise source code and mounted it to my container, it works very well except when I try to install the app Pay to Book on Ecommerce, I get this error:

2025-11-26 11:02:33 2025-11-26 16:02:33,895 1 ERROR odoo odoo.tools.convert: The XML file '/mnt/enterprise/website_appointment/views/snippets/s_appointments.xml' does not fit the required schema!
2025-11-26 11:02:33 Traceback (most recent call last):
2025-11-26 11:02:33   File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 669, in convert_xml_import
2025-11-26 11:02:33     relaxng.assert_(doc)
2025-11-26 11:02:33   File "src/lxml/etree.pyx", line 3682, in lxml.etree._Validator.assert_

2025-11-26 11:02:33 AssertionError: Element odoo has extra content: template, line 4


I can download this app fine on my online instance but it breaks on a local instance. Heres my odoo.conf:


[options]
addons_path = /usr/lib/python3/dist-packages/odoo/addons,/mnt/enterprise,/mnt/extra-addons

Heres how I mount with docker:


  web:
    image: odoo:18.0
    depends_on:
      - db
    ports:
      - "8069:8069"
    volumes:
      - odoo-data:/var/lib/odoo
      - ./config:/etc/odoo
      - ./addons:/mnt/extra-addons
      - ./enterprise/odoo/addons:/mnt/enterprise
0
Avatar
Ignorer
Codesphere Tech

Hello
Yes it is not good practice to remove the code instead of knowing the root reason of the error but it is okay for local instance working..
If it is possible can you share the code of this file "s_appointments.xml".
Thanks.

Kunjan Patel

Hello,
Better approach: Override or exclude the asset in your custom module's XML:

<delete id="website_appointment.s_online_appointment_000_js"/>
This way your fix survives Odoo updates and stays version-controlled in your module.

Avatar
Kunjan Patel
Meilleure réponse
Hello Chuck Mako
I hope you are doing well

Your Download is Correct
Mount path ./enterprise/odoo/addons:/mnt/enterprise is fine for downloaded sources.
Real Issue : Version mismatch - verify you downloaded Odoo 18 sources:

head -10 ./enterprise/odoo/addons/website_appointment/__manifest__.py
# Should show 'version': '18.0.x.x.x'

If not 18.0, re-download correct version.

I hope this information helps you

Thanks & Regards,
Kunjan Patel
0
Avatar
Ignorer
Chuck Mako
Auteur

Thank you for your answer, just to be sure, I got downloads "Sources" for Odoo 18 enterprise here: https://www.odoo.com/page/download

The addons in the download is in this folder: enterprise/odoo/addons when downloading from the link, that's why my mount is like that. Am I downloading the right source?

Chuck Mako
Auteur

Also I don't get what you mean by checking the manifest because the manifest states the module version, not the odoo version

Chuck Mako
Auteur

There's also the fact that modules like hr work really well, it seems to be only a problem with this module in particular, which is frustrating

Chuck Mako
Auteur

I fixed it by deleting
<asset id="website_appointment.s_online_appointment_000_js" name="Appointment Button 000 JS">
<bundle>web.assets_frontend</bundle>
<path>website_appointment/static/src/snippets/s_online_appointment/000.js</path>
</asset>

At the end of the xml files, obviously its not good to modify the source code but since it's local I guess its not so bad

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é
Dynamic Dashboard Background and Text on Dark/Light Theme Switch in Odoo 16 sh
development configuration
Avatar
Avatar
1
nov. 25
405
Bulk PDF download error
development configuration
Avatar
0
oct. 25
568
I am trying to set up a mass BOM edit. My Python code is giving forbidden opcode(s) error. Odoo 18
development configuration
Avatar
Avatar
Avatar
2
sept. 25
1180
Google Calendar Sync - Odoo Calendar
development configuration
Avatar
Avatar
Avatar
3
août 25
2146
Timesheets multiple days
development configuration
Avatar
Avatar
Avatar
3
juil. 25
1394
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