!10753 添加功能

Merge pull request !10753 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-04-13 13:20:35 +00:00
committed by Gitee
@@ -93,6 +93,8 @@ class PropertyAccountsReceivable(models.Model):
if round(record.delivered1, 2) :
if record.original_amount == round(record.delivered1, 2) + round(record.discount_amount, 2):
record.deposit_state = 'paid'
elif record.original_amount < round(record.delivered1, 2) + round(record.discount_amount, 2):
record.deposit_state = 'paid'
else:
record.deposit_state = 'no_paid'
else: