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 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
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.
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.