字段显示

This commit is contained in:
李鹏宇
2026-06-03 18:25:42 +08:00
parent b36212e5a3
commit 3556cefacd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,4 +3,5 @@
from . import yuthon_notice
from . import yuthon_notice_type
from . import yuthon_confirm_users
from . import hr_department
+1 -1
View File
@@ -80,7 +80,7 @@
</group>
<!--<group col="3" string="发布范围">-->
<group string="发布范围">
<field name="department_ids" widget="many2many_tags" context="{'tree_view_ref':'yuthon_notice.view_yuthon_cs_tree'}" domain="[('company_id', '=', company_id), ('name', 'not like', '天河投资集团')] if is_this_company else [('name', 'not like', '天河投资集团')]" options="{'no_create': True}"/>
<field name="department_ids" widget="many2many_tags" context="{'tree_view_ref':'yuthon_notice.view_yuthon_cs_tree', 'show_parent_department': True}" domain="[('company_id', '=', company_id), ('name', 'not like', '天河投资集团')] if is_this_company else [('name', 'not like', '天河投资集团')]" options="{'no_create': True}"/>
</group>
<!--<group>-->
<!-- <field name="users_role_group_ids" widget="many2many_tags" domain="[('company_id', '=', company_id)] if is_this_company else []" options="{'no_create': True}"/>-->