code: def create(self, vals, check=True):
          
          if 'folio_id' in vals:
              folio = self.env['hotel.folio'].browse(vals['folio_id'])
              vals.update({'order_id': folio.order_id.id})
          return super(HotelServiceLine, self).create(vals)
docs: Overrides orm create method.
          @param self: The object pointer
          @param vals: dictionary of fields value.
          @return: new record set for hotel service line.