Merge pull request !10467 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-04-01 03:19:26 +00:00
committed by Gitee
@@ -139,9 +139,9 @@
<xpath expr="//field[@name='work_email']" position="after">
<field name="user_state"/>
<field name="user_role_id" domain="[('company_id', '=', company_id), ('is_main', '=', True)]"
options="{'no_open': True}"/>
options="{'no_open': True, 'no_create': True}"/>
<field name="user_role_ids" widget="many2many_tags"
domain="[('company_id', '=', company_id), ('is_main', '!=', True)]" options="{'no_open': True}"/>
domain="[('company_id', '=', company_id), ('is_main', '!=', True)]" options="{'no_open': True, 'no_create': True}"/>
</xpath>
<xpath expr="//field[@name='department_id']" position="attributes">
<attribute name="widget">ztree_select</attribute>