!6666 添加功能

Merge pull request !6666 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-11-24 10:06:42 +00:00
committed by Gitee
@@ -627,7 +627,7 @@ class PropertyReconciliationLine(models.Model):
def onchange_remake(self):
for line in self:
actual_date = fields.Date.to_date(line.reconciliation_id.bank_id.start_time + relativedelta(hours=8))
if round(line.rent or 0, 2) == 0 and line.collection_type != 'penalty':
if round(line.amount or 0, 2) == 0 and line.collection_type != 'penalty':
line.remake = ""
return
if line.amount and line.collection_type != 'penalty':