Odoo modules related to events management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
423 B

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