添加功能

This commit is contained in:
李鹏宇
2025-11-20 19:50:21 +08:00
parent 6005e179f1
commit 44349ab088
@@ -223,7 +223,7 @@ class MeterArchivesLine(models.Model):
meter_date = fields.Date(string="任务日期")
meter_date_month = fields.Char(string="任务日期月份", index=True, copy=False)
current_meter = fields.Float(string="本次用量", group_operator=None, compute="_compute_current_meter")
current_meter = fields.Float(string="本次用量", compute="_compute_current_meter")
is_abnormal = fields.Boolean(string="是否异常", compute="_compute_is_abnormal", store=True)
current_read = fields.Float(string="本次读数", group_operator=None)
unit_number = fields.Char(string="单元编号/用途")