Tuesday 3 December 2019

Remove 'CREATE AND EDIT' from One2many and/or many2one



Remove 'CREATE AND EDIT'  from One2many and/or many2one :

In Tree view:


<tree string="Journal Items" create="false" edit="false" delete="false">


In Kanban View:


<kanban class="o_kanban_mobile" create="false" delete="false">

Options:

- create="false" => This will not allow to create record on the fly

- edit="false" => no option to edit the record

- delete="false" => do not allow the user to delete the record

- limit="10" => This will limit the records in tree view pager


1 comment:

  1. Hi,
    Thanks for sharing such a great article with us. This surely helps me in my work.Thanks a lot. if you want Auditors in bangalore GST Registration Consultants in bangalore click on it

    ReplyDelete