Merge pull request !12067 from dev
This commit is contained in:
李鹏宇
2026-06-12 09:34:34 +00:00
committed by Gitee
@@ -680,7 +680,10 @@ class PropertyAccountsReceivable(models.Model):
charging_range = fields.Text(string="收费区间")
def action_fix(self):
for record in self:
record_ids = self.env["property.accounts.receivable"].browse(
self._context.get("active_ids", self._context.get("active_id"))
)
for record in record_ids:
if record.management_type_id.name == '违约金':
if record.due_date:
rent_id = self.env['property.accounts.receivable'].search([