!9208 添加功能

Merge pull request !9208 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-03-04 02:49:54 +00:00
committed by Gitee
3 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ class SalaryPartyWizard(models.TransientModel):
self.salary_party_data(row)
def salary_party_data(self, row):
select_year = int(row[0].value)
select_time = int(row[1].value)
select_year = str(int(row[0].value))
select_time = str(int(row[1].value))
employee_id = self.env['hr.employee'].search([('identification_id', '=', row[3].value)], limit=1)
card = row[3].value
fee = row[4].value
@@ -3,7 +3,7 @@
<record id="salary_party_wizard_downloads_action" model="ir.actions.act_url">
<field name="name">模板下载</field>
<field name="target">self</field>
<field name="url">/yuthon_salary/static/others/salary_party.xlsx</field>
<field name="url">/yuthon_salary/static/others/党费-模板v1.0.xlsx</field>
</record>
<record id="salary_party_wizard_form" model="ir.ui.view">
<field name="name">弹窗</field>