归档附件

This commit is contained in:
pengyuthon
2026-02-11 09:46:50 +08:00
parent aaf6752682
commit ef9ecfd99e
@@ -40,6 +40,9 @@
domain="[('note_setting_id.users_role_ids', 'in', user_role_ids)]"/>
<field name="comment_note" placeholder="请输入意见内容..." style="width: 100%;"/>
</div>
<group>
<field name="document_ids" widget="preview_many2many" force_save="1"/>
</group>
<group>
<field name="is_this_company"/>
<field name="circulated_employee_ids" widget="many2many_tags" options="{'no_create': True}"
@@ -116,7 +119,6 @@
<label for="is_selection" string="是否自动选择"/>
<field name="is_selection" nolabel="1"/>
<field name="company_id" invisible="1"/>
<field name="employee_ids1" widget="many2many_tags" string="人员范围" invisible="1"/>
<field name="employee_ids" widget="many2many_tags" string="人员范围"
domain="[('company_id', '=', company_id), ('id', 'in', employee_ids1)] if is_this_company else [('id', 'in', employee_ids1)]"
@@ -125,7 +127,6 @@
<field name="circulated_employee_ids" invisible="node_btn_name == '退回'"
widget="many2many_tags" options="{'no_create': True}"
domain="[('company_id', '=', company_id),('id', 'not in' , filter_personnel_ids)]"/>
<!-- <field name="add_employee_ids" invisible="node_btn_name == '退回'" widget="many2many_tags" options="{'no_create': True}"/>-->
</group>
</group>
<div invisible="node_btn_name != '收回'">