feat(fusion_accounting_followup): inherit account.move.line for level tracking

Made-with: Cursor
This commit is contained in:
gsinghpal
2026-04-19 20:47:37 -04:00
parent 2ddc600d65
commit 06dafc31c1
5 changed files with 51 additions and 1 deletions

View File

@@ -2,3 +2,4 @@ from . import fusion_followup_level
from . import fusion_followup_run
from . import fusion_followup_text_cache
from . import res_partner
from . import account_move_line

View File

@@ -0,0 +1,14 @@
"""Inherit account.move.line: track last follow-up level."""
from odoo import _, api, fields, models
class AccountMoveLine(models.Model):
_inherit = "account.move.line"
fusion_followup_level_id = fields.Many2one(
'fusion.followup.level', copy=False,
help="Last follow-up level at which this line was contacted.")
fusion_followup_last_run_date = fields.Datetime(
copy=False,
help="When the line was most-recently included in a follow-up.")