Community mailing list archives
Re: Remove Delete Option in Odoo 9by
Sorry if i have misunderstood,
If you want to hide delete option just use delete="false" in the view(tree, form, etc).
<record id="technician_ticket_view_tree" model="ir.ui.view">
<field name="arch" type="xml">
<tree string="Ticket" delete='false'
<field name="technician_id" />
<field name="main_ticket_no" groups="base.group_multi_company" />
On Tue, Oct 25, 2016 at 5:47 PM, Gaurav Kapse <email@example.com> wrote:
Hi Team,I want to hide the 'Delete' option in Action button in Odoo 9.I accomplished this on openerp 7 using view_list.js filefrom static -> src -> js -> view_list.js path location and commenting the Delete statement.I want to know the equivalent file name of view_list.js of openerp 7 in odoo 9.Attached is the screenshot for the reference.Thanks in advance !!Regards,Gaurav