I'm developing a custom module, I just started coding the view I have a context error with my variables, how can I solve this:
record "student_action" model="ir.actions.act_window">
field "name">student
field "res_model">iti.student
record
menuitem "iti_root" name="iti"/>
menuitem "iti_student_menu" name="student"
parent = "iti_root" action="student_action"/>
and my model is:
from odoo.odoo import models, fields
class ItiStudent(models.Model):
_name ="iti.student"
and the message error is :
odoo.tools.convert.ParseError: while parsing
file:/e:/odoo/odoo15/custom_moduls/iti/views/iti_student_views.xml:4 Invalid model name 'iti.student' in action definition. View error context: '-no context-'
I can't find where the problem is.