bemade-addons/account_credit_hold/models/account_followup_report.py
2024-01-08 09:31:39 -05:00

12 lines
330 B
Python

from odoo import models, fields, api, _
class FollowUpReport(models.AbstractModel):
_inherit = 'account.followup.report'
def _get_line_info(self, followup_line):
res = super()._get_line_info(followup_line)
res.update({
'credit_hold': followup_line.account_hold
})
return res