Good Morning, I'm new to Odoo customization, today I'm adding some fields to the original template in ticket creation in the helpdesk, and I want to hide an existing field, but I can not.
I want to hide the tag_ids field - I want to learn because I will do it with others.
When I call the tags_id in the same template and put invisible, it creates the same field with the same name and hides it, I get two equal tags_id
The field I want to hide already exists in the default template and I want it hidden, it is in bold
My view
<?xml version="1.0" encoding= "utf-8"?
<odoo>
<record id= "helpdesk_ticket_tree_view" model= "ir.ui.view">
<field name="inherit_id" ref="helpdesk.helpdesk_tickets_view_tree" />
<field name="model">helpdesk.ticket</field>
<field name="arch" type= "xml">
<field name="name" position="before">
<field name="x_categoria"/>
<field name ="x_attach" attrs="{'invisible': True}" invisible = "True"/>
</field>
</field>
</record>
<record id= "helpdesk_ticket_form_view" model= "ir.ui.view">
<field name="inherit_id" ref="helpdesk.helpdesk_ticket_view_form" />
<field name="model">helpdesk.ticket</field>
<field name="arch" type= "xml">
<field name="team_id" position="after" widget="many2many_tags">
<field name ="x_categoria"/>
<field name ="x_attach"/>
<field name="tag_ids" invisible = "True"/>
</field>
</field>
</record>
</odoo>