添加功能
This commit is contained in:
@@ -332,7 +332,8 @@ class PropertyReconciliationWizard(models.Model):
|
||||
]
|
||||
# 检查是否已有相同记录
|
||||
existing_record = self.env['property.accounts.receivable'].search(check_domain)
|
||||
is_reconciliation = line.amount == line.rent
|
||||
is_reconciliation = line.amount == round(line.rent, 2)
|
||||
|
||||
# 用备注的的开始日期和结束日期
|
||||
date_pattern = r'(\d{4}-\d{2}-\d{2})[至-](\d{4}-\d{2}-\d{2})'
|
||||
date_match = re.search(date_pattern, line.remake or '')
|
||||
|
||||
Reference in New Issue
Block a user