This question has been flagged
3 Replies
15678 Views

Hello,  

I am new to Odoo. How can I remove the "Duplicate" option from actions dropdown in the Employees app. I am using odoo 10.0.

 Following is the link to the image for better understanding.

https://i.stack.imgur.com/IWypg.png


Avatar
Discard
Best Answer

Hi 

Look This 


https://apps.openerp.com/apps/modules/9.0/web_duplicate_visibility/

<record id="view_form_id" model="ir.ui.view">
  <field name="name">view name</field>
  <field name="model">my.model</field>
  <field name="priority" eval="10"/>
  <field name="arch" type="xml">
     <form string="..." duplicate="0">
     ...
     </form>
  </field>
</record>


Try to add 

<form string="..." duplicate="0">

To your Form


Avatar
Discard
Best Answer
In inherited Form :
<xpath expr="//form" position="attributes">
    <attribute name="duplicate">0</attribute>
</xpath>
Avatar
Discard
Best Answer

How to Hide Duplicate Action 

https://www.youtube.com/watch?v=IoiailfpSFg


Avatar
Discard