I have added a Many2Many fields and I want to hide/remove "create" button from popup which is opening while clicking on "Add an item". I want to keep "Select" and "Cancel" option on button click. How can I achieve it?
Model:
class testclass(models.Model):
_name = 'test_model'
test_field= fields.Many2many('test_pbx_grid', column1='pbx_gid', column2='pbx_uid', string='PBX Grid')
View :
<record model="ir.ui.view" id="view_pbx_groups_form">
<field name="name">Group Details</field>
<field name="model">test_model</field>
<field name="arch" type="xml">
<form string="Group Details" >
<field name="test_field"/>
</group>
</form>
</field>
</record>