字段显示
This commit is contained in:
@@ -3,4 +3,5 @@
|
||||
from . import yuthon_notice
|
||||
from . import yuthon_notice_type
|
||||
from . import yuthon_confirm_users
|
||||
from . import hr_department
|
||||
|
||||
|
||||
@@ -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}"/>-->
|
||||
|
||||
Reference in New Issue
Block a user