From 8862ad2b3b9463a37d505d73a7e716164562d228 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 16 May 2025 15:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/models/yuthon_salary_year.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_salary/models/yuthon_salary_year.py b/yuthon_salary/models/yuthon_salary_year.py index c8a9bc03e..ce0baee31 100644 --- a/yuthon_salary/models/yuthon_salary_year.py +++ b/yuthon_salary/models/yuthon_salary_year.py @@ -25,8 +25,8 @@ class YuthonSalaryYear(models.Model): performance_salary = fields.Float(string="绩效奖金") # 综合 sum_salary = fields.Float("应发合计", compute='_compute_company_specific_sum', store=True) - buckle_salary = fields.Float(string="扣个税", compute='_compute_buckle_salary', store=True, digits=(16, 4)) - solid_salary = fields.Float(string="实发年终奖", compute='_compute_solid_salary', store=True, digits=(16, 4)) + buckle_salary = fields.Float(string="扣个税", compute='_compute_buckle_salary', store=True) + solid_salary = fields.Float(string="实发年终奖", compute='_compute_solid_salary', store=True) create_date = fields.Date(string="创建日期") company_id = fields.Many2one('res.company', related="employee_id.company_id", string="公司") personal_tax = fields.Many2one('yuthon.personal.rule', string="个人所得税规则")