I am new to Odoo. I am trying to create a demo webpage in Odoo 11 as per https://www.odoo.yenthevg.com/creating-webpages-controllers-odoo10/
I am getting following error. Please help me to resolve this.
'c:\program files (x86)\odoo 11.0\server\odoo\addons\create_webpage_demo\views\example_webpage.xml' does not fit the required schema ! and AssertionError: Document does not comply with schema
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Check also your manifest:
Maybe you try to load an QWEB-File in data-Object
'data': [
'views/something.xml',
# Wrong: 'static/src/xml/your_xml.xml'
],
'qweb': [
'static/src/xml/your_xml.xml'
],
Thank you very much.
I changed the code from '<template id="example_page" name="Example page" page="True"> to
<template id="example_page" name="Example page" > and it worked.
Check if this tag properly defined.
<odoo>
<data>
</data>
</odoo>
OR
<openerp>
<data>
</data>
</openerp>
Hi,
There is something wrong in the file example_widget.xml file you have added. Either it can be capital letter instead of small letter. Please update the question along with the above file or cross check the corresponding file comparing with the file in the link you refered.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up