from odoo import api, fields, models, _ class EventQuestionAnswer(models.Model): _inherit = "event.question.answer" extra_renting_ids = fields.One2many( comodel_name="event.question.answer.renting", inverse_name="answer_id", string="Extra Renting", help="These products rentings will be added to the sale order of the booking with the given quantity, prices and duration.", )