@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user