Hi i've got a field which contains contact information so i used the inheritence so i can get only name, adress, email, phone num but i'm getting all the view showed with all the existing fields. The xml code:
<record model="ir.ui.view" id="laboratory_view">
<field name="name">new view for res_partner</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<field name="name"/>
<field name="adress"/>
<field name="phone"/>
<field name="email"/>
</field>
</record>