Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

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

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
developmentconfiguration
1 Svar
197 Visninger
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
Kassér
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
Bedste svar
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
Kassér
Chuck Mako
Forfatter

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
Forfatter

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
Forfatter

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
Forfatter

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

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
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
sep. 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
jul. 25
1372
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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