I need to create a new View which can´t be editable and the button Create has to be disabled, but the Import should stay. With create = "false" the import option is disabled too, is there any option to disable the create button but keeping the import button
<record id="historic_quote_sale_order_tree_view" model="ir.ui.view">
<field name="name">historic.tree</field>
<field name="model">historic.sale.order</field>
<field name="arch" type="xml">
<tree string="Historic Sale Form" create="false" edit="false">
<field name="id_offer_register"/>
<field name="id_offer"/>
<field name="num_offer"/>
</tree>
</field>
</record>
there is a possibility to hide create button from the view, without hiding the import and edit buttons by using CSS.
you need to add an HTML field on a related model like