Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
developmentconfiguration
1 Odpoveď
315 Zobrazenia
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
Zrušiť
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
Best Answer
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
Zrušiť
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

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

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
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
okt 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
sep 25
1180
Google Calendar Sync - Odoo Calendar
development configuration
Avatar
Avatar
Avatar
3
aug 25
2146
Timesheets multiple days
development configuration
Avatar
Avatar
Avatar
3
júl 25
1394
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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