添加功能
This commit is contained in:
@@ -229,7 +229,7 @@ class MeterArchivesLine(models.Model):
|
||||
epitope_values_id = fields.Many2one("yuthon.epitope.values", string="表位置")
|
||||
lessee_id = fields.Many2one("property.tenant.information", string="承租方", store=True)
|
||||
yuthon_property_ids = fields.Many2many("yuthon.property", string="物业信息")
|
||||
last_meter = fields.Date(string="上次抄表日期", compute="_compute_last")
|
||||
last_meter = fields.Date(string="上次抄表日期", compute="_compute_last", store=True)
|
||||
last_dosage = fields.Float(string="上次用量", store=True, group_operator=None, compute="_compute_last")
|
||||
initial_value = fields.Float(string="初始读数")
|
||||
last_read = fields.Float(string="上次读数", store=True, group_operator=None, compute="_compute_last")
|
||||
|
||||
@@ -208,7 +208,7 @@ class MeterWaterLine(models.Model):
|
||||
epitope_values_id = fields.Many2one("yuthon.epitope.values", string="表位置")
|
||||
lessee_id = fields.Many2one("property.tenant.information", string="承租方")
|
||||
yuthon_property_ids = fields.Many2many("yuthon.property", string="物业信息")
|
||||
last_meter = fields.Date(string="上次抄表日期", compute="_compute_last")
|
||||
last_meter = fields.Date(string="上次抄表日期", compute="_compute_last", store=True)
|
||||
last_dosage = fields.Float(string="上次用量", store=True, group_operator=None, compute="_compute_last")
|
||||
last_read = fields.Float(string="上次读数", group_operator=None, compute="_compute_last")
|
||||
meter_date = fields.Date(string="任务日期")
|
||||
|
||||
Reference in New Issue
Block a user