Hi there. i want to create a qweb report that takes data from multiple models.
3 models are
class Reservation(models.Model):
_name = 'hotel.reservation'
checkout_date = fields.Datetime()
#other fields
class RoomServiuce(models.model):
_name = 'hotel.room_service'
name = fields.Char(string='service name')
#other fields
class RoomServiceUsed(models.Model)
_name = 'hotel.use_room_services'
res_id = fields.Many2one('hotel.reservation')
rs_id = fields.Many2one('hotel.room_services')
Now, i want to be able to display all the room services used ( from room_service model and reservation model) on my custom qweb report.
I don't know if am getting it all wrong. Will appreciate your response and your approach.
Thanks