添加功能

This commit is contained in:
zhou
2025-07-30 22:55:07 +08:00
parent 1dd24d7502
commit 6ddbabe86a
@@ -141,7 +141,7 @@ class PropertyReconciliationWizard(models.Model):
'reconciliation_time': fields.Datetime.now(),
'receivable_log': f'当前登录人{rec.env.user.name}于{fields.Datetime.now()}对户名为{rec.bank_id.name_account}进行对账操作,对账应收金额为{rec.receivable_total},实际金额为{rec.actual_total}'
})
management_type_id = self.env['property.management.type'].search([('name', '=', '违约金')])
management_type_id = self.env['yuthon.management.type'].search([('name', '=', '违约金')])
if line.collection_type == 'penalty':
self.env['property.accounts.receivable'].create({
'is_reconciliation': True,