Priyan RockZ
Priyan RockZ

Reputation: 1615

How to remove delete icon in one2many tree view

Please advice me on this.need to remove delete icon.but need to create and edit records. if i set it as readonly then unable to edit also.so what is the better way to implement this

delete icon

Upvotes: 4

Views: 3857

Answers (2)

semira
semira

Reputation: 341

I used it also in a form. like that,

<form string="Employee" version="7.0" create="false" edit="false" delete="false">

it worked.

Upvotes: 0

Sudhir Arya
Sudhir Arya

Reputation: 3743

Add delete="false" in tree tag.

<tree string="My Tree" delete="false">

This will remove delete option from one2many tree view.

Upvotes: 9

Related Questions