我正在创建访问权限。我想为经理显示一个按钮。不要为用户显示该按钮。我该怎么做
<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!