Reputation: 9236
What's the easiest way to create empty view in Odoo, which renders custom HTML?
There are no such type of views in advanced views
Upvotes: 3
Views: 904
Reputation: 26698
To do it with your specifications, add HTML code in sheet
tag:
<record model="ir.ui.view" id="session_form_view">
<field name="name">session.form</field>
<field name="model">openacademy.session</field>
<field name="arch" type="xml">
<form string="Session Form">
<sheet>
Your HTML code here
</sheet>
</form>
</field>
</record>
Upvotes: 2