!11272 Merge branch 'dev' of <a href="https://gitee.com/jinan-pengyusen-data/gzth">https://gitee.com/jinan-pengyusen-data/gzth</a> into dev_wang
Merge pull request !11272 from 李鹏宇/dev_wang
This commit is contained in:
@@ -55,7 +55,7 @@ class ExportDateWizard(models.TransientModel):
|
||||
"""导出请假情况"""
|
||||
active_ids = json.loads(self.active_ids) if self.active_ids else []
|
||||
|
||||
domain = [('date_from', '>=', start_date), ('date_from', '<', end_date)]
|
||||
domain = [('date_from', '>=', start_date), ('date_from', '<', end_date), ('state', '!=', 'refuse')]
|
||||
if active_ids:
|
||||
domain = [('id', 'in', active_ids)] + domain
|
||||
|
||||
|
||||
@@ -251,9 +251,9 @@
|
||||
string="党支部"/>
|
||||
<field name="team_meet_id" readonly="1"/>
|
||||
<field name="board_meet_id" readonly="1"/>
|
||||
<field name="district_state_id" readonly="1"/>
|
||||
<field name="district_government_id" readonly="1"/>
|
||||
<field name="district_party_id" readonly="1"/>
|
||||
<field name="district_state_id" readonly="1" column_invisible="True"/>
|
||||
<field name="district_government_id" readonly="1" column_invisible="True"/>
|
||||
<field name="district_party_id" readonly="1" column_invisible="True"/>
|
||||
<field name="remarks" readonly="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
@@ -286,7 +286,6 @@
|
||||
<field name="request_hour_from"/>
|
||||
<field name="request_hour_to"/>
|
||||
<field name="employee_ids"/>
|
||||
<field name="employee_ids_short"/>
|
||||
<field name="address"/>
|
||||
<field name="remarks"/>
|
||||
<templates>
|
||||
@@ -317,13 +316,13 @@
|
||||
<!-- 参与人 -->
|
||||
<t t-if="record.employee_ids.raw_value and record.employee_ids.raw_value.length">
|
||||
<div style="color: #555; font-size: 13px; margin-bottom: 4px;">
|
||||
参与人 <field name="employee_ids_short"/>等共<t t-esc="record.employee_ids.raw_value.length"/>人
|
||||
参与人 <field name="employee_ids" widget="many2many_tags"/>共<t t-esc="record.employee_ids.raw_value.length"/>人
|
||||
</div>
|
||||
</t>
|
||||
<!-- 会议室 -->
|
||||
<t t-if="record.address.raw_value">
|
||||
<div style="color: #555; font-size: 13px; margin-bottom: 4px;">
|
||||
会议室 <field name="address"/>
|
||||
地点 <field name="address"/>
|
||||
</div>
|
||||
</t>
|
||||
<!-- 备注 -->
|
||||
|
||||
Reference in New Issue
Block a user