Online Jobs - Odoo 20 Community Book

The Jobs Page

What the Visitor Sees

The Jobs page is reached from the item Jobs of the header, or from the address /jobs. It is titled Our Job Opportunities, and it shows one card for each published position. A card carries the name of the position, the number of open positions, the description, and three lines at the bottom: the place, the department and the type of employment. A visitor reads the description on the card and clicks the name to open the page of the position. At the right, a column shows a search box, a picture, a short text about the company and its contact details.

odoo Development

Only the published positions are listed. In the example, the four positions that were published appear, and the others stay out of sight, even though an administrator who is signed in sees all of them on the same page.

Above the cards, three drop down lists filter the positions: All Offices, All Departments and All Types. Each entry shows how many positions it holds. In the example, the list of departments reads All Departments 4, Production 2, Showroom 1 and Sales 1. A click on an entry reloads the page with only the matching positions, and the choice is kept in the address of the page, for example /jobs?department_id=3, so a link to a filtered list can be shared.

odoo Development

The search box looks in the positions when the visitor presses Enter. Searching for showroom shows the box with the word, the count 1 result(s), and only the card of the Showroom Consultant.

odoo Development

Changing the Look of the Page

The button Edit of the bar opens the editor on the Jobs page. A click on the page, outside the cards, shows the group Jobs Page in the Style tab, with eight switches: Countries Filter, Offices Filter, Industries Filter, Departments Filter, Employment Types Filter, Reset Filter, Search Bar and Sidebar. The Search Bar and the Sidebar are on by default, and the filters are off.

odoo Development

Turning on the Offices, Departments and Employment Types filters adds the three drop down lists at the top of the page. These switches act on the page at once and are kept when the editor is saved.

odoo Development

The other three switches work in the same way. The Countries Filter adds a list All Countries, which shows the countries of the places of work, here United States. The Industries Filter adds a list All Industries, which groups the positions by the industry that is set on the job, so it suits a group of companies that hires for different businesses. In the example no position has an industry, so the list offers only Unspecified Industries. The Reset Filter switch adds a link Reset Filters in the middle of the page, but only when a filter is active. It is there to clear the choices of the visitor in one click.

odoo Development odoo Development

The filters work together. A visitor who chooses the United States and the office Oakline Showroom sees only the positions that match both choices, and the numbers in the remaining lists are recalculated for that selection. For example, the list of types then reads All Types 2 and Employee 2. The choices are kept in the address of the page, so the visitor can share the filtered list.

odoo Development

The right column is ordinary content of the page. A click on its text lets the team write its own message, as the example does with a few lines about the workshop, and a click on the email address or the telephone number opens a small bubble with the link and an Edit button. Because the column is stored once for the whole website, the change appears on the Jobs page of every visitor.

WhatsApp