@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user