from odoo import fields, models, api, _ from odoo.exceptions import ValidationError class MisCashFlowForecastLine(models.Model): _inherit = 'mis.cash_flow.forecast_line' active = fields.Boolean(default=True) analytic_account_id = fields.Many2one( comodel_name='account.analytic.account', string='Analytic Account', required=True, help='The account of the forecast line is only for informative ' 'purpose', )