默认用章范围过滤
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
<group>
|
||||
<field name="title_address" invisible="contract_sort != 'property'"/>
|
||||
<field name="contract_sort"/>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}"/>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}" invisible="is_chapter in [False, 'no']"/>
|
||||
</group>
|
||||
<!-- 右列 -->
|
||||
<group>
|
||||
|
||||
@@ -50,17 +50,22 @@
|
||||
</h1>
|
||||
</div>
|
||||
<group string="审批事项" col="2">
|
||||
<group colspan="2">
|
||||
<field name="name" string="事项标题"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="is_back" invisible="1"/>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="name" string="事项标题"/>
|
||||
<!--<field name="name" string="事项标题"/>-->
|
||||
<field name="users_id"/>
|
||||
<field name="information_categories_ids" widget="many2many_tags" string="业务类型" options="{'no_create': True}"/>
|
||||
<!--<field name="information_categories_ids" widget="many2many_tags" string="业务类型" options="{'no_create': True}"/>-->
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" context="{'search_default_group_by_scope': 1, 'search_default_filter_effective': 1}" invisible="is_chapter in [False, 'no']"/>
|
||||
<!-- <field name="reason" string="事项说明"/>-->
|
||||
<!-- <field name="document_ids" widget="preview_many2many" string="附件清单"/>-->
|
||||
</group>
|
||||
<group>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}}"/>
|
||||
<field name="information_categories_ids" widget="many2many_tags" string="业务类型" options="{'no_create': True}"/>
|
||||
<!--<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}}"/>-->
|
||||
<field name="department_id" invisible="1"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user