콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
18578 화면

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


아바타
취소
베스트 답변

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


아바타
취소
베스트 답변
In inherited Form :
<xpath expr="//form" position="attributes">
    <attribute name="duplicate">0</attribute>
</xpath>
아바타
취소
베스트 답변

How to Hide Duplicate Action 

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


아바타
취소