File "src/lxml/etree.pyx", line 3633, in lxml.etree._Validator.assert_ Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/ubuntu/odoo/fnet_v15/odoo-server/odoo/http.py", line 644, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/ubuntu/odoo/fnet_v15/odoo-server/odoo/http.py", line 302, in _handle_exception raise exception.with_traceback(None) from new_cause AssertionError: Element odoo has extra content: record, line 4
MY XML CODE:
xml version="1.0" encoding="UTF-8"?>
model="ir.ui.view" id="employee_portal_kanban_view">
name="name">Self Employee
name="model">hr.employee.portal
name="arch" type="xml">
name="emp_id"/>
t-name="kanban-box">
t-attf-class="oe_kanban_global_click">
class="fa-solid fa-user" role="img" aria-label="My Profile"/>
t-esc="record.emp_id.value"/>
model="ir.ui.view" id="employee_portal_form_view">
name="name">Self Employee
name="model">hr.employee.portal
name="arch" type="xml">
name="emp_id"/>
model="ir.actions.act_window" id="employee_portal_action_window">
name="name">Self Employee
name="res_model">hr.employee.portal
name="view_mode">kanban,form
name="employee_portal"
id="employee_portal_menu_root"
string="My Profile"
action="employee_portal_action_window"
web_icon="static/description/icon.png"/>
name="My Details"
id="employee_portal_my_details_menu"
parent="employee_portal_menu_root"/>
Thanks in advance :)