党费,餐费弹窗

This commit is contained in:
李鹏宇
2026-01-13 10:10:56 +08:00
parent 8ff1fdfe3a
commit 65923b4fd5
3 changed files with 3 additions and 4 deletions
@@ -92,7 +92,6 @@
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}" domain="[('department_id', 'in', department_ids)] if department_ids else [('company_id', '=', company_id)]"/>
<field name="is_issues" invisible="is_issues == False"/>
<field name="meal"/>
<field name="documents_ids" widget="preview_many2many"/>
<field name="details"/>
<field name="department_id" invisible="1"/>
</group>
@@ -25,13 +25,13 @@
<tree string="餐费" editable="bottom">
<field name="select_year"/>
<field name="select_time"/>
<field name="employee_id" column_invisible="1"/>
<field name="employee_id"/>
<field name="number_breakfasts"/>
<field name="number_lunches"/>
<field name="total_payment"/>
<field name="company_id" column_invisible="1"/>
<field name="toll_state"/>
<button name="toll_confirm" string="确认已缴费" type="object" class="oe_highlight" invisibile="toll_state == 'done'"/>
<button name="toll_confirm" string="确认已缴费" type="object" class="oe_highlight" confirm="注意:交完费了才点这个确认,是否确认?" invisible="toll_state == 'done'"/>
</tree>
</field>
</record>
@@ -31,7 +31,7 @@
<field name="total_payment"/>
<field name="company_id" column_invisible="1"/>
<field name="toll_state"/>
<button name="toll_confirm" string="确认已缴费" type="object" class="oe_highlight" invisibile="toll_state == 'done'"/>
<button name="toll_confirm" string="确认已缴费" type="object" class="oe_highlight" confirm="注意:交完费了才点这个确认,是否确认?" invisible="toll_state == 'done'"/>
</tree>
</field>
</record>