[ADD] company_id

This commit is contained in:
Darío Lodeiros
2019-01-15 12:17:08 +01:00
committed by GitHub
parent e73c2569e6
commit 0692398e68

View File

@@ -56,6 +56,7 @@ class HotelService(models.Model):
is_board_service = fields.Boolean()
# Non-stored related field to allow portal user to see the image of the product he has ordered
product_image = fields.Binary('Product Image', related="product_id.image", store=False)
company_id = fields.Many2one(related='folio_id.company_id', string='Company', store=True, readonly=True)
channel_type = fields.Selection([
('door', 'Door'),
('mail', 'Mail'),