添加功能

This commit is contained in:
李鹏宇
2026-02-14 16:42:05 +08:00
parent 2afbe048dc
commit 5aa0ee7c01
2 changed files with 3 additions and 3 deletions
@@ -177,7 +177,7 @@ class SoongWorkflowRecord(models.Model):
def _search_is_done(self, operator, value):
current_uid = self.env.user.id
base_domain = [
('soong_state', '=', 'done'),
('soong_state', 'in', ['done', 'to_active', 'active']),
('reclaim_state', '=', False),
('users_ids', 'in', current_uid)
]
@@ -4,16 +4,16 @@
<field name="name">yuthon.medical.manage.tree</field>
<field name="model">yuthon.medical.manage</field>
<field name="arch" type="xml">
<tree string="体检费管理" editable="bottom" default_order="year,entry_date desec">
<tree string="体检费管理" editable="bottom" default_order="entry_date desec">
<header>
<button name="property_reimbursement_form" string="提交体检费报销审批" type="object"
class="oe_highlight"/>
</header>
<field name="employee_id" options="{'no_create': True}"/>
<field name="entry_date"/>
<field name="year" column_invisible="1"/>
<!-- <field name="company_id" required="1" optional="show"/>-->
<field name="current_year_remaining" options='{ "fg_color": "blue"}'/>
<field name="entry_date" column_invisible="1"/>
<field name="this_year_quota"/>
<field name="last_year_balance"/>
<field name="this_year_usage" options='{ "fg_color": "red"}'/>