Hi, I don't know what happened because I created and installed a new module, but the menu item is hidden or not set like others menu. My xml view is configured like this:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="e_retenciones_action" model="ir.actions.act_window">
<field name="name">Retenciones</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">e.retenciones</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
There is no examples click here to add new ModelTitle.
</p>
</field>
</record>
<menuitem
id="e_retenciones_menu"
name="Retenciones ODOO"
action="e_retenciones_action"
parent=""
sequence="0" />
<record id="e_retenciones_view_form" model="ir.ui.view">
<field name="name">Retenciones ODOO</field>
<field name="model">e.retenciones</field>
<field name="arch" type="xml">
<form>
<group>
<field name="razonSocial" />
</group>
</form>
</field>
</record>
<record id="e_retenciones_view_tree" model="ir.ui.view">
<field name="name">Retenciones ODOO List</field>
<field name="model">e.retenciones</field>
<field name="arch" type="xml">
<tree>
<field name="razonSocial"/>
</tree>
</field>
</record>
</data>
</odoo>
And my model have this:
from odoo import fields, models, apiclass eRetenciones (models.Model):
_name = 'e.retenciones'
_description = 'Retenciones ODOO'
razonSocial = fields.Char(string="Razón Social")Please somebody can help me with that. Thanks a lot.