feat(fusion_accounting_followup): inherit account.move.line for level tracking
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
|
||||
14
fusion_accounting_followup/models/account_move_line.py
Normal file
14
fusion_accounting_followup/models/account_move_line.py
Normal 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.")
|
||||
Reference in New Issue
Block a user