アクセス権を作成しています。マネージャー用のボタンを1つ表示したい。ユーザーにそのボタンを表示しません。どうすればいいのですか
<button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" position="replace"/>
このコードは、そのボタンを非表示にするために使用しています。ただし、両方(マネージャーとユーザー)に対して非表示になります。次に、次のコードを試します
<button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" position="replace" groups="user"/>
openerp でユーザーグループを作成しました。
しかし、次のエラーが発生します:
ValidateError
Error occurred while validating the field(s) arch: Invalid XML for View Architecture!