You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
827 B
Python
17 lines
827 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class AccountMoveLine(models.Model):
|
|
_inherit = 'account.move.line'
|
|
|
|
followup_line_id = fields.Many2one('account_followup.followup.line', 'Follow-up Level', copy=False)
|
|
last_followup_date = fields.Date('Latest Follow-up', index=True, copy=False)
|
|
next_action_date = fields.Date('Next Action Date',
|
|
help="Date where the next action should be taken for a receivable item. Usually, "
|
|
"automatically set when sending reminders through the customer statement.")
|
|
invoice_date = fields.Date(related='move_id.invoice_date')
|
|
invoice_origin = fields.Char(related='move_id.invoice_origin')
|