Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

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

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
developmentconfiguration
1 Antworten
196 Ansichten
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
Verwerfen
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
Beste Antwort
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
Verwerfen
Chuck Mako
Autor

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
Autor

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
Autor

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
Autor

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

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Dynamic Dashboard Background and Text on Dark/Light Theme Switch in Odoo 16 sh
development configuration
Avatar
Avatar
1
Nov. 25
380
Bulk PDF download error
development configuration
Avatar
0
Okt. 25
558
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
1158
Google Calendar Sync - Odoo Calendar
development configuration
Avatar
Avatar
Avatar
3
Aug. 25
2097
Timesheets multiple days
development configuration
Avatar
Avatar
Avatar
3
Juli 25
1372
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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