!6556 添加功能

Merge pull request !6556 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-11-19 06:22:10 +00:00
committed by Gitee
@@ -58,7 +58,7 @@ class PropertyAccountsReceivable(models.Model):
else:
self.void_date = False
@api.depends('discount_amount')
@api.onchange('discount_amount')
def _onchange_discount_amount(self):
for record in self:
if record.discount_amount: