I have the following code:
<record model="ir.ui.view" id="view_cdr">
<field name="name">cdr.form</field>
<field name="model">board.board</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="CDR Form">
<board>
<column> <!-- string="Call Detail Record" -->
<action
name="%(SearchFieldsAction)d"
height="150"
width="300" colspan="2"/>
<action
name="%(CallDBAction)d"/>
</column>
</board>
</form>
</field>
</record>
<record model="ir.actions.act_window" id="cdr">
<field name="name">Call Detail Record</field>
<field name="res_model">board.board</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_cdr"/>
</record>
This will generate 2 boards, with some content. But i want to take off the "change layout", that, in my case, is pointless. How can i do this? I try to put the xpath, but it didnt work.