Closed huguesdk closed 5 months ago
Why not including all the attendees in the booking instead (res.partner)?
@pedrobaeza I think the partners may not exist. If Jane Doe makes a booking for a training and says that she will show up with 4 people, then 3 of those people are not known to the people providing the training.
Yeah, that's possible. Then this can be part also of the main module, and having this field as computed writable, being automatically incremented for the combination + attendees (if switched to m2m instead of m2o).
i’m not sure i understand exactly what you mean. do you mean to:
calendar.event
(and a related field on the booking)partner_ids
)which m2o relationship would you change to m2m? resource.booking.partner_id
?
what to do in case the attendees change? should the possibly manual value be dropped and replaced by the computed value, or should a difference be computed?
do you think it is useful to take the human resources of the combination into account?
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
this module only adds an integer field to resource bookings to store the number of attendees (independently of odoo meeting attendees). it can be useful for the organizer of bookings that involves groups of people to know the amount of (unmanaged) material should be prepared.