Merge pull request !951 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2024-12-27 02:45:58 +00:00
committed by Gitee
@@ -7,16 +7,19 @@
<field name="arch" type="xml">
<xpath expr="//group" position="before">
<header>
<button class="oe_highlight" name="users_add" string="更新用户" type="object"/>
<!-- <button class="oe_highlight" name="users_add" string="更新用户" type="object"/>-->
<button class="oe_highlight" name="users_unlink" string="清除用户" type="object"/>
</header>
</xpath>
<xpath expr="//field[@name='share']" position="after">
<field name="users_ids" widget="many2many_tags" invisible="1"/>
<field name="employee_ids" widget="many2many_tags"/>
<field name="employee_ids" widget="many2many_tags" invisible="1"/>
<field name="department_ids" widget="many2many_tags"/>
<field name="user_role_ids" widget="many2many_tags"/>
</xpath>
<xpath expr="//field[@name='menu_access']" position="attributes">
<attribute name="widget">many2many_checkboxes</attribute>
</xpath>
</field>
</record>
</odoo>